sql
stringlengths
6
1.05M
DROP TABLE IF EXISTS `GBPUSD_M15`; CREATE TABLE IF NOT EXISTS `GBPUSD_M15`( `id` int(5) NOT NULL, `bull` varchar(10) NOT NULL, `bear` varchar(10) NOT NULL, `buy` varchar(10) NOT NULL, `sell` varchar(10) NOT NULL, `av` varchar(10) NOT NULL, `mm` varchar(10) NOT NULL, `time` varchar(30) NOT NULL); ALTER TABLE `GBPUSD_M15` ADD PRIMARY KEY (`id`); ALTER TABLE `GBPUSD_M15` MODIFY `id` int(5) NOT NULL AUTO_INCREMENT; INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51911417','0.00000000','0.00000000','0.00000000','34.82564103','17.49000000','2015.09.25 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51881690','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51732676','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51732676','1.51732676','1.51638843','0.00000000','0.00000000','0.00000000','2015.09.25 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51732676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51732676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51732676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51748811','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51748811','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51748811','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51748811','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51756157','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51756157','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51756157','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','1.51885996','0.00000000','1.52039829','0.00000000','0.00000000','2015.09.25 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51885996','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.51753916','1.51753916','1.51602749','0.00000000','0.00000000','0.00000000','2015.09.25 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51753916','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.51958693','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52145348','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','1.52320887','0.00000000','1.52431554','0.00000000','0.00000000','2015.09.25 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52320887','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52274042','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52274042','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52274042','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52274042','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52274042','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52264336','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52242019','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52219125','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52159849','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52159849','1.52159849','1.52124182','0.00000000','0.00000000','0.00000000','2015.09.25 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52159849','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52159849','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52159849','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52159849','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52166578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52187241','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52220160','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52220160','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52220160','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52220160','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52227939','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52227939','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52227939','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52227939','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52227939','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238413','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52238756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52301424','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.25 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52387908','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52399846','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52457091','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52518256','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','1.52605561','0.00000000','1.52705394','0.00000000','0.00000000','2015.09.24 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52605561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52570321','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52536089','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52445532','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52445532','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52431826','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52204950','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52204950','1.52204950','1.52049616','0.00000000','0.00000000','0.00000000','2015.09.24 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52204950','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52204950','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52204950','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52211990','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52211990','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52334836','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','1.52712022','0.00000000','1.52870856','0.00000000','0.00000000','2015.09.24 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52712022','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52689369','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52664436','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52626529','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52590943','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52590943','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52590943','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52590943','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52581562','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52581562','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52581562','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52581562','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52566486','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52552835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52552835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52552835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52544399','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52504671','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52504671','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52504671','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52474400','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52459712','1.52459712','1.52414712','0.00000000','0.00000000','0.00000000','2015.09.24 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52459712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52469923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52469923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52469923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52469923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52470027','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52470027','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.24 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52470027','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52470027','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52473917','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52537511','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52537511','1.52537511','0.00000000','1.52628511','0.00000000','0.00000000','2015.09.23 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52537511','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52537511','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52537511','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52537511','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52530147','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52530147','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.52417398','1.52417398','1.52310731','0.00000000','0.00000000','0.00000000','2015.09.23 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52417398','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52427679','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52496894','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52531080','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52531080','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52536435','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52564904','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52604067','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52604067','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52609531','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52609531','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52772661','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52782611','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52845892','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.52988872','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53156301','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53164362','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53203324','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53326331','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53347609','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53347609','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53347609','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53351266','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53376712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53400860','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53418665','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53478145','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53487128','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53488281','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53514532','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53514532','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53514532','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53514532','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53517064','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53528253','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53557712','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53576522','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53596506','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53614540','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53614540','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53614540','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53627596','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53743642','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.23 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53743642','1.53743642','0.00000000','1.53803809','0.00000000','0.00000000','2015.09.22 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53743642','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53743642','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53743642','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53743642','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53743642','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53612578','1.53612578','1.53524411','0.00000000','0.00000000','0.00000000','2015.09.22 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53612578','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53673409','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53673409','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53673409','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53673409','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53785756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53785756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53785756','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54051272','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54131626','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54350405','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54350405','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54350405','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54378092','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54378092','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54378092','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54378092','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54378092','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54418490','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54425905','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54500065','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54514881','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54514881','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54528501','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54752253','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54787258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54986732','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54986732','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54986732','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54988282','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55035509','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55049937','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55086983','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55094646','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55094646','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55094646','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55097413','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55144714','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','1.55238853','0.00000000','1.55276187','0.00000000','0.00000000','2015.09.22 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55238853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55174392','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55146645','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55138091','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55098033','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55098033','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55098033','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55094853','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55079279','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55060719','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55032157','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55032157','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55028727','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55028727','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55028727','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55028727','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.22 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54945118','1.54945118','1.54906785','0.00000000','0.00000000','0.00000000','2015.09.21 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54945118','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55009068','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55009068','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55009068','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55027095','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55039673','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55145810','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55184530','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55318169','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55318169','1.55318169','0.00000000','1.55423336','0.00000000','0.00000000','2015.09.21 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55318169','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55318169','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55318169','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55318169','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55318169','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55150258','1.55150258','1.55016758','0.00000000','0.00000000','0.00000000','2015.09.21 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55150258','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55290675','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55463340','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55463340','1.55463340','0.00000000','1.55590007','0.00000000','0.00000000','2015.09.21 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55463340','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55463340','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55463340','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55463340','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55463340','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55436871','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55436871','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55390907','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55230676','1.55230676','1.55155343','0.00000000','0.00000000','0.00000000','2015.09.21 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55230676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55235923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55241986','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55271923','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.21 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55336589','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55425026','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55521051','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55521051','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55521051','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55591316','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55630488','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55732458','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55732458','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55732458','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55777194','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55777194','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55777194','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55777194','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55777194','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55805220','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55938164','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56027494','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56098492','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56098492','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56113195','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56211145','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56488175','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56488175','1.56488175','0.00000000','1.56612008','0.00000000','0.00000000','2015.09.18 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56488175','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56488175','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56488175','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56451173','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56394880','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56326358','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56317997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56315414','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56315414','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56315414','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56315414','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56315414','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56224187','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56048782','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56006561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56006561','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55854997','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55700965','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55663573','1.55663573','1.55609073','0.00000000','0.00000000','0.00000000','2015.09.18 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663573','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55663974','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55672770','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55696341','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55702489','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55704436','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55720884','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55726676','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55735979','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55764496','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55765654','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55765654','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55795391','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55801632','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','1.56027395','0.00000000','1.56119728','0.00000000','0.00000000','2015.09.18 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.18 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.56027395','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55860043','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55754423','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55160099','1.55160099','1.54947766','0.00000000','0.00000000','0.00000000','2015.09.17 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55160099','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55336982','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55336982','1.55336982','0.00000000','1.55465982','0.00000000','0.00000000','2015.09.17 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55336982','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55336982','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55336982','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55336982','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55336982','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55278351','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55278351','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55278351','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55260061','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55186010','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55023961','1.55023961','1.54936461','0.00000000','0.00000000','0.00000000','2015.09.17 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55023961','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55026406','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55050047','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','1.55110359','0.00000000','1.55165859','0.00000000','0.00000000','2015.09.17 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55110359','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55045134','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54982933','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54965295','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54958989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54878025','1.54878025','1.54844858','0.00000000','0.00000000','0.00000000','2015.09.17 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.17 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54878025','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54941329','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54954089','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54954089','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','1.55063434','0.00000000','1.55166767','0.00000000','0.00000000','2015.09.16 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55063434','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.55040571','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54932859','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54557646','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54557646','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54557646','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54489144','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54489144','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54489144','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54415823','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54371282','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54344171','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54154295','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54153304','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54153304','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54153304','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54153304','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54107142','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54107142','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53985793','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53985793','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53985793','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53442055','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53442055','1.53442055','1.53214389','0.00000000','0.00000000','0.00000000','2015.09.16 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53442055','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53442055','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53442055','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53442055','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53442055','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53471365','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','1.53520162','0.00000000','1.53643162','0.00000000','0.00000000','2015.09.16 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53520162','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53473386','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53466670','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53466670','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53456970','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53433882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53433882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53433882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53433882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53433882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53428292','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53413917','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.16 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53401081','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53336029','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53336029','1.53336029','1.53270029','0.00000000','0.00000000','0.00000000','2015.09.15 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53336029','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53336029','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53336029','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53336029','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53336029','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53369458','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53370166','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53485436','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53485436','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53485436','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53511138','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53511138','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53511138','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53511138','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53512838','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53547264','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53547264','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53556869','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53649621','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53792503','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53845504','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53845504','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53845504','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53907666','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53941446','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53941446','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53975675','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54015724','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54153635','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54153635','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54167194','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54234503','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54234503','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54234503','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54303043','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54340851','1.54340851','0.00000000','1.54420018','0.00000000','0.00000000','2015.09.15 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54340851','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54272882','1.54272882','1.54137216','0.00000000','0.00000000','0.00000000','2015.09.15 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54272882','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','1.54287512','0.00000000','1.54358845','0.00000000','0.00000000','2015.09.15 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54287512','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.15 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 23:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 23:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 23:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 23:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54246680','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54242835','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54168777','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54166232','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53917411','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.53917411','1.53917411','1.53773244','0.00000000','0.00000000','0.00000000','2015.09.14 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53917411','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53917411','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53917411','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53917411','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53959542','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53959542','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53959542','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53959542','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.53964781','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54018669','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54077455','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54091209','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54091209','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54091209','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54169567','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54172829','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54194148','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54354209','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','1.54482498','0.00000000','1.54600998','0.00000000','0.00000000','2015.09.14 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54482498','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 11:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54427677','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 10:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54427677','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 10:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 10:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54384704','1.54384704','1.54282704','0.00000000','0.00000000','0.00000000','2015.09.14 10:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 09:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 09:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 09:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 09:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 08:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 08:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 08:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54384704','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 08:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54395093','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 07:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54415152','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 07:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54473525','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 07:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 07:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','1.54503021','0.00000000','1.54551355','0.00000000','0.00000000','2015.09.14 06:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 06:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 06:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 06:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 05:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 05:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 05:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 05:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 04:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 04:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 04:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54503021','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 04:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54436112','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 03:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54436112','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 03:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54436112','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 03:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54436112','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 03:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54436112','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 02:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54408167','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 02:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54408167','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 02:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54408167','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 02:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54408167','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 01:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54303885','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 01:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54277445','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 01:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54277445','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 01:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54277445','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 00:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54264452','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 00:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 00:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.14 00:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 22:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 22:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 22:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 22:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 21:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 21:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54257989','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 21:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54253335','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 21:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54253335','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 20:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 20:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 20:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','1.54243298','1.54144798','0.00000000','0.00000000','0.00000000','2015.09.11 20:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 19:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 19:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 19:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 19:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 18:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 18:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 18:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','1.54243298','0.00000000','1.54381298','0.00000000','0.00000000','2015.09.11 18:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 17:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 17:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 17:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 17:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54243298','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 16:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('1.54210685','0.00000000','-0.00117000','0.00000000','0.00000000','0.00000000','2015.09.11 16:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 16:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 16:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 15:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 15:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 15:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 15:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 14:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 14:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 14:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 14:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 13:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 13:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 13:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 13:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 12:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 12:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 12:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 12:00'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 11:45'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 11:30'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 11:15'); INSERT INTO `GBPUSD_M15`(`bull`,`bear`,`buy`,`sell`,`av`,`mm`,`time`) VALUES('0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','0.00000000','2015.09.11 11:00');
<filename>config/db/dados/collectioncentreoverview.sql -- View: collectioncentreoverview -- returns collection centre enrollment summaries for users and subjects -- grouped by username; used in StudyController.findOne. -- DROP VIEW collectioncentreoverview; CREATE OR REPLACE VIEW dados.collectioncentreoverview AS SELECT userenrollment."collectionCentre" AS id, "user".username, COALESCE(aggregatecoords.coordinators_count, 0::bigint) AS coordinators_count, COALESCE(aggregatesubs.subjects_count, 0::bigint) AS subjects_count, study.id AS study, study.name AS "studyName", collectioncentre.name, "user".id AS contact, concat_ws(' '::text, person.prefix, person."firstName", person."lastName") AS "contactName", collectioncentre."owner", collectioncentre."createdBy", collectioncentre."createdAt", collectioncentre."updatedAt" FROM "user" LEFT JOIN dados.userenrollment ON "user".id = userenrollment."user" LEFT JOIN dados.subject ON subject."user" = "user".id LEFT JOIN dados.collectioncentre ON userenrollment."collectionCentre" = collectioncentre.id LEFT JOIN "user" "contactUser" ON collectioncentre.contact = "contactUser".id LEFT JOIN altum.person ON "contactUser".person = person.id LEFT JOIN dados.study ON study.id = collectioncentre.study LEFT JOIN dados.subjectenrollment ON subjectenrollment."collectionCentre" = collectioncentre.id LEFT JOIN ( SELECT count(1) AS coordinators_count, userenrollment."collectionCentre" FROM dados.userenrollment WHERE userenrollment."expiredAt" IS NULL GROUP BY userenrollment."collectionCentre") aggregatecoords ON aggregatecoords."collectionCentre" = userenrollment."collectionCentre" LEFT JOIN ( SELECT count(1) AS subjects_count, subjectenrollment."collectionCentre" FROM dados.subjectenrollment WHERE subjectenrollment."expiredAt" IS NULL GROUP BY subjectenrollment."collectionCentre") aggregatesubs ON aggregatesubs."collectionCentre" = subjectenrollment."collectionCentre" WHERE "user"."expiredAt" IS NULL AND subject."expiredAt" IS NULL AND collectioncentre."expiredAt" IS NULL AND userenrollment."expiredAt" IS NULL AND userenrollment.id IS NOT NULL; ALTER TABLE dados.collectioncentreoverview OWNER TO postgres;
/term=; /params on insert into DI_ACTIVE_DATA_TYPE_FIELDS ( DI_ACTIVE_DATA_TYPE_CODE, DI_ACTIVE_DATA_TYPE_FIELD_CODE, FIELD_NO, FIELD_IDENTIFIER, FIELD_TYPE_CODE, FIELD_NAME, IS_VISIBLE ) values ( :1, :2, :3, :4, ( select diadt.DI_ACTIVE_DATA_TYPE_CODE from DI_ACTIVE_DATA_TYPES diadt where (diadt.DI_ACTIVE_DATA_TYPE_IDENTIFIER = :5) ), :6, :7 );
ALTER TABLE `registrations` CHANGE `registeredAt` `registeredAt` datetime NULL COMMENT 'Date of the registration or renewal. This is null if the registration is not yet active (e.g. during payment)'; ALTER TABLE `registrations` ADD COLUMN `createdAt` datetime NOT NULL COMMENT '' AFTER `groupId`;
<reponame>lvyanghui/java-base<filename>fund/src/main/resources/sql/ddl.sql CREATE TABLE `fund_detail_info` ( `id` int NOT NULL AUTO_INCREMENT COMMENT '主键id', `fund_code` varchar(16) DEFAULT NULL COMMENT '基金代码', `fund_name` varchar(32) DEFAULT NULL COMMENT '基金简称', `fund_pinyin` varchar(32) DEFAULT NULL COMMENT '基金拼音', `fund_date` date DEFAULT NULL COMMENT '基金日期', `net_asset_value` decimal(16,4) DEFAULT NULL COMMENT '单位净值', `accumulated_net` decimal(16,4) DEFAULT NULL COMMENT '累计净值', `daily_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '日增长率', `nearly_1_week_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近1周增长率', `nearly_1_month_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近1月增长率', `nearly_3_month_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近3月增长率', `nearly_6_month_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近6月增长率', `nearly_1_year_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近1年增长率', `nearly_2_year_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近2年增长率', `nearly_3_year_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近3年增长率', `nearly_5_year_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '近5年增长率', `since_this_year_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '今年以来增长率', `since_establish_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '成立以来增长率', `custom_grow_rate` decimal(16,4) DEFAULT NULL COMMENT '自定义增长率', `nearly_1_year_wave_rate` decimal(16,4) DEFAULT NULL COMMENT '近1年波动率', `nearly_2_year_wave_rate` decimal(16,4) DEFAULT NULL COMMENT '近2年波动率', `nearly_3_year_wave_rate` decimal(16,4) DEFAULT NULL COMMENT '近3年波动率', `nearly_1_year_sharp_rate` decimal(16,4) DEFAULT NULL COMMENT '近1年夏普率', `nearly_2_year_sharp_rate` decimal(16,4) DEFAULT NULL COMMENT '近2年夏普率', `nearly_3_year_sharp_rate` decimal(16,4) DEFAULT NULL COMMENT '近3年夏普率', `establish_date` date DEFAULT NULL COMMENT '成立日期', `fund_manager` varchar(64) DEFAULT NULL COMMENT '基金经理', `manager_start_date` date DEFAULT NULL COMMENT '基金经理起始日期', `previous_fund_manager` varchar(64) DEFAULT NULL COMMENT '前任基金经理', `previous_manager_start_date` date DEFAULT NULL COMMENT '前任基金经理起始日期', `lock_period` decimal(16,4) DEFAULT NULL COMMENT '锁定期', `service_charge_rate` decimal(16,4) DEFAULT NULL COMMENT '手续费率', `discount_service_charge_rate` decimal(16,4) DEFAULT NULL COMMENT '打折手续费率', `discount_rate` decimal(16,4) DEFAULT NULL COMMENT '折扣率', `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', PRIMARY KEY (`id`), KEY idx_code (`fund_code`), KEY idx_manager (`fund_manager`), KEY idx_date (`fund_date`,`establish_date`), KEY idx_time (`create_time`,`update_time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /** 4433法则是用来挑选基金的一种方式,即一只好的基金要同时满足以下条件: 1.近1年业绩排名在同类基金中位列前1/4; 2.近2/3/5年业绩排名在同类基金中位列前1/4; 3.近3个月业绩排名在同类基金中位列前1/3; 4.近6个月业绩排名在同类基金中位列前1/3。 */ SELECT COUNT(id) FROM fund_detail_info; --1年 limit上面sql的值,大于等于取上面sql的值 SELECT (SELECT COUNT(id) FROM fund_detail_info WHERE nearly_1_year_grow_rate IS NOT NULL)/4; SELECT MIN(a.nearly_1_year_grow_rate) FROM (SELECT * FROM fund_detail_info WHERE nearly_1_year_grow_rate IS NOT NULL ORDER BY nearly_1_year_grow_rate DESC LIMIT 1725) a; SELECT fund_code FROM fund_detail_info WHERE nearly_1_year_grow_rate >= 26.6500; --2年 limit上面sql的值,大于等于取上面sql的值 SELECT (SELECT COUNT(id) FROM fund_detail_info WHERE nearly_2_year_grow_rate IS NOT NULL)/4; SELECT MIN(a.nearly_2_year_grow_rate) FROM (SELECT * FROM fund_detail_info WHERE nearly_2_year_grow_rate IS NOT NULL ORDER BY nearly_2_year_grow_rate DESC LIMIT 1368) a; SELECT fund_code FROM fund_detail_info WHERE nearly_2_year_grow_rate >= 78.2000; --3年 limit上面sql的值,大于等于取上面sql的值 SELECT (SELECT COUNT(id) FROM fund_detail_info WHERE nearly_3_year_grow_rate IS NOT NULL)/4; SELECT MIN(a.nearly_3_year_grow_rate) FROM (SELECT * FROM fund_detail_info WHERE nearly_3_year_grow_rate IS NOT NULL ORDER BY nearly_3_year_grow_rate DESC LIMIT 1119) a; SELECT fund_code FROM fund_detail_info WHERE nearly_3_year_grow_rate >= 125.3600; --5年 limit上面sql的值,大于等于取上面sql的值 SELECT (SELECT COUNT(id) FROM fund_detail_info WHERE nearly_5_year_grow_rate IS NOT NULL)/4; SELECT MIN(a.nearly_5_year_grow_rate) FROM (SELECT * FROM fund_detail_info WHERE nearly_5_year_grow_rate IS NOT NULL ORDER BY nearly_5_year_grow_rate DESC LIMIT 704) a; SELECT fund_code FROM fund_detail_info WHERE nearly_5_year_grow_rate >= 115.3000; --3月 limit上面sql的值,大于等于取上面sql的值 SELECT (SELECT COUNT(id) FROM fund_detail_info WHERE nearly_3_month_grow_rate IS NOT NULL)/3; SELECT MIN(a.nearly_3_month_grow_rate) FROM (SELECT * FROM fund_detail_info WHERE nearly_3_month_grow_rate IS NOT NULL ORDER BY nearly_3_month_grow_rate DESC LIMIT 2807) a; SELECT fund_code FROM fund_detail_info WHERE nearly_3_month_grow_rate >= 3.7500; --6月 limit上面sql的值,大于等于取上面sql的值 SELECT (SELECT COUNT(id) FROM fund_detail_info WHERE nearly_6_month_grow_rate IS NOT NULL)/3; SELECT MIN(a.nearly_6_month_grow_rate) FROM (SELECT * FROM fund_detail_info WHERE nearly_6_month_grow_rate IS NOT NULL ORDER BY nearly_6_month_grow_rate DESC LIMIT 2626) a; SELECT fund_code FROM fund_detail_info WHERE nearly_6_month_grow_rate >= 11.1600; --根据code查询近几年表现好的基金 SELECT * FROM fund_detail_info WHERE fund_code IN("100022","151001","260101","162202","162201","375010","481001","150103","040005","460001","519997","398001","240002","161903","510081","530001","288001","163804","040035","163803","165516","110013","519679","550002","166301","519003","090018","110009","310328","519704","240009","519089","020009","377240","370024","040025","040015","040011","540003","660015","519674","720001","550016","519005","519091","610002","163807","020023","519095","000390","398061","310368","000547","700003","270028","000308","000592","166801","519672","400015","000584","100029","550009","519702","001387","202027","000410","470098","373020","519017","166019","377530","519002","000409","610006","630016","481015","000209","000363","000362","519158","001410","519181","213006","000566","200015","519183","050010","000165","000404","162208","000126","001704","110012","290011","000742","163409","210003","519097","210008","162006","481017","080005","270021","540008","000336","121003","310358","000242","260111","660003","378010","410007","001694","257070","000612","519113","000259","000587","610004","370027","001606","350005","000124","750001","160624","450004","160610","379010","100039","481010","000541","519909","660004","000418","163822","519115","001938","000828","240022","002168","320018","000029","001298","000431","550008","000609","001811","000924","580009","002190","001643","000039","001018","000309","070021","001644","290008","519918","001487","519126","519195","519908","001616","519642","001716","001975","000729","001985","001445","519196","000698","519033","519727","217020","487021","420005","519133","000549","121010","206012","000991","001718","002939","690004","001542","690011","001224","001997","200012","000803","002770","165313","001677","001951","290014","550015","002771","770001","001887","000328","000689","376510","000534","000601","000967","000628","217012","090009","000756","001156","001736","163810","001070","000219","001471","002083","002084","002482","163818","040007","001054","630008","487016","001538","001869","001827","121008","000940","001287","002556","000739","398051","000120","582003","001907","000462","001809","673060","001388","001069","519025","002132","002669","001701","002036","001908","001858","001702","002537","000976","002296","001955","001864","001279","001740","001245","161611","001480","002213","002148","519644","001822","160919","000985","000433","001692","001072","000788","002542","001933","002844","210005","001479","001339","001009","001990","001719","000327","519767","002291","001008","002095","001482","167001","002096","001300","161222","501001","001956","001808","002681","002256","000690","160518","000793","001569","165520","001000","001672","001301","001681","002281","001959","002682","000603","160225","519773","001236","001978","001252","398021","270022","161028","001323","002170","001709","003165","001039","002604","003166","003145","002955","002272","001476","470021","001753","001126","002938","001667","001924","001373","481006","400032","000928","350007","001220","001475","001366","001037","001158","001276","000823","001534","001515","001166","160813","001143","001267","001125","001120","161217","001121","502000","257060") AND nearly_3_month_grow_rate > 10.00 AND nearly_6_month_grow_rate > 20.00 AND nearly_1_year_grow_rate > 50.00 AND nearly_2_year_grow_rate > 100.00 AND nearly_3_year_grow_rate > 200.00 AND nearly_5_year_grow_rate >300.00; --模糊搜索查询表现好的基金 SELECT fund_code,fund_name,nearly_1_month_grow_rate,nearly_3_month_grow_rate,nearly_6_month_grow_rate, nearly_1_year_grow_rate,nearly_2_year_grow_rate,nearly_3_year_grow_rate,nearly_5_year_grow_rate FROM fund_detail_info WHERE fund_name LIKE '%消费%' AND nearly_3_month_grow_rate > 10.00 AND nearly_6_month_grow_rate > 20.00 AND nearly_1_year_grow_rate > 50.00 AND nearly_2_year_grow_rate > 100.00 AND nearly_3_year_grow_rate > 200.00 AND nearly_5_year_grow_rate >300.00 ORDER BY nearly_3_year_grow_rate DESC, nearly_1_year_grow_rate DESC, nearly_3_month_grow_rate DESC;
<filename>docs/demo.sql CREATE DATABASE IF NOT EXISTS c410; USE c410; INSERT INTO servers values('cs410.cs.ualberta.ca:41070','localhost','http://cs410-07:8080/',1); INSERT INTO author values('000000','admin','Administrator','12345','cs410.cs.ualberta.ca:41070','<EMAIL>','male','edmonton','1992-01-01','1.jpg',1); INSERT INTO author values('111111','frank','<NAME>','12345','cs410.cs.ualberta.ca:41070','<EMAIL>','male','edmonton','1992-01-01','1.jpg',1); INSERT INTO author values('222222','jack','<NAME>','12345','cs410.cs.ualberta.ca:41070','<EMAIL>','male','toronto','1994-01-01','1.jpg',1); INSERT INTO setting values('SIGNUP_RESTRICTION',1); INSERT INTO setting values('POST_REMOTE_ACCESS_RESTRICTION',1); INSERT INTO setting values('IMAGE_REMOTE_ACCESS_RESTRICTION',1);
<reponame>sbalababu/archway_test --alter table workspace_request -- add column summary varchar(255), -- add column description TEXT, -- add column behavior varchar(50); --update workspace_request --set behavior = new_behavior, -- summary = b.name, -- description = b.name --from (select case -- when single_user = true then 'user' -- when db_count = 3 then 'structured' -- else 'simple' -- end as new_behavior, -- wr.name, -- wr.id -- from workspace_request wr -- inner join (select Count(*) as db_count, -- workspace_request_id -- from workspace_database -- group by workspace_request_id) a -- on wr.id = a.workspace_request_id) b --where b.id = workspace_request.id; --alter table workspace_request -- alter column summary set not null, -- alter column description set not null, -- alter column behavior set not null; alter table workspace_request add column summary varchar(255) not null, add column description TEXT not null, add column behavior varchar(50) not null;
<reponame>deic-dk/DDPS<gh_stars>1-10 # Re-write so # # MSG|MATCH|select # # tests for sql function is_flowspec_type # Lines starting with # are ignored, so are empty lines # # Valid # ok select "is_flowspec_type"(0,65535, '=0 =21 =23 =25 =26 =27 >=30&<=32 >=33&<=35 >=37&<=39 =65535'); ok select "is_flowspec_type"(0,65535, '=1 =21 =23 =25 =26 =27 >=30&<=32 >=33&<=35 >=37&<=39 =65535'); ok select "is_flowspec_type"(0,255, ''); ok select "is_flowspec_type"(0,63, ''); # # invalid # # out of bond not select "is_flowspec_type"(0,255, '=0 =21 =23 =25 =26 =27 >=30&<=32 >=33&<=35 >=37&<=39 =4444'); # dubble = not select "is_flowspec_type"(0,255, '==9'); # no = not select "is_flowspec_type"(0,255, '90'); not select "is_flowspec_type"(0,255, '9'); # mismatch = not last not select "is_flowspec_type"(0,255, '=>9'); # mismatch =< not select "is_flowspec_type"(0,255, '=0 =21 =23 =25 =26 =27 >=30&<=32 =<9'); # dubble space not select "is_flowspec_type"(0,255, '=0 =27 >=30&<=32 =<9'); # P0 ... not select "is_flowspec_type"(0,255, 'P0 =27 >=30&<=32 =<9'); # Expected return t(rue) or f(else) t SELECT public.is_tcpflags(''); t SELECT public.is_tcpflags('fin'); t SELECT public.is_tcpflags('fIn'); t SELECT public.is_tcpflags('Ack'); t SELECT public.is_tcpflags('fin ack AcK'); f SELECT public.is_tcpflags('prut');
<gh_stars>10-100 # Migration script for nasa/MCT-Plugins#134 # May need to re-run if older distributions are used, # as these may restore/inject old taxonomy. # Specifically, this migrates from databases used at commit hash: # e1949eb9a890411946782ad581e87fa8f0220106 # to: # a02daf7a2bd5cab129401085e4ee51370987ac86 # Clear out old bootstrap components DELETE FROM tag_association WHERE component_id LIKE '%repo%'; # Update base display names (e.g. User Tags -> My Tags) UPDATE component_spec SET component_name = replace(component_name, 'User', 'My') WHERE component_name LIKE 'User %' AND component_type LIKE 'gov.nasa.arc.mct.scenario.component.%RepositoryComponent';
<filename>integration/dataservice-hosting-tests/tests-integration/tests/src/test/resources/artifacts/DSS/sql/MySql/student.sql<gh_stars>100-1000 CREATE TABLE IF NOT EXISTS STUDENT_T ( REGISTRATIION_NUMBER_C VARCHAR (50), NAME_C VARCHAR (100), EMAIL_C VARCHAR (100), AGE_C INT, CLASS_C varchar(50), AVERAGE_C DOUBLE, PRIMARY KEY (REGISTRATIION_NUMBER_C) )ENGINE INNODB; insert into STUDENT_T values ('001', 'rasika','<EMAIL>', 15, '7B', 73.90); insert into STUDENT_T values ('002', 'kamal', '<EMAIL>',15, '7C', 80.56);
<gh_stars>1-10 -- start_ignore SET gp_create_table_random_default_distribution=off; -- end_ignore -- -- CK_SYNC1 CO TABLE 1 -- create table ck_sync1_co_alter_part_split_partrange1 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange1 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange1; -- -- CK_SYNC1 CO TABLE 2 -- create table ck_sync1_co_alter_part_split_partrange2 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange2 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange2; -- -- CK_SYNC1 CO TABLE 3 -- create table ck_sync1_co_alter_part_split_partrange3 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange3 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange3; -- -- CK_SYNC1 CO TABLE 4 -- create table ck_sync1_co_alter_part_split_partrange4 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange4 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange4; -- -- CK_SYNC1 CO TABLE 5 -- create table ck_sync1_co_alter_part_split_partrange5 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange5 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange5; -- -- CK_SYNC1 CO TABLE 6 -- create table ck_sync1_co_alter_part_split_partrange6 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange6 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange6; -- -- CK_SYNC1 CO TABLE 7 -- create table ck_sync1_co_alter_part_split_partrange7 (i int) with ( appendonly='true', orientation='column') partition by range(i) (start(1) end(10) every(5)); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange7 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange7; -- -- ALTER SYNC1 CO -- -- -- Split Partition Range -- alter table sync1_co_alter_part_split_partrange2 split partition for(1) at (5) into (partition aa, partition bb); -- -- Insert few records into the table -- insert into sync1_co_alter_part_split_partrange2 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from sync1_co_alter_part_split_partrange2; -- -- ALTER CK_SYNC1 CO -- -- -- Split Partition Range -- alter table ck_sync1_co_alter_part_split_partrange1 split partition for(1) at (5) into (partition aa, partition bb); -- -- Insert few records into the table -- insert into ck_sync1_co_alter_part_split_partrange1 values (generate_series(1,9)); -- -- select from the Table -- select count(*) from ck_sync1_co_alter_part_split_partrange1;
<reponame>nurikk/gpdb drop table if exists t5; drop table if exists t7; drop table if exists t15; drop table if exists t20; drop table if exists t23; drop table if exists t27; drop table if exists t28; drop table if exists t36; drop table if exists t48; drop table if exists t51; drop table if exists t58; drop table if exists t65; drop table if exists t70; drop table if exists t76; drop table if exists t77; drop table if exists t79; drop table if exists t85; drop table if exists t88; drop table if exists t89; drop table if exists t90; drop table if exists t91; -- Test: tiny-aggs_schmea-1 create table T5( C66 int, C67 int, C68 int, C69 int, C70 int, C71 int, C72 int, C73 int, C74 int); create table T7( C89 int, C90 int, C91 int, C92 int, C93 int, C94 int, C95 int, C96 int, C97 int, C98 int, C99 int, C100 int, C101 int, C102 int, C103 int, C104 int, C105 int, C106 int, C107 int, C108 int, C109 int); create table T15( C186 int, C187 int, C188 int, C189 int, C190 int, C191 int, C192 int, C193 int, C194 int, C195 int, C196 int, C197 int, C198 int, C199 int); create table T20( C233 int, C234 int, C235 int, C236 int, C237 int, C238 int, C239 int, C240 int, C241 int, C242 int, C243 int, C244 int, C245 int, C246 int); create table T23( C270 int, C271 int, C272 int, C273 int, C274 int, C275 int, C276 int, C277 int, C278 int); create table T27( C319 int, C320 int, C321 int, C322 int, C323 int, C324 int, C325 int, C326 int, C327 int); create table T28( C328 int, C329 int, C330 int, C331 int, C332 int, C333 int); create table T36( C419 int, C420 int, C421 int, C422 int, C423 int, C424 int, C425 int, C426 int, C427 int, C428 int, C429 int, C430 int, C431 int, C432 int, C433 int, C434 int, C435 int, C436 int, C437 int); create table T48( C568 int, C569 int, C570 int, C571 int, C572 int, C573 int, C574 int, C575 int, C576 int, C577 int, C578 int, C579 int, C580 int, C581 int, C582 int, C583 int, C584 int, C585 int); create table T51( C608 int, C609 int, C610 int, C611 int, C612 int, C613 int, C614 int, C615 int, C616 int, C617 int, C618 int, C619 int, C620 int, C621 int, C622 int, C623 int, C624 int); create table T58( C698 int, C699 int, C700 int, C701 int, C702 int, C703 int, C704 int, C705 int, C706 int, C707 int, C708 int, C709 int, C710 int, C711 int, C712 int); create table T65( C783 int, C784 int, C785 int, C786 int, C787 int, C788 int, C789 int, C790 int, C791 int, C792 int, C793 int, C794 int, C795 int, C796 int, C797 int); create table T70( C839 int, C840 int, C841 int, C842 int, C843 int, C844 int, C845 int, C846 int, C847 int, C848 int, C849 int, C850 int, C851 int, C852 int, C853 int, C854 int, C855 int, C856 int, C857 int, C858 int, C859 int); create table T76( C938 int, C939 int, C940 int, C941 int, C942 int, C943 int, C944 int, C945 int, C946 int); create table T77( C947 int, C948 int, C949 int, C950 int, C951 int, C952 int, C953 int, C954 int, C955 int, C956 int, C957 int, C958 int, C959 int, C960 int, C961 int, C962 int, C963 int, C964 int); create table T79( C979 int, C980 int, C981 int, C982 int, C983 int, C984 int, C985 int); create table T85( C1029 int, C1030 int, C1031 int, C1032 int, C1033 int, C1034 int, C1035 int, C1036 int, C1037 int, C1038 int, C1039 int, C1040 int, C1041 int, C1042 int, C1043 int, C1044 int, C1045 int, C1046 int); create table T88( C1064 int, C1065 int, C1066 int, C1067 int, C1068 int, C1069 int, C1070 int, C1071 int, C1072 int, C1073 int, C1074 int, C1075 int); create table T89( C1076 int, C1077 int, C1078 int); create table T90( C1079 int, C1080 int, C1081 int, C1082 int, C1083 int, C1084 int, C1085 int, C1086 int, C1087 int, C1088 int, C1089 int, C1090 int, C1091 int, C1092 int); create table T91( C1093 int, C1094 int, C1095 int, C1096 int, C1097 int, C1098 int, C1099 int, C1100 int, C1101 int, C1102 int, C1103 int, C1104 int, C1105 int, C1106 int, C1107 int, C1108 int, C1109 int, C1110 int, C1111 int, C1112 int, C1113 int, C1114 int); SELECT 1; -- Test: tiny-aggs_data_T5 INSERT INTO T5 VALUES ( 1, 4, 1, 3, 2, 5, 4, 5, 2 ); INSERT INTO T5 VALUES ( 4, 2, 5, 2, 2, 3, 3, 2, 5 ); INSERT INTO T5 VALUES ( 4, 3, 5, 4, 3, 4, 5, 1, 2 ); INSERT INTO T5 VALUES ( 3, 4, 2, 3, 1, 5, 3, 4, 5 ); INSERT INTO T5 VALUES ( 1, 3, 2, 1, 5, 4, 2, 4, 5 ); INSERT INTO T5 VALUES ( 2, 1, 3, 2, 1, 3, 5, 5, 4 ); INSERT INTO T5 VALUES ( 5, 4, 4, 4, 2, 3, 4, 3, 1 ); INSERT INTO T5 VALUES ( 3, 5, 4, 5, 2, 2, 5, 2, 1 ); INSERT INTO T5 VALUES ( 5, 4, 5, 5, 2, 3, 1, 4, 4 ); INSERT INTO T5 VALUES ( 1, 3, 1, 4, 1, 5, 5, 5, 3 ); SELECT 1; -- Test: tiny-aggs_data_T7 INSERT INTO T7 VALUES ( 1, 2, 4, 5, 5, 3, 1, 3, 2, 3, 3, 3, 2, 5, 5, 5, 3, 3, 3, 2, 5 ); INSERT INTO T7 VALUES ( 4, 2, 2, 1, 3, 5, 5, 3, 5, 4, 4, 3, 3, 1, 1, 4, 3, 4, 2, 4, 5 ); INSERT INTO T7 VALUES ( 2, 2, 1, 3, 5, 5, 5, 2, 1, 2, 1, 5, 5, 4, 2, 1, 4, 4, 5, 3, 5 ); INSERT INTO T7 VALUES ( 3, 1, 4, 1, 4, 2, 2, 2, 4, 2, 1, 2, 1, 1, 5, 4, 3, 5, 1, 2, 2 ); INSERT INTO T7 VALUES ( 3, 1, 2, 3, 3, 5, 1, 5, 3, 1, 5, 2, 2, 4, 4, 1, 5, 4, 2, 4, 3 ); INSERT INTO T7 VALUES ( 2, 1, 4, 1, 5, 4, 4, 1, 2, 1, 3, 4, 2, 4, 5, 5, 4, 1, 4, 5, 3 ); INSERT INTO T7 VALUES ( 4, 3, 3, 2, 2, 5, 2, 5, 3, 4, 3, 3, 2, 5, 5, 1, 4, 2, 1, 3, 3 ); INSERT INTO T7 VALUES ( 4, 2, 5, 5, 3, 3, 5, 1, 4, 2, 1, 4, 5, 5, 3, 3, 2, 1, 2, 1, 1 ); INSERT INTO T7 VALUES ( 5, 5, 5, 1, 1, 4, 5, 3, 1, 2, 5, 5, 2, 2, 3, 1, 3, 2, 5, 2, 4 ); INSERT INTO T7 VALUES ( 3, 5, 5, 5, 4, 5, 2, 2, 2, 3, 3, 3, 5, 1, 1, 5, 3, 4, 3, 1, 3 ); SELECT 1; -- Test: tiny-aggs_data_T15 INSERT INTO T15 VALUES ( 1, 1, 4, 3, 4, 1, 5, 5, 5, 3, 1, 1, 1, 2 ); INSERT INTO T15 VALUES ( 1, 2, 5, 5, 3, 1, 2, 1, 5, 1, 5, 4, 4, 1 ); INSERT INTO T15 VALUES ( 5, 4, 1, 3, 5, 3, 5, 2, 2, 2, 2, 1, 3, 1 ); INSERT INTO T15 VALUES ( 1, 3, 4, 4, 5, 4, 5, 1, 2, 4, 3, 2, 1, 5 ); INSERT INTO T15 VALUES ( 5, 5, 5, 3, 2, 3, 4, 1, 1, 4, 5, 1, 4, 1 ); INSERT INTO T15 VALUES ( 2, 4, 2, 3, 3, 3, 4, 2, 5, 1, 5, 3, 4, 2 ); INSERT INTO T15 VALUES ( 4, 3, 2, 4, 3, 5, 5, 4, 4, 1, 2, 1, 1, 4 ); INSERT INTO T15 VALUES ( 4, 3, 2, 1, 5, 1, 3, 1, 1, 4, 1, 1, 4, 2 ); INSERT INTO T15 VALUES ( 4, 4, 1, 4, 5, 4, 5, 3, 2, 2, 1, 3, 3, 2 ); INSERT INTO T15 VALUES ( 4, 1, 4, 4, 4, 2, 2, 3, 3, 4, 3, 1, 5, 1 ); SELECT 1; -- Test: tiny-aggs_data_T20 INSERT INTO T20 VALUES ( 2, 3, 3, 4, 3, 4, 5, 5, 5, 4, 1, 4, 5, 3 ); INSERT INTO T20 VALUES ( 3, 5, 4, 2, 3, 1, 1, 5, 1, 5, 3, 4, 4, 3 ); INSERT INTO T20 VALUES ( 4, 3, 1, 4, 2, 3, 1, 4, 5, 2, 3, 2, 3, 5 ); INSERT INTO T20 VALUES ( 2, 5, 5, 5, 1, 1, 4, 1, 4, 1, 3, 3, 5, 1 ); INSERT INTO T20 VALUES ( 4, 5, 4, 1, 2, 4, 1, 2, 2, 4, 5, 4, 2, 1 ); INSERT INTO T20 VALUES ( 4, 3, 1, 1, 4, 1, 4, 4, 5, 5, 5, 4, 2, 5 ); INSERT INTO T20 VALUES ( 2, 4, 4, 1, 2, 2, 3, 4, 5, 4, 4, 1, 5, 5 ); INSERT INTO T20 VALUES ( 5, 4, 5, 3, 1, 1, 2, 5, 1, 1, 5, 2, 1, 1 ); INSERT INTO T20 VALUES ( 2, 4, 5, 4, 4, 4, 1, 5, 4, 4, 3, 5, 3, 4 ); INSERT INTO T20 VALUES ( 1, 3, 1, 4, 4, 5, 5, 4, 1, 3, 4, 4, 2, 5 ); SELECT 1; -- Test: tiny-aggs_data_T23 INSERT INTO T23 VALUES ( 5, 3, 1, 3, 2, 2, 2, 1, 3 ); INSERT INTO T23 VALUES ( 3, 3, 5, 2, 1, 1, 3, 1, 2 ); INSERT INTO T23 VALUES ( 2, 4, 3, 5, 1, 3, 3, 4, 1 ); INSERT INTO T23 VALUES ( 5, 5, 1, 4, 1, 2, 4, 3, 1 ); INSERT INTO T23 VALUES ( 3, 2, 4, 5, 5, 2, 3, 5, 1 ); INSERT INTO T23 VALUES ( 3, 5, 2, 2, 5, 1, 1, 5, 2 ); INSERT INTO T23 VALUES ( 3, 5, 2, 1, 1, 3, 5, 3, 2 ); INSERT INTO T23 VALUES ( 5, 3, 4, 2, 1, 5, 1, 1, 1 ); INSERT INTO T23 VALUES ( 5, 5, 3, 4, 1, 4, 1, 4, 3 ); INSERT INTO T23 VALUES ( 1, 4, 4, 1, 5, 2, 3, 1, 3 ); SELECT 1; -- Test: tiny-aggs_data_T27 INSERT INTO T27 VALUES ( 2, 1, 4, 4, 4, 1, 1, 3, 4 ); INSERT INTO T27 VALUES ( 3, 1, 3, 3, 1, 2, 3, 1, 1 ); INSERT INTO T27 VALUES ( 5, 2, 1, 2, 4, 5, 3, 3, 5 ); INSERT INTO T27 VALUES ( 4, 3, 3, 3, 4, 5, 5, 1, 1 ); INSERT INTO T27 VALUES ( 3, 3, 2, 1, 2, 1, 3, 2, 3 ); INSERT INTO T27 VALUES ( 3, 3, 2, 4, 3, 2, 3, 5, 5 ); INSERT INTO T27 VALUES ( 5, 1, 3, 3, 5, 1, 2, 5, 3 ); INSERT INTO T27 VALUES ( 1, 4, 3, 4, 5, 5, 2, 4, 2 ); INSERT INTO T27 VALUES ( 5, 4, 1, 3, 5, 5, 3, 1, 4 ); INSERT INTO T27 VALUES ( 5, 3, 1, 5, 2, 3, 5, 1, 1 ); SELECT 1; -- Test: tiny-aggs_data_T28 INSERT INTO T28 VALUES ( 3, 3, 3, 3, 1, 5 ); INSERT INTO T28 VALUES ( 1, 1, 1, 2, 3, 4 ); INSERT INTO T28 VALUES ( 2, 3, 4, 2, 3, 5 ); INSERT INTO T28 VALUES ( 4, 1, 3, 5, 4, 1 ); INSERT INTO T28 VALUES ( 5, 2, 2, 4, 2, 5 ); INSERT INTO T28 VALUES ( 2, 5, 5, 2, 3, 3 ); INSERT INTO T28 VALUES ( 4, 5, 1, 4, 5, 3 ); INSERT INTO T28 VALUES ( 2, 1, 5, 1, 1, 3 ); INSERT INTO T28 VALUES ( 5, 2, 3, 2, 3, 2 ); INSERT INTO T28 VALUES ( 2, 3, 3, 5, 4, 2 ); SELECT 1; -- Test: tiny-aggs_data_T36 INSERT INTO T36 VALUES ( 3, 3, 3, 2, 5, 3, 3, 1, 4, 3, 5, 2, 4, 5, 1, 2, 3, 1, 2 ); INSERT INTO T36 VALUES ( 1, 1, 1, 3, 4, 5, 1, 5, 3, 2, 5, 2, 5, 5, 1, 1, 4, 5, 1 ); INSERT INTO T36 VALUES ( 1, 4, 5, 4, 5, 1, 5, 3, 3, 3, 5, 3, 2, 5, 1, 4, 5, 4, 2 ); INSERT INTO T36 VALUES ( 5, 2, 1, 3, 5, 4, 2, 4, 2, 5, 2, 4, 5, 3, 2, 2, 3, 4, 1 ); INSERT INTO T36 VALUES ( 3, 2, 5, 3, 1, 4, 3, 4, 2, 2, 1, 4, 1, 4, 4, 2, 5, 1, 1 ); INSERT INTO T36 VALUES ( 1, 2, 5, 2, 5, 4, 3, 4, 1, 5, 5, 1, 4, 5, 5, 1, 1, 4, 1 ); INSERT INTO T36 VALUES ( 2, 3, 4, 4, 4, 1, 5, 5, 1, 4, 1, 4, 2, 3, 2, 1, 5, 4, 4 ); INSERT INTO T36 VALUES ( 2, 1, 5, 2, 1, 2, 4, 3, 1, 1, 2, 4, 5, 1, 2, 5, 3, 1, 3 ); INSERT INTO T36 VALUES ( 1, 5, 2, 3, 4, 1, 4, 2, 5, 1, 4, 4, 4, 2, 2, 5, 2, 2, 2 ); INSERT INTO T36 VALUES ( 3, 5, 5, 4, 4, 2, 2, 4, 2, 4, 1, 4, 5, 1, 5, 3, 4, 4, 2 ); SELECT 1; -- Test: tiny-aggs_data_T48 INSERT INTO T48 VALUES ( 1, 5, 2, 4, 2, 4, 4, 3, 4, 3, 5, 2, 1, 3, 2, 4, 3, 4 ); INSERT INTO T48 VALUES ( 3, 2, 1, 5, 4, 4, 3, 4, 2, 3, 3, 5, 1, 2, 3, 5, 2, 2 ); INSERT INTO T48 VALUES ( 3, 4, 4, 4, 1, 3, 2, 4, 2, 2, 5, 4, 5, 4, 5, 4, 1, 4 ); INSERT INTO T48 VALUES ( 3, 2, 1, 5, 2, 4, 5, 4, 1, 4, 2, 3, 1, 3, 4, 5, 5, 2 ); INSERT INTO T48 VALUES ( 4, 3, 1, 4, 5, 3, 3, 4, 2, 2, 3, 1, 1, 4, 1, 1, 4, 4 ); INSERT INTO T48 VALUES ( 4, 2, 3, 4, 3, 3, 3, 4, 4, 3, 1, 1, 3, 5, 3, 4, 3, 1 ); INSERT INTO T48 VALUES ( 2, 4, 1, 4, 4, 2, 4, 3, 1, 1, 5, 5, 1, 3, 4, 2, 5, 2 ); INSERT INTO T48 VALUES ( 5, 5, 3, 2, 4, 3, 1, 1, 2, 5, 4, 1, 4, 5, 5, 1, 5, 5 ); INSERT INTO T48 VALUES ( 1, 2, 3, 2, 4, 4, 4, 3, 5, 3, 5, 1, 1, 1, 3, 4, 4, 5 ); INSERT INTO T48 VALUES ( 4, 5, 5, 3, 3, 4, 2, 4, 2, 5, 3, 2, 2, 3, 5, 5, 4, 5 ); SELECT 1; -- Test: tiny-aggs_data_T51 INSERT INTO T51 VALUES ( 4, 5, 2, 2, 3, 2, 3, 1, 1, 3, 5, 3, 1, 1, 5, 4, 4 ); INSERT INTO T51 VALUES ( 3, 1, 3, 4, 5, 4, 3, 2, 4, 5, 5, 5, 2, 3, 3, 5, 4 ); INSERT INTO T51 VALUES ( 4, 1, 2, 5, 5, 4, 4, 1, 1, 3, 3, 5, 2, 2, 4, 5, 5 ); INSERT INTO T51 VALUES ( 2, 3, 5, 5, 4, 1, 3, 2, 2, 1, 1, 3, 2, 3, 5, 4, 2 ); INSERT INTO T51 VALUES ( 4, 4, 3, 4, 3, 5, 1, 3, 1, 1, 1, 1, 2, 5, 5, 3, 5 ); INSERT INTO T51 VALUES ( 4, 2, 3, 1, 1, 1, 5, 2, 3, 3, 4, 5, 5, 5, 3, 2, 1 ); INSERT INTO T51 VALUES ( 3, 5, 5, 1, 5, 1, 4, 3, 4, 2, 3, 1, 1, 3, 1, 1, 2 ); INSERT INTO T51 VALUES ( 1, 1, 2, 3, 3, 1, 5, 5, 2, 1, 4, 3, 4, 5, 1, 3, 5 ); INSERT INTO T51 VALUES ( 1, 1, 3, 2, 5, 2, 2, 1, 5, 3, 1, 3, 3, 1, 3, 3, 4 ); INSERT INTO T51 VALUES ( 1, 1, 5, 2, 1, 4, 4, 3, 4, 1, 1, 2, 1, 2, 4, 4, 4 ); SELECT 1; -- Test: tiny-aggs_data_T58 INSERT INTO T58 VALUES ( 1, 1, 4, 4, 3, 5, 5, 3, 1, 1, 1, 5, 1, 3, 1 ); INSERT INTO T58 VALUES ( 4, 2, 2, 5, 4, 5, 4, 3, 4, 4, 4, 3, 1, 3, 2 ); INSERT INTO T58 VALUES ( 1, 5, 3, 5, 4, 3, 5, 2, 3, 3, 5, 1, 3, 2, 5 ); INSERT INTO T58 VALUES ( 1, 2, 2, 5, 4, 2, 1, 1, 1, 1, 4, 3, 1, 3, 1 ); INSERT INTO T58 VALUES ( 1, 2, 5, 5, 3, 3, 1, 2, 4, 2, 5, 3, 1, 2, 4 ); INSERT INTO T58 VALUES ( 3, 4, 4, 4, 2, 5, 4, 3, 1, 2, 3, 2, 5, 2, 4 ); INSERT INTO T58 VALUES ( 4, 5, 3, 1, 4, 4, 2, 1, 1, 2, 1, 5, 1, 5, 4 ); INSERT INTO T58 VALUES ( 3, 4, 4, 1, 1, 5, 3, 5, 1, 2, 5, 5, 4, 3, 1 ); INSERT INTO T58 VALUES ( 3, 3, 3, 5, 2, 3, 1, 5, 5, 4, 4, 2, 2, 2, 4 ); INSERT INTO T58 VALUES ( 4, 4, 3, 5, 3, 3, 1, 1, 4, 2, 4, 4, 3, 2, 2 ); SELECT 1; -- Test: tiny-aggs_data_T65 INSERT INTO T65 VALUES ( 1, 4, 3, 3, 5, 1, 1, 2, 5, 5, 5, 4, 5, 2, 4 ); INSERT INTO T65 VALUES ( 2, 5, 3, 3, 3, 3, 5, 4, 4, 1, 2, 5, 5, 5, 4 ); INSERT INTO T65 VALUES ( 3, 3, 1, 2, 3, 2, 4, 3, 2, 2, 5, 5, 5, 5, 3 ); INSERT INTO T65 VALUES ( 1, 5, 5, 3, 3, 1, 2, 2, 1, 5, 1, 1, 2, 4, 5 ); INSERT INTO T65 VALUES ( 4, 4, 5, 3, 3, 4, 2, 2, 5, 4, 4, 2, 2, 5, 1 ); INSERT INTO T65 VALUES ( 5, 1, 1, 1, 3, 1, 2, 2, 5, 1, 1, 4, 1, 4, 2 ); INSERT INTO T65 VALUES ( 3, 5, 4, 5, 1, 4, 3, 1, 4, 3, 3, 1, 3, 1, 4 ); INSERT INTO T65 VALUES ( 1, 1, 5, 1, 2, 1, 3, 1, 4, 5, 2, 3, 1, 2, 3 ); INSERT INTO T65 VALUES ( 3, 5, 3, 4, 3, 5, 5, 4, 4, 1, 5, 4, 2, 4, 4 ); INSERT INTO T65 VALUES ( 5, 3, 3, 2, 2, 3, 1, 5, 2, 1, 4, 5, 5, 4, 2 ); SELECT 1; -- Test: tiny-aggs_data_T70 INSERT INTO T70 VALUES ( 3, 4, 4, 5, 4, 4, 1, 3, 3, 4, 4, 1, 5, 5, 4, 5, 3, 5, 2, 3, 4 ); INSERT INTO T70 VALUES ( 1, 3, 3, 5, 3, 2, 3, 1, 1, 2, 1, 4, 1, 1, 1, 5, 2, 4, 4, 5, 3 ); INSERT INTO T70 VALUES ( 3, 3, 5, 5, 2, 4, 5, 2, 4, 4, 1, 1, 2, 1, 5, 5, 5, 3, 4, 3, 1 ); INSERT INTO T70 VALUES ( 2, 3, 2, 2, 4, 1, 1, 1, 5, 4, 3, 4, 5, 1, 2, 4, 4, 5, 5, 1, 5 ); INSERT INTO T70 VALUES ( 4, 5, 2, 1, 2, 4, 2, 1, 1, 1, 2, 4, 3, 1, 5, 4, 2, 2, 1, 3, 4 ); INSERT INTO T70 VALUES ( 5, 1, 2, 5, 2, 2, 3, 2, 1, 1, 5, 5, 4, 1, 1, 2, 1, 5, 5, 2, 5 ); INSERT INTO T70 VALUES ( 4, 1, 5, 2, 5, 4, 4, 1, 4, 4, 2, 1, 3, 5, 2, 2, 4, 2, 4, 1, 1 ); INSERT INTO T70 VALUES ( 5, 3, 1, 5, 5, 5, 5, 2, 3, 2, 3, 5, 2, 2, 4, 5, 2, 4, 3, 4, 2 ); INSERT INTO T70 VALUES ( 4, 5, 2, 1, 3, 5, 5, 5, 1, 1, 5, 1, 4, 1, 3, 5, 5, 1, 2, 2, 3 ); INSERT INTO T70 VALUES ( 2, 2, 2, 1, 3, 3, 1, 2, 5, 3, 2, 3, 1, 3, 2, 3, 4, 5, 2, 2, 3 ); SELECT 1; -- Test: tiny-aggs_data_T76 INSERT INTO T76 VALUES ( 5, 5, 2, 4, 5, 1, 2, 5, 3 ); INSERT INTO T76 VALUES ( 2, 1, 5, 2, 1, 5, 1, 2, 3 ); INSERT INTO T76 VALUES ( 4, 1, 1, 3, 4, 4, 5, 5, 5 ); INSERT INTO T76 VALUES ( 4, 4, 2, 2, 1, 4, 4, 2, 3 ); INSERT INTO T76 VALUES ( 5, 2, 5, 1, 4, 3, 3, 5, 4 ); INSERT INTO T76 VALUES ( 2, 4, 3, 1, 1, 1, 1, 2, 4 ); INSERT INTO T76 VALUES ( 1, 2, 1, 1, 4, 4, 3, 3, 4 ); INSERT INTO T76 VALUES ( 4, 4, 3, 1, 4, 2, 2, 2, 2 ); INSERT INTO T76 VALUES ( 1, 3, 1, 2, 1, 2, 4, 2, 1 ); INSERT INTO T76 VALUES ( 2, 2, 4, 3, 5, 1, 3, 5, 2 ); SELECT 1; -- Test: tiny-aggs_data_T77 INSERT INTO T77 VALUES ( 5, 1, 4, 4, 5, 2, 2, 2, 5, 5, 5, 3, 3, 4, 4, 3, 1, 2 ); INSERT INTO T77 VALUES ( 5, 1, 3, 5, 2, 2, 5, 2, 4, 5, 5, 4, 5, 3, 3, 2, 1, 2 ); INSERT INTO T77 VALUES ( 2, 5, 4, 2, 5, 5, 3, 5, 4, 3, 2, 5, 4, 4, 3, 4, 4, 5 ); INSERT INTO T77 VALUES ( 2, 4, 5, 1, 3, 1, 5, 3, 2, 3, 4, 4, 1, 3, 3, 4, 5, 4 ); INSERT INTO T77 VALUES ( 2, 1, 5, 2, 3, 1, 2, 3, 5, 1, 5, 3, 3, 5, 4, 1, 5, 5 ); INSERT INTO T77 VALUES ( 5, 5, 2, 5, 5, 5, 2, 4, 3, 5, 5, 3, 1, 5, 1, 3, 3, 4 ); INSERT INTO T77 VALUES ( 1, 2, 2, 2, 5, 5, 4, 5, 5, 5, 1, 2, 3, 3, 2, 5, 1, 2 ); INSERT INTO T77 VALUES ( 4, 2, 3, 3, 1, 5, 1, 3, 5, 4, 1, 1, 4, 1, 5, 3, 2, 5 ); INSERT INTO T77 VALUES ( 5, 1, 3, 2, 5, 3, 5, 2, 2, 3, 4, 2, 5, 4, 4, 4, 5, 4 ); INSERT INTO T77 VALUES ( 1, 5, 2, 5, 2, 5, 3, 1, 4, 4, 4, 4, 3, 1, 4, 4, 4, 4 ); SELECT 1; -- Test: tiny-aggs_data_T79 INSERT INTO T79 VALUES ( 2, 4, 2, 3, 4, 3, 5 ); INSERT INTO T79 VALUES ( 1, 3, 2, 5, 5, 1, 3 ); INSERT INTO T79 VALUES ( 3, 3, 3, 3, 3, 2, 1 ); INSERT INTO T79 VALUES ( 4, 2, 2, 1, 1, 5, 2 ); INSERT INTO T79 VALUES ( 2, 4, 1, 3, 5, 5, 5 ); INSERT INTO T79 VALUES ( 4, 1, 3, 3, 2, 5, 2 ); INSERT INTO T79 VALUES ( 3, 1, 4, 3, 2, 2, 2 ); INSERT INTO T79 VALUES ( 5, 4, 1, 4, 2, 1, 4 ); INSERT INTO T79 VALUES ( 5, 2, 1, 3, 2, 4, 4 ); INSERT INTO T79 VALUES ( 2, 3, 2, 4, 1, 5, 4 ); SELECT 1; -- Test: tiny-aggs_data_T85 INSERT INTO T85 VALUES ( 2, 2, 4, 3, 1, 5, 5, 3, 1, 4, 2, 5, 3, 2, 5, 4, 3, 3 ); INSERT INTO T85 VALUES ( 2, 4, 4, 2, 4, 4, 4, 1, 1, 2, 1, 3, 2, 4, 5, 3, 1, 5 ); INSERT INTO T85 VALUES ( 5, 2, 2, 1, 2, 1, 1, 1, 1, 5, 2, 3, 4, 4, 5, 1, 5, 2 ); INSERT INTO T85 VALUES ( 3, 5, 1, 2, 4, 5, 2, 1, 5, 5, 3, 1, 3, 3, 3, 2, 1, 5 ); INSERT INTO T85 VALUES ( 4, 4, 3, 1, 2, 2, 4, 5, 4, 1, 2, 1, 3, 3, 1, 1, 3, 2 ); INSERT INTO T85 VALUES ( 1, 5, 3, 2, 2, 4, 4, 1, 1, 5, 3, 5, 2, 5, 2, 3, 3, 2 ); INSERT INTO T85 VALUES ( 3, 1, 3, 1, 3, 5, 2, 1, 5, 3, 5, 5, 5, 3, 1, 5, 5, 4 ); INSERT INTO T85 VALUES ( 1, 2, 2, 1, 1, 5, 1, 3, 2, 2, 2, 5, 3, 5, 3, 1, 4, 1 ); INSERT INTO T85 VALUES ( 4, 1, 5, 2, 5, 2, 4, 1, 4, 4, 5, 2, 3, 3, 3, 3, 5, 2 ); INSERT INTO T85 VALUES ( 1, 1, 3, 5, 4, 4, 5, 3, 3, 3, 2, 1, 2, 3, 2, 2, 1, 1 ); SELECT 1; -- Test: tiny-aggs_data_T88 INSERT INTO T88 VALUES ( 3, 4, 1, 5, 5, 1, 4, 2, 1, 2, 4, 4 ); INSERT INTO T88 VALUES ( 2, 1, 1, 3, 1, 4, 1, 5, 5, 4, 2, 3 ); INSERT INTO T88 VALUES ( 5, 4, 3, 2, 1, 5, 5, 1, 4, 2, 1, 4 ); INSERT INTO T88 VALUES ( 5, 1, 3, 3, 2, 2, 1, 2, 5, 4, 1, 5 ); INSERT INTO T88 VALUES ( 4, 5, 3, 5, 4, 5, 2, 3, 5, 5, 4, 1 ); INSERT INTO T88 VALUES ( 3, 4, 3, 1, 1, 4, 1, 3, 2, 2, 5, 2 ); INSERT INTO T88 VALUES ( 1, 2, 4, 3, 1, 4, 2, 1, 2, 2, 1, 5 ); INSERT INTO T88 VALUES ( 5, 3, 1, 3, 1, 3, 3, 4, 4, 1, 4, 2 ); INSERT INTO T88 VALUES ( 5, 1, 3, 3, 5, 1, 3, 4, 4, 1, 3, 1 ); INSERT INTO T88 VALUES ( 1, 1, 1, 2, 5, 5, 1, 1, 5, 1, 5, 3 ); SELECT 1; -- Test: tiny-aggs_data_T89 INSERT INTO T89 VALUES ( 3, 4, 4 ); INSERT INTO T89 VALUES ( 3, 2, 2 ); INSERT INTO T89 VALUES ( 3, 5, 3 ); INSERT INTO T89 VALUES ( 5, 3, 3 ); INSERT INTO T89 VALUES ( 4, 5, 2 ); INSERT INTO T89 VALUES ( 3, 2, 5 ); INSERT INTO T89 VALUES ( 5, 5, 4 ); INSERT INTO T89 VALUES ( 4, 2, 3 ); INSERT INTO T89 VALUES ( 5, 4, 3 ); INSERT INTO T89 VALUES ( 1, 3, 2 ); SELECT 1; -- Test: tiny-aggs_data_T90 INSERT INTO T90 VALUES ( 4, 5, 1, 4, 2, 5, 1, 3, 4, 2, 2, 1, 5, 2 ); INSERT INTO T90 VALUES ( 4, 3, 2, 2, 4, 4, 4, 3, 1, 5, 1, 2, 4, 3 ); INSERT INTO T90 VALUES ( 1, 1, 1, 5, 3, 2, 3, 3, 1, 4, 1, 5, 4, 1 ); INSERT INTO T90 VALUES ( 1, 2, 1, 2, 1, 1, 5, 1, 5, 2, 5, 1, 2, 3 ); INSERT INTO T90 VALUES ( 4, 5, 2, 1, 3, 1, 4, 2, 2, 4, 2, 1, 3, 3 ); INSERT INTO T90 VALUES ( 3, 2, 2, 5, 4, 5, 4, 4, 2, 3, 1, 1, 5, 2 ); INSERT INTO T90 VALUES ( 5, 5, 5, 2, 3, 4, 4, 1, 3, 5, 2, 2, 4, 3 ); INSERT INTO T90 VALUES ( 5, 4, 2, 3, 3, 3, 1, 5, 3, 3, 3, 5, 4, 4 ); INSERT INTO T90 VALUES ( 2, 1, 4, 3, 2, 5, 4, 3, 5, 3, 4, 3, 1, 2 ); INSERT INTO T90 VALUES ( 4, 2, 3, 4, 3, 5, 1, 3, 2, 3, 5, 2, 1, 5 ); SELECT 1; -- Test: tiny-aggs_data_T91 INSERT INTO T91 VALUES ( 1, 2, 3, 5, 2, 5, 4, 2, 3, 5, 4, 3, 4, 2, 4, 4, 5, 2, 3, 3, 1, 5 ); INSERT INTO T91 VALUES ( 3, 2, 5, 4, 5, 1, 2, 4, 3, 4, 4, 5, 3, 5, 2, 3, 2, 1, 1, 2, 1, 2 ); INSERT INTO T91 VALUES ( 4, 3, 5, 1, 3, 2, 4, 3, 1, 2, 1, 5, 3, 5, 5, 4, 2, 5, 1, 5, 2, 3 ); INSERT INTO T91 VALUES ( 3, 5, 2, 1, 5, 4, 1, 3, 4, 4, 1, 4, 2, 5, 2, 2, 5, 5, 1, 3, 3, 4 ); INSERT INTO T91 VALUES ( 4, 5, 4, 4, 4, 2, 5, 4, 4, 2, 1, 4, 3, 5, 3, 1, 4, 1, 3, 4, 2, 1 ); INSERT INTO T91 VALUES ( 5, 5, 3, 2, 3, 5, 2, 4, 2, 5, 4, 5, 1, 2, 4, 3, 3, 4, 1, 4, 3, 4 ); INSERT INTO T91 VALUES ( 5, 3, 2, 2, 4, 1, 2, 5, 3, 1, 2, 5, 5, 5, 2, 4, 5, 3, 4, 3, 1, 1 ); INSERT INTO T91 VALUES ( 1, 5, 2, 2, 5, 1, 2, 5, 2, 2, 2, 2, 4, 5, 4, 4, 1, 2, 3, 2, 4, 3 ); INSERT INTO T91 VALUES ( 3, 1, 3, 4, 1, 1, 5, 4, 4, 2, 1, 1, 1, 3, 5, 2, 3, 5, 5, 1, 5, 1 ); INSERT INTO T91 VALUES ( 3, 4, 1, 1, 2, 2, 1, 2, 4, 4, 3, 2, 1, 1, 3, 3, 5, 3, 4, 5, 1, 5 ); SELECT 1; -- Test: tiny-derivedtables_queries-127 SELECT DT994.C791 , DT995.C610 FROM ( ( T27 DT997 RIGHT OUTER JOIN ( T65 DT994 INNER JOIN T51 DT995 ON DT994.C793 = DT995.C619 ) ON DT997.C325 < DT995.C620 ) INNER JOIN T77 DT996 ON DT997.C325 > DT996.C962 ) WHERE ( ( DT996.C955 < DT995.C610 ) AND ( ( ( DT996.C952 = DT996.C954 ) AND ( DT994.C797 = DT994.C785 ) ) OR ( ( DT994.C783 < DT996.C955 ) AND ( DT996.C948 < DT997.C321 ) ) ) ) OR ( DT997.C326 = DT996.C952 ) GROUP BY DT995.C610 , DT996.C951 , DT994.C791 ORDER BY DT994.C791 , DT995.C610 LIMIT 197; -- Test: tiny-derivedtables_queries-128 SELECT DT1000.C2611 , MIN( DT1001.C1044 ) FROM ( ( T85 DT1001 INNER JOIN ( T15 DT1007 INNER JOIN ( SELECT DT999.C850 , MAX( DT999.C841 ) , DT998.C573 , DT998.C581 , DT999.C841 , AVG( DT999.C845 ) FROM ( T48 DT998 INNER JOIN T70 DT999 ON DT998.C585 = DT999.C850 ) WHERE ( ( ( DT998.C584 < DT999.C857 ) AND ( DT998.C584 = DT999.C851 ) ) AND ( ( DT998.C583 = DT999.C848 ) OR ( DT998.C574 = DT998.C576 ) ) ) OR ( ( ( ( DT998.C584 > DT998.C581 ) OR ( DT999.C856 > DT998.C576 ) ) OR ( DT999.C840 = DT999.C848 ) ) AND ( DT999.C847 <> DT998.C582 ) ) GROUP BY DT999.C841 , DT999.C845 , DT998.C581 , DT999.C850 , DT998.C573 ORDER BY DT999.C850 , MAX( DT999.C841 ) , DT998.C573 , DT998.C581 , DT999.C841 , AVG( DT999.C845 ) LIMIT 536 ) AS DT1000 ( C2610, C2611, C2612, C2613, C2614, C2615 ) ON DT1007.C188 = DT1000.C2614 ) ON DT1001.C1029 = DT1000.C2612 ) INNER JOIN ( SELECT DT1002.C1069 , DT1002.C1073 , DT1005.C702 , DT1003.C435 , DT1003.C423 , DT1005.C711 FROM ( T88 DT1002 LEFT OUTER JOIN ( ( T91 DT1004 INNER JOIN T36 DT1003 ON DT1004.C1094 <> DT1003.C434 ) INNER JOIN T58 DT1005 ON DT1004.C1100 < DT1005.C702 ) ON DT1002.C1074 = DT1003.C419 ) WHERE ( DT1004.C1112 = DT1005.C698 ) OR ( ( DT1004.C1098 < DT1003.C436 ) OR ( ( ( DT1002.C1072 <> DT1002.C1070 ) AND ( DT1004.C1103 <> DT1004.C1096 ) ) AND ( ( DT1003.C434 = DT1003.C429 ) OR ( ( DT1003.C420 <> DT1005.C701 ) AND ( ( DT1004.C1111 = DT1005.C700 ) OR ( DT1004.C1110 = DT1003.C430 ) ) ) ) ) ) ORDER BY DT1002.C1069 , DT1002.C1073 , DT1005.C702 , DT1003.C435 , DT1003.C423 , DT1005.C711 LIMIT 730 ) DT1006 ( C2616, C2617, C2618, C2619, C2620, C2621 ) ON DT1007.C191 = DT1006.C2621 ) WHERE ( ( DT1001.C1038 > DT1000.C2610 ) AND ( DT1000.C2610 = DT1006.C2618 ) ) AND ( ( DT1001.C1029 = DT1000.C2612 ) AND ( ( DT1007.C194 <> DT1006.C2619 ) OR ( ( DT1006.C2616 < DT1001.C1031 ) AND ( DT1001.C1045 = DT1001.C1041 ) ) ) ) GROUP BY DT1000.C2611 , DT1001.C1044 ORDER BY DT1000.C2611 , MIN( DT1001.C1044 ) LIMIT 610; -- Test: tiny-queries_innerjoins.xml-35 SELECT DT215.C1081 , DT214.C275 , DT216.C938 , DT215.C1086 , DT214.C276 , DT215.C1084 , DT215.C1091 , DT214.C278 , DT216.C943 , DT214.C273 , DT215.C1079 , DT214.C272 , DT215.C1085 , DT215.C1088 , DT215.C1090 , DT216.C945 FROM ( ( ( T76 DT216 INNER JOIN T90 DT215 ON DT216.C946 <> DT215.C1091 ) INNER JOIN T89 DT217 ON DT215.C1082 = DT217.C1077 ) INNER JOIN T23 DT214 ON DT215.C1092 > DT214.C273 ) WHERE ( DT214.C270 = DT215.C1081 ) OR ( DT215.C1083 = DT215.C1091 ) ORDER BY DT215.C1081 , DT214.C275 , DT216.C938 , DT215.C1086 , DT214.C276 , DT215.C1084 , DT215.C1091 , DT214.C278 , DT216.C943 , DT214.C273 , DT215.C1079 , DT214.C272 , DT215.C1085 , DT215.C1088 , DT215.C1090 , DT216.C945 LIMIT 297; -- Test: tiny-queries_outerjoins-22 SELECT DT170.C572 , DT167.C243 , DT170.C576 , DT167.C246 , DT168.C980 , DT170.C568 , DT170.C578 , DT168.C979 FROM ( ( T20 DT167 INNER JOIN ( T88 DT169 INNER JOIN T48 DT170 ON DT169.C1068 <> DT170.C568 ) ON DT167.C237 = DT169.C1074 ) RIGHT OUTER JOIN T79 DT168 ON DT169.C1074 > DT168.C985 ) WHERE ( ( DT170.C572 < DT168.C981 ) AND ( ( DT168.C985 < DT168.C984 ) OR ( DT169.C1075 = DT167.C236 ) ) ) AND ( DT170.C582 > DT169.C1066 ) ORDER BY DT170.C572 , DT167.C243 , DT170.C576 , DT167.C246 , DT168.C980 , DT170.C568 , DT170.C578 , DT168.C979 LIMIT 479; -- Test: tiny-queries_mix-52 SELECT DT700.C93 , DT702.C332 , DT700.C108 , MIN( DT702.C332 ) FROM ( ( T7 DT700 INNER JOIN T5 DT701 ON DT700.C97 < DT701.C73 ) RIGHT OUTER JOIN T28 DT702 ON DT700.C94 = DT702.C332 ) WHERE ( DT702.C332 <> DT701.C68 ) AND ( ( ( DT700.C89 = DT700.C106 ) AND ( DT700.C101 <> DT700.C92 ) ) AND ( DT701.C68 < DT700.C96 ) ) GROUP BY DT700.C108 , DT702.C332 , DT700.C93 ORDER BY DT700.C93 , DT702.C332 , DT700.C108 , MIN( DT702.C332 ) LIMIT 284; drop table if exists t5; drop table if exists t7; drop table if exists t15; drop table if exists t20; drop table if exists t23; drop table if exists t27; drop table if exists t28; drop table if exists t36; drop table if exists t48; drop table if exists t51; drop table if exists t58; drop table if exists t65; drop table if exists t70; drop table if exists t76; drop table if exists t77; drop table if exists t79; drop table if exists t85; drop table if exists t88; drop table if exists t89; drop table if exists t90; drop table if exists t91;
-- Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0, -- and the EPL 1.0 (https://h2database.com/html/license.html). -- Initial Developer: H2 Group -- CREATE TABLE TEST(ID INT, R INT, CATEGORY INT); > ok INSERT INTO TEST VALUES (1, 4, 1), (2, 3, 1), (3, 2, 2), (4, 1, 2); > update count: 4 SELECT *, ROW_NUMBER() OVER W FROM TEST; > exception WINDOW_NOT_FOUND_1 SELECT * FROM TEST WINDOW W AS W1, W1 AS (); > exception SYNTAX_ERROR_2 SELECT *, ROW_NUMBER() OVER W1, ROW_NUMBER() OVER W2 FROM TEST WINDOW W1 AS (W2 ORDER BY ID), W2 AS (PARTITION BY CATEGORY ORDER BY ID DESC); > ID R CATEGORY ROW_NUMBER() OVER (PARTITION BY CATEGORY ORDER BY ID) ROW_NUMBER() OVER (PARTITION BY CATEGORY ORDER BY ID DESC) > -- - -------- ----------------------------------------------------- ---------------------------------------------------------- > 1 4 1 1 2 > 2 3 1 2 1 > 3 2 2 1 2 > 4 1 2 2 1 > rows: 4 SELECT *, LAST_VALUE(ID) OVER W FROM TEST WINDOW W AS (PARTITION BY CATEGORY ORDER BY ID RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING EXCLUDE CURRENT ROW); > ID R CATEGORY LAST_VALUE(ID) OVER (PARTITION BY CATEGORY ORDER BY ID RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING EXCLUDE CURRENT ROW) > -- - -------- ------------------------------------------------------------------------------------------------------------------------------------- > 1 4 1 2 > 2 3 1 1 > 3 2 2 4 > 4 1 2 3 > rows: 4 DROP TABLE TEST; > ok SELECT MAX(MAX(X) OVER ()) OVER () FROM VALUES (1); > exception INVALID_USE_OF_AGGREGATE_FUNCTION_1 SELECT MAX(MAX(X) OVER ()) FROM VALUES (1); > exception INVALID_USE_OF_AGGREGATE_FUNCTION_1 SELECT MAX(MAX(X)) FROM VALUES (1); > exception INVALID_USE_OF_AGGREGATE_FUNCTION_1 CREATE TABLE TEST(ID INT, CATEGORY INT); > ok INSERT INTO TEST VALUES (1, 1), (2, 1), (4, 2), (8, 2), (16, 3), (32, 3); > update count: 6 SELECT ROW_NUMBER() OVER (ORDER /**/ BY CATEGORY), SUM(ID) FROM TEST GROUP BY CATEGORY HAVING SUM(ID) = 12; > ROW_NUMBER() OVER (ORDER BY CATEGORY) SUM(ID) > ------------------------------------- ------- > 1 12 > rows: 1 SELECT ROW_NUMBER() OVER (ORDER /**/ BY CATEGORY), SUM(ID) FROM TEST GROUP BY CATEGORY HAVING CATEGORY = 2; > ROW_NUMBER() OVER (ORDER BY CATEGORY) SUM(ID) > ------------------------------------- ------- > 1 12 > rows: 1 SELECT ROW_NUMBER() OVER (ORDER BY CATEGORY), SUM(ID) FROM TEST GROUP BY CATEGORY HAVING CATEGORY > 1; > ROW_NUMBER() OVER (ORDER BY CATEGORY) SUM(ID) > ------------------------------------- ------- > 1 12 > 2 48 > rows: 2 DROP TABLE TEST; > ok CREATE TABLE TEST(ID INT, CATEGORY BOOLEAN); > ok INSERT INTO TEST VALUES (1, FALSE), (2, FALSE), (4, TRUE), (8, TRUE), (16, FALSE), (32, FALSE); > update count: 6 SELECT ROW_NUMBER() OVER (ORDER BY CATEGORY), SUM(ID) FROM TEST GROUP BY CATEGORY HAVING SUM(ID) = 12; > ROW_NUMBER() OVER (ORDER BY CATEGORY) SUM(ID) > ------------------------------------- ------- > 1 12 > rows: 1 SELECT ROW_NUMBER() OVER (ORDER BY CATEGORY), SUM(ID) FROM TEST GROUP BY CATEGORY HAVING CATEGORY; > ROW_NUMBER() OVER (ORDER BY CATEGORY) SUM(ID) > ------------------------------------- ------- > 1 12 > rows: 1 SELECT SUM(ID) OVER (ORDER BY ID ROWS NULL PRECEDING) P FROM TEST; > exception INVALID_PRECEDING_OR_FOLLOWING_1 SELECT SUM(ID) OVER (ORDER BY ID RANGE NULL PRECEDING) P FROM TEST; > exception INVALID_PRECEDING_OR_FOLLOWING_1 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS FIRST RANGE BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS FIRST; > A ID V > --------- -- ---- > [3, 1, 2] 2 null > [3, 1] 1 1 > [3, 1] 3 2 > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS LAST RANGE BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS LAST; > A ID V > --------- -- ---- > [2, 3, 1] 1 1 > [2, 3, 1] 3 2 > [2] 2 null > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS FIRST RANGE BETWEEN 1 FOLLOWING AND UNBOUNDED FOLLOWING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS FIRST; > A ID V > --------- -- ---- > [3, 1, 2] 2 null > [3] 1 1 > null 3 2 > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS LAST RANGE BETWEEN 1 FOLLOWING AND UNBOUNDED FOLLOWING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS LAST; > A ID V > ------ -- ---- > [2, 3] 1 1 > [2] 3 2 > [2] 2 null > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS FIRST RANGE BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS FIRST; > A ID V > --------- -- ---- > [2] 2 null > [2, 1, 3] 1 1 > [2, 1, 3] 3 2 > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS LAST RANGE BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS LAST; > A ID V > --------- -- ---- > [1, 3] 1 1 > [1, 3] 3 2 > [1, 3, 2] 2 null > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS FIRST RANGE BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS FIRST; > A ID V > ------ -- ---- > [2] 2 null > [2] 1 1 > [2, 1] 3 2 > rows (ordered): 3 SELECT ARRAY_AGG(ID) OVER (ORDER BY V NULLS LAST RANGE BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING) A, ID, V FROM VALUES (1, 1), (2, NULL), (3, 2) T(ID, V) ORDER BY V NULLS LAST; > A ID V > --------- -- ---- > null 1 1 > [1] 3 2 > [1, 3, 2] 2 null > rows (ordered): 3 SELECT SUM(V) OVER (ORDER BY V RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING) FROM VALUES (TRUE) T(V); > exception INVALID_VALUE_2 SELECT SUM(ID) OVER (ORDER BY ID RANGE BETWEEN 10000000000 PRECEDING AND CURRENT ROW) P, SUM(ID) OVER (ORDER BY ID RANGE BETWEEN 10000000001 PRECEDING AND 10000000000 PRECEDING) P2, SUM(ID) OVER (ORDER BY ID RANGE BETWEEN CURRENT ROW AND 2147483647 FOLLOWING) F, SUM(ID) OVER (ORDER BY ID RANGE BETWEEN 2147483647 FOLLOWING AND 2147483648 FOLLOWING) F2, ID FROM TEST ORDER BY ID; > P P2 F F2 ID > -- ---- -- ---- -- > 1 null 63 null 1 > 3 null 62 null 2 > 7 null 60 null 4 > 15 null 56 null 8 > 31 null 48 null 16 > 63 null 32 null 32 > rows (ordered): 6 DROP TABLE TEST; > ok SELECT ARRAY_AGG(T) OVER (ORDER BY T RANGE BETWEEN INTERVAL 1 DAY PRECEDING AND CURRENT ROW) C, ARRAY_AGG(T) OVER (ORDER BY T RANGE BETWEEN INTERVAL 2 HOUR PRECEDING AND INTERVAL 1 HOUR PRECEDING) P, T FROM VALUES (TIME '00:00:00'), (TIME '01:30:00') TEST(T) ORDER BY T; > C P T > -------------------- ---------- -------- > [00:00:00] null 00:00:00 > [00:00:00, 01:30:00] [00:00:00] 01:30:00 > rows (ordered): 2 SELECT SUM(A) OVER (ORDER BY A, B RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) S FROM VALUES (1, 2) T(A, B); >> 1 SELECT SUM(A) OVER (ORDER BY A, B RANGE BETWEEN 1 PRECEDING AND UNBOUNDED FOLLOWING) S FROM VALUES (1, 2) T(A, B); > exception SYNTAX_ERROR_2 SELECT SUM(A) OVER (ORDER BY A, B RANGE BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING) S FROM VALUES (1, 2) T(A, B); > exception SYNTAX_ERROR_2 SELECT SUM(A) OVER (GROUPS BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING) S FROM VALUES (1, 2) T(A, B); > exception SYNTAX_ERROR_2
<filename>database/pemesanan_domain_hosting_uns.sql -- phpMyAdmin SQL Dump -- version 4.1.12 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Oct 09, 2016 at 05:13 PM -- Server version: 5.6.16 -- PHP Version: 5.5.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `pemesanan_domain_hosting_uns` -- -- -------------------------------------------------------- -- -- Table structure for table `aplikasi` -- CREATE TABLE IF NOT EXISTS `aplikasi` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nama` varchar(32) NOT NULL, `kode_detail_aplikasi` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `kode_detail_aplikasi` (`kode_detail_aplikasi`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Dumping data for table `aplikasi` -- INSERT INTO `aplikasi` (`id`, `nama`, `kode_detail_aplikasi`) VALUES (1, 'cms', 1), (2, 'cms', 2), (3, 'framework', 3), (4, 'framework', 4), (5, 'framework', 5), (6, 'framework', 6), (7, 'framework', 7), (8, 'coding sendiri', 8), (9, 'coding sendiri', 9), (10, 'coding sendiri', 10); -- -------------------------------------------------------- -- -- Table structure for table `detail_aplikasi` -- CREATE TABLE IF NOT EXISTS `detail_aplikasi` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nama` varchar(32) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Dumping data for table `detail_aplikasi` -- INSERT INTO `detail_aplikasi` (`id`, `nama`) VALUES (1, 'wordpress'), (2, 'joomla'), (3, 'ci'), (4, 'yii'), (5, 'jango'), (6, 'laravel'), (7, 'spring'), (8, 'php'), (9, 'java'), (10, 'pyton'); -- -------------------------------------------------------- -- -- Table structure for table `ketua` -- CREATE TABLE IF NOT EXISTS `ketua` ( `id_ketua` int(11) NOT NULL AUTO_INCREMENT, `NIP/NIM` varchar(100) NOT NULL, `nama_ketua` varchar(1000) NOT NULL, `kode_jabatan` int(11) NOT NULL, PRIMARY KEY (`id_ketua`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `pendaftar` -- CREATE TABLE IF NOT EXISTS `pendaftar` ( `id_pendaftar` int(11) NOT NULL AUTO_INCREMENT, `nama_pendaftar` varchar(500) NOT NULL, `email_pendaftar` varchar(500) NOT NULL, `no_hp` varchar(15) NOT NULL, PRIMARY KEY (`id_pendaftar`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `pendaftar` -- INSERT INTO `pendaftar` (`id_pendaftar`, `nama_pendaftar`, `email_pendaftar`, `no_hp`) VALUES (1, '1', '1', '1'), (2, '1', '1', '1'), (3, '1', '1', '1'), (4, '1', '1', '1'), (5, '2', '3', '4'), (6, '2', '3', '4'); -- -------------------------------------------------------- -- -- Table structure for table `permintaan` -- CREATE TABLE IF NOT EXISTS `permintaan` ( `kode_permintaan` varchar(50) NOT NULL, `keperluan` varchar(1000) NOT NULL, `keterangan` varchar(1000) NOT NULL, `status` enum('pending','active') NOT NULL, `id_pendaftar` int(11) NOT NULL, `id_ketua` int(11) NOT NULL, `kode_surat` int(11) NOT NULL, `kode_jenis` enum('domain','hosting','domain dan hosting') NOT NULL, `kode_aplikasi` int(11) NOT NULL, PRIMARY KEY (`kode_permintaan`), KEY `id_pendaftar` (`id_pendaftar`), KEY `id_ketua` (`id_ketua`), KEY `kode_surat` (`kode_surat`), KEY `kode_aplikasi` (`kode_aplikasi`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `surat` -- CREATE TABLE IF NOT EXISTS `surat` ( `kode_surat` int(11) NOT NULL AUTO_INCREMENT, `kop_surat` varchar(1000) NOT NULL, `nomor_surat` varchar(100) NOT NULL, `tebusan` varchar(100) NOT NULL, `persetujuan` varchar(100) NOT NULL, PRIMARY KEY (`kode_surat`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Constraints for dumped tables -- -- -- Constraints for table `aplikasi` -- ALTER TABLE `aplikasi` ADD CONSTRAINT `aplikasi_ibfk_1` FOREIGN KEY (`kode_detail_aplikasi`) REFERENCES `detail_aplikasi` (`id`); -- -- Constraints for table `permintaan` -- ALTER TABLE `permintaan` ADD CONSTRAINT `permintaan_ibfk_4` FOREIGN KEY (`kode_aplikasi`) REFERENCES `aplikasi` (`id`), ADD CONSTRAINT `permintaan_ibfk_1` FOREIGN KEY (`id_pendaftar`) REFERENCES `pendaftar` (`id_pendaftar`), ADD CONSTRAINT `permintaan_ibfk_2` FOREIGN KEY (`id_ketua`) REFERENCES `ketua` (`id_ketua`), ADD CONSTRAINT `permintaan_ibfk_3` FOREIGN KEY (`kode_surat`) REFERENCES `surat` (`kode_surat`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
SELECT p1.id, p2.id, v1, v2 FROM polygons p1 CROSS JOIN LATERAL vertices(p1.poly) v1, polygons p2 CROSS JOIN LATERAL vertices(p2.poly) v2 WHERE (v1 <-> v2) < 10 AND p1.id != p2.id;
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: 22-Set-2015 às 21:50 -- Versão do servidor: 5.6.17 -- PHP Version: 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `cronometro` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `tarefas` -- CREATE TABLE IF NOT EXISTS `tarefas` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nome` varchar(200) DEFAULT NULL, `inicial` timestamp NULL DEFAULT NULL, `final` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Extraindo dados da tabela `tarefas` -- INSERT INTO `tarefas` (`id`, `nome`, `inicial`, `final`) VALUES (2, 'Teste', '2015-09-22 23:26:30', '2015-09-23 02:26:39'), (3, 'Teste', '2015-09-22 18:28:38', '2015-09-22 20:38:42'); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
SELECT p.pid, now() - a.xact_start AS duration, coalesce(wait_event_type ||'.'|| wait_event, 'f') AS waiting, CASE WHEN a.query ~ '^autovacuum.*to prevent wraparound' THEN 'wraparound' WHEN a.query ~ '^vacuum' THEN 'user' ELSE 'regular' END AS mode, p.datname AS database, p.relid::regclass AS table, p.phase, pg_size_pretty(p.heap_blks_total * current_setting('block_size')::int) AS table_size, pg_size_pretty(pg_total_relation_size(relid)) AS total_size, pg_size_pretty(p.heap_blks_scanned * current_setting('block_size')::int) AS scanned, pg_size_pretty(p.heap_blks_vacuumed * current_setting('block_size')::int) AS vacuumed, round(100.0 * p.heap_blks_scanned / p.heap_blks_total, 1) AS scanned_pct, round(100.0 * p.heap_blks_vacuumed / p.heap_blks_total, 1) AS vacuumed_pct, p.index_vacuum_count, round(100.0 * p.num_dead_tuples / p.max_dead_tuples,1) AS dead_pct FROM pg_stat_progress_vacuum p JOIN pg_stat_activity a USING (pid) order by now() - a.xact_start DESC
<reponame>ranjithbhaskar/loundry<filename>laundry.sql -- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Aug 25, 2018 at 08:39 PM -- Server version: 5.5.50-0ubuntu0.14.04.1 -- PHP Version: 5.5.9-1ubuntu4.20 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `laundrymanagement` -- -- -------------------------------------------------------- -- -- Table structure for table `laundry` -- CREATE TABLE IF NOT EXISTS `laundry` ( `laundry_id` int(11) NOT NULL AUTO_INCREMENT, `laundry_type_id` int(11) NOT NULL, `laundry_name` varchar(256) NOT NULL, `quantity` int(11) NOT NULL, `item_cost` int(11) NOT NULL, `price` int(11) NOT NULL, `created_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`laundry_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `laundry` -- INSERT INTO `laundry` (`laundry_id`, `laundry_type_id`, `laundry_name`, `quantity`, `item_cost`, `price`, `created_timestamp`, `updated_timestamp`) VALUES (1, 1, 'shirt', 0, 11, 0, '2018-08-25 09:25:33', '0000-00-00 00:00:00'); /*!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>Root-XS/sudo-bible INSERT IGNORE INTO `sudo_bible_topic_verses` (`topic_id`, `book_id`, `chapter`, `verse`, `end_verse`) VALUES (9, 19, 133, 1, 3), (9, 20, 15, 22, null), (9, 20, 17, 17, null), (9, 20, 27, 17, null), (9, 21, 4, 9, 12), (9, 38, 7, 9, 10), (9, 40, 18, 20, null), (9, 41, 3, 33, 35), (9, 43, 15, 12, 13), (9, 44, 2, 42, 47), (9, 44, 4, 32, 35), (9, 45, 12, 3, 5), (9, 45, 12, 10, null), (9, 45, 12, 15, null), (9, 46, 1, 10, null), (9, 46, 12, 25, 27), (9, 48, 6, 2, null), (9, 49, 4, 2, 6), (9, 49, 4, 15, 16), (9, 49, 5, 18, 21), (9, 58, 10, 24, 25), (9, 59, 5, 16, null), (9, 60, 2, 9, 10), (9, 60, 4, 8, 11), (9, 62, 1, 7, null);
<filename>src/test/resources/sql/insert/e46fd83d.sql -- file:macaddr8.sql ln:53 expect:true INSERT INTO macaddr8_data VALUES (16, '08-00-2b-01-02-03-04-05')
-- 2021-02-19T13:30:12.281Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,Description,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,543369,0,187,1000005,578118,'F',TO_TIMESTAMP('2021-02-19 15:30:12','YYYY-MM-DD HH24:MI:SS'),100,'Ein Rabatt, der von Hand eingetragen wurde, wird vom Provisionssystem nicht überschrieben','Y','N','N','Y','N','N','N',0,'<NAME>',115,0,0,TO_TIMESTAMP('2021-02-19 15:30:12','YYYY-MM-DD HH24:MI:SS'),100) ; -- 2021-02-19T13:30:34.818Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=160,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=578118 ; -- 2021-02-19T13:30:34.832Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=170,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000044 ; -- 2021-02-19T13:30:34.840Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=180,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000045 ; -- 2021-02-19T13:30:34.847Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=190,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552431 ; -- 2021-02-19T13:30:34.854Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=200,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552430 ; -- 2021-02-19T13:30:34.861Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=210,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000046 ; -- 2021-02-19T13:30:34.869Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=220,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000047 ; -- 2021-02-19T13:30:34.876Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=230,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549097 ; -- 2021-02-19T13:30:34.883Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=240,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000039 ; -- 2021-02-19T13:30:34.890Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=250,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549127 ; -- 2021-02-19T13:30:34.897Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=260,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549126 ; -- 2021-02-19T13:30:34.903Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=270,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549129 ; -- 2021-02-19T13:30:34.910Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=280,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549130 ; -- 2021-02-19T13:30:34.918Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=290,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549128 ; -- 2021-02-19T13:30:34.933Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=300,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=551414 ; -- 2021-02-19T13:30:34.941Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=310,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=550143 ; -- 2021-02-19T13:30:34.948Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=320,Updated=TO_TIMESTAMP('2021-02-19 15:30:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552486 ; -- 2021-02-19T13:31:13.153Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_UI_Element SET WidgetSize='S',Updated=TO_TIMESTAMP('2021-02-19 15:31:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=578118 ;
ALTER TABLE `qb_groupcfg` ADD `allowview` VARCHAR( 255 ) NOT NULL COMMENT '允许浏览此字段的用户组'; ALTER TABLE `qb_groupcfg` ADD `ifmust` TINYINT( 1 ) NOT NULL COMMENT '升级此用户组需要的必填字段'; ALTER TABLE `qb_groupcfg` ADD `forbid_edit` TINYINT( 1 ) NOT NULL COMMENT '是否禁止修改'; ALTER TABLE `qb_groupcfg` ADD `nav` VARCHAR( 30 ) NOT NULL COMMENT '表单分组名',ADD `input_width` VARCHAR( 7 ) NOT NULL COMMENT '表单宽度',ADD `input_height` VARCHAR( 7 ) NOT NULL COMMENT '表单高度',ADD `match` VARCHAR( 255 ) NOT NULL COMMENT '用户输入时的正则匹配',ADD `css` VARCHAR( 30 ) NOT NULL COMMENT '自定义css的类名'; ALTER TABLE `qb_memberdata` CHANGE `bday` `bday` INT( 10 ) NOT NULL COMMENT '出生日期'; ALTER TABLE `qb_group` ADD `daytime` SMALLINT( 5 ) NOT NULL COMMENT '用户组有效期'; DROP TABLE IF EXISTS `qb_grouplog`; CREATE TABLE IF NOT EXISTS `qb_grouplog` ( `id` int(7) NOT NULL AUTO_INCREMENT, `uid` int(7) NOT NULL COMMENT '用户UID', `gid` mediumint(5) NOT NULL COMMENT '用户申请提升的用户组', `status` tinyint(1) NOT NULL COMMENT '审核状态', `create_time` int(10) NOT NULL COMMENT '申请时间', `check_time` int(10) NOT NULL COMMENT '审核时间', `refuse_reason` varchar(255) NOT NULL COMMENT '被拒绝审核的原因', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='申请升级用户组的申请表' AUTO_INCREMENT=1 ;
<reponame>slilichenko/bq-cdc-integration SELECT FORMAT_TIMESTAMP("%Y%m%d", pt) AS partition_id FROM ( SELECT pt, ROW_NUMBER() OVER (ORDER BY pt DESC) AS row_num FROM ( SELECT DISTINCT(_partitiontime) AS pt FROM cdc_demo.session_delta d, cdc_demo.session_main s WHERE d.session_id = s.session_id AND d._partitiontime IS NOT NULL)) WHERE row_num > 1 ORDER BY partition_id
<reponame>jdbahnsen/Resonance INSERT INTO [Album] (Id, Name, CollectionId, ArtistIds) VALUES (@Id, @Name, @CollectionId, @ArtistIds);
INSERT INTO `measures` (`name`,`unit`) VALUES (?,?);
-- add version columns ALTER TABLE resources ADD COLUMN version integer; ALTER TABLE resources ADD COLUMN created_by varchar(255); ALTER TABLE resources ADD COLUMN created_at timestamp with time zone; ALTER TABLE resources ADD COLUMN deleted boolean; ALTER TABLE resources ADD COLUMN latest boolean; ALTER TABLE orders ADD COLUMN version integer; ALTER TABLE orders ADD COLUMN created_by varchar(255); ALTER TABLE orders ADD COLUMN created_at timestamp with time zone; ALTER TABLE orders ADD COLUMN deleted boolean; ALTER TABLE orders ADD COLUMN latest boolean; ALTER TABLE activities ADD COLUMN version integer; ALTER TABLE activities ADD COLUMN created_by varchar(255); ALTER TABLE activities ADD COLUMN created_at timestamp with time zone; ALTER TABLE activities ADD COLUMN deleted boolean; ALTER TABLE activities ADD COLUMN latest boolean; -- set initial values for new columns UPDATE resources SET version = 0 where version IS NULL; UPDATE resources SET created_by = 'MIGRATION' where created_by IS NULL; UPDATE resources SET created_at = CURRENT_TIMESTAMP where created_at IS NULL; UPDATE resources SET deleted = false where deleted IS NULL; UPDATE resources SET latest = true where latest IS NULL; UPDATE orders SET version = 0 where version IS NULL; UPDATE orders SET created_by = 'MIGRATION' where created_by IS NULL; UPDATE orders SET created_at = CURRENT_TIMESTAMP where created_at IS NULL; UPDATE orders SET deleted = false where deleted IS NULL; UPDATE orders SET latest = true where latest IS NULL; UPDATE activities SET version = 0 where version IS NULL; UPDATE activities SET created_by = 'MIGRATION' where created_by IS NULL; UPDATE activities SET created_at = CURRENT_TIMESTAMP where created_at IS NULL; UPDATE activities SET deleted = false where deleted IS NULL; UPDATE activities SET latest = true where latest IS NULL; -- make columns not null ALTER TABLE resources ALTER COLUMN version SET NOT NULL; ALTER TABLE resources ALTER COLUMN created_by SET NOT NULL; ALTER TABLE resources ALTER COLUMN created_at SET NOT NULL; ALTER TABLE resources ALTER COLUMN latest SET NOT NULL; ALTER TABLE resources ALTER COLUMN deleted SET NOT NULL; ALTER TABLE orders ALTER COLUMN version SET NOT NULL; ALTER TABLE orders ALTER COLUMN created_by SET NOT NULL; ALTER TABLE orders ALTER COLUMN created_at SET NOT NULL; ALTER TABLE orders ALTER COLUMN latest SET NOT NULL; ALTER TABLE orders ALTER COLUMN deleted SET NOT NULL; ALTER TABLE activities ALTER COLUMN version SET NOT NULL; ALTER TABLE activities ALTER COLUMN created_by SET NOT NULL; ALTER TABLE activities ALTER COLUMN created_at SET NOT NULL; ALTER TABLE activities ALTER COLUMN latest SET NOT NULL; ALTER TABLE activities ALTER COLUMN deleted SET NOT NULL; -- change primary key to id, version ALTER TABLE resources DROP CONSTRAINT resources_pkey; ALTER TABLE orders DROP CONSTRAINT orders_pkey; ALTER TABLE activities DROP CONSTRAINT activities_pkey; ALTER TABLE resources ADD CONSTRAINT resources_pkey PRIMARY KEY (id, version); ALTER TABLE orders ADD CONSTRAINT orders_pkey PRIMARY KEY (id, version); ALTER TABLE activities ADD CONSTRAINT activities_pkey PRIMARY KEY (id, version); INSERT INTO db_version (version, app, description, created) values( '0.5.0', 'strolch', 'Added versioning to root elements', CURRENT_TIMESTAMP );
DROP TEMPORARY TABLE IF EXISTS temporary_table; DROP TEMPORARY TABLE IF EXISTS test_merge_1; DROP TEMPORARY TABLE IF EXISTS test_merge_2; CREATE TABLE test_merge_1(id UInt64) ENGINE = Log; CREATE TABLE test_merge_2(id UInt64) ENGINE = Log; CREATE TEMPORARY TABLE temporary_table AS SELECT * FROM numbers(1) WHERE number NOT IN (SELECT id FROM merge(currentDatabase(), 'test_merge_1|test_merge_2')); SELECT * FROM temporary_table; DROP TEMPORARY TABLE IF EXISTS temporary_table; DROP TEMPORARY TABLE IF EXISTS test_merge_1; DROP TEMPORARY TABLE IF EXISTS test_merge_2;
<reponame>zishuimuyu/jeewx<gh_stars>100-1000 SELECT * FROM qywx_newsitem AS qn where 1=1 <#include "QywxNewsitemDao_condition.sql">
<reponame>bradfordb-vmware/gpdb<filename>src/test/isolation2/sql/check_gxid.sql select gp_segment_id, gp_get_next_gxid() < (select gp_get_next_gxid()) from gp_dist_random('gp_id'); -- start_ignore select gp_segment_id,gp_get_next_gxid() on_seg, (select gp_get_next_gxid() on_cor) from gp_dist_random('gp_id'); -- end_ignore -- trigger master panic and wait until master down before running any new query. 1&: SELECT wait_till_master_shutsdown(); 2: SELECT gp_inject_fault('before_read_command', 'panic', 1); 2: SELECT 1; 1<: -- wait until master is up for querying. 3: SELECT 1; 3: select gp_segment_id, gp_get_next_gxid() < (select gp_get_next_gxid()) from gp_dist_random('gp_id'); -- start_ignore 3: select gp_segment_id,gp_get_next_gxid() on_seg, (select gp_get_next_gxid() on_cor) from gp_dist_random('gp_id'); -- end_ignore
<filename>flaskapp/db/schema.sql DROP TABLE IF EXISTS pdf; CREATE TABLE pdf ( id INTEGER PRIMARY KEY AUTOINCREMENT, file_uri TEXT UNIQUE NOT NULL, metadata TEXT DEFAULT '', content TEXT DEFAULT '' );
<reponame>davecramer/pljvm<gh_stars>1-10 CREATE EXTENSION pljvm; CREATE TYPE test_type AS ( a boolean, b smallint, c integer, d bigint, e real, f double precision, g numeric, h character varying ); CREATE OR REPLACE FUNCTION pljvm_log100(d float8) RETURNS float8 AS $$ org.postgresql.plj.test.Math.log10 $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_bool(b bool) RETURNS bool AS $$ org.postgresql.plj.test.Bool.valueOf $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_add(i int2, j int2) RETURNS int2 AS $$ org.postgresql.plj.test.Int.add $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_add(i int4, j int4) RETURNS int4 AS $$ org.postgresql.plj.test.Int.add $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_add(i int8, j int8) RETURNS int8 AS $$ org.postgresql.plj.test.Int.add $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_add(f float4, g float4) RETURNS float4 AS $$ org.postgresql.plj.test.Math.add $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_add(f float8, g float8) RETURNS float8 AS $$ org.postgresql.plj.test.Math.add $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_numeric(n1 numeric, n2 numeric) RETURNS numeric AS $$ org.postgresql.plj.test.Math.add $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_timestamp(t timestamp) RETURNS timestamp AS $$ org.postgresql.plj.test.Timestamp.valueOf $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_timestamptz(t timestamptz) RETURNS timestamptz AS $$ org.postgresql.plj.test.Timestamp.valueOf $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_text(arg1 varchar, arg2 varchar) RETURNS varchar AS $$ org.postgresql.plj.test.Text.concat $$ LANGUAGE pljvm; CREATE OR REPLACE FUNCTION pljvm_add_arr(arg1 int4[], int4) returns int4[] as $$ org.postgresql.plj.test.Int.add $$ language 'pljvm'; CREATE OR REPLACE FUNCTION pljvm_add_arr(arg1 int2[], int2) returns int2[] as $$ org.postgresql.plj.test.Int.add $$ language 'pljvm'; CREATE OR REPLACE FUNCTION pljvm_add_arr(arg1 int8[], int4) returns int8[] as $$ org.postgresql.plj.test.Int.add $$ language 'pljvm'; CREATE OR REPLACE FUNCTION pljvm_bool_arr_xor(arg1 boolean[], x boolean) returns boolean[] as $$ org.postgresql.plj.test.Bool.xor $$ language 'pljvm'; CREATE OR REPLACE FUNCTION pljvm_exception() returns void as $$ org.postgresql.plj.test.Error.nullPointer $$ language 'pljvm'; CREATE OR REPLACE FUNCTION pljvm_log(msg text) returns void as $$ org.postgresql.plj.test.Log.log $$ language 'pljvm'; CREATE OR REPLACE FUNCTION pljvm_test_type( udt test_type) returns test_type as $$ org.postgresql.plj.test.TestType.echo $$ language 'pljvm'; select pljvm_log100(100); select pljvm_bool(true); select pljvm_add(1::int2,2::int2); select pljvm_add(3,4); select pljvm_add(5::int8,6::int8); select pljvm_add(1.2::float4,3.4::float4); select pljvm_add(5.6::float8,7.8::float8); select pljvm_timestamp('2017-11-24 07:23:20.222432'); select pljvm_timestamptz('2017-11-24 07:23:48.597243-08'); select pljvm_text('hello ', 'world'); select pljvm_add_arr('{1,2,3}'::int2[], 1::int2); select pljvm_add_arr('{3,4,5}'::int4[], 1); select pljvm_add_arr('{6,7,8}'::int8[], 1); select pljvm_bool_arr_xor('{1,0,0,1}'::boolean[],true); select pljvm_log('hello');
<gh_stars>0 CREATE TABLE: pessoas { }
CREATE TABLE [dbo].[device_exposure] ( [device_exposure_id] INT NOT NULL, [person_id] INT NOT NULL, [device_concept_id] INT NOT NULL, [device_exposure_start_date] DATE NOT NULL, [device_exposure_start_datetime] DATETIME2 (7) NULL, [device_exposure_end_date] DATE NULL, [device_exposure_end_datetime] DATETIME2 (7) NULL, [device_type_concept_id] INT NOT NULL, [unique_device_id] VARCHAR (500) NULL, -- OMOP Expansion for synthea data [quantity] INT NULL, [provider_id] INT NULL, [visit_occurrence_id] INT NULL, [visit_detail_id] INT NULL, [device_source_value] VARCHAR (100) NULL, [device_source_concept_id] INT NULL );
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 20, 2020 at 05:02 AM -- Server version: 10.1.38-MariaDB -- PHP Version: 7.3.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `pingifinit_blog` -- -- -------------------------------------------------------- -- -- Table structure for table `ads` -- CREATE TABLE `ads` ( `id` int(11) NOT NULL, `title` varchar(100) DEFAULT NULL, `img` varchar(100) NOT NULL, `field` varchar(100) DEFAULT NULL, `location` varchar(100) DEFAULT NULL, `status` int(11) DEFAULT NULL, `user_id` varchar(100) DEFAULT NULL, `date_created` date NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `blog_cont` -- CREATE TABLE `blog_cont` ( `id` int(11) NOT NULL, `blog_id` int(11) DEFAULT NULL, `sub_img` varchar(100) DEFAULT NULL, `sub_title` varchar(100) DEFAULT NULL, `sub_cont` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `categories` -- CREATE TABLE `categories` ( `id` int(11) NOT NULL, `category_name` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `categories` -- INSERT INTO `categories` (`id`, `category_name`) VALUES (3, 'Economics'), (4, 'lifestyle'), (5, 'Politics'), (6, 'buisness'), (7, 'education'), (8, 'sports'), (9, 'News'); -- -------------------------------------------------------- -- -- Table structure for table `login` -- CREATE TABLE `login` ( `admin_id` int(11) NOT NULL, `username` varchar(100) NOT NULL, `password` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `login` -- INSERT INTO `login` (`admin_id`, `username`, `password`) VALUES (1, '<EMAIL>', '<PASSWORD>'); -- -------------------------------------------------------- -- -- Table structure for table `news` -- CREATE TABLE `news` ( `id` int(11) NOT NULL, `user_id` int(11) DEFAULT NULL, `blog_id` int(11) DEFAULT NULL, `news_heading` varchar(250) DEFAULT NULL, `category_id` int(11) DEFAULT NULL, `news_reporter` varchar(100) DEFAULT NULL, `news_preview` varchar(250) DEFAULT NULL, `news_image` varchar(100) DEFAULT NULL, `news_cont` text, `date_created` varchar(100) DEFAULT NULL, `count` int(11) DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '1' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `news` -- INSERT INTO `news` (`id`, `user_id`, `blog_id`, `news_heading`, `category_id`, `news_reporter`, `news_preview`, `news_image`, `news_cont`, `date_created`, `count`, `status`) VALUES (1, 4, 147627, 'Checking Data', 4, 'Nithin', 'This is checking about data center', '1603374338_blog_img.jpg', 'There are around 600 programming languages out there. The demand and popularity of programming languages fluctuate every year. Also, new programming languages are coming with attractive features. So, which programming language should you learn? Learning a new programming language is always an investment of your time and brainpower. If you are a seasoned developer or if you already know several programming languages, then you can learn a niche, modern one. Recently, I have written a blog post where I have short-listed seven modern programming languages worth learning:', '22-10-2020', NULL, 1), (2, 4, 733422, 'No 1 programming language of 2020', 7, 'Nithin', 'No 1 programming language on the series top 10 programming languages for 2020', '1603375722_blog_img.png', 'When <NAME> developed Python in the 1990s as his side project, nobody has thought it would be the most popular programming language one day. Considering all well-recognized rankings and industry trends, I put Python as the number one programming language overall.\r\nPython has not seen a meteoric rise in popularity like Java or C/C++. Also, Python is not a disruptive programming language. But from the very beginning, Python has focused on developer experience and tried to lower the barrier to programming so that school kids can also write production-grade code.', '22-10-2020', NULL, 1), (9, 4, 767712, 'Dubai breaks Guinness World Record for the largest fountain', 9, 'Nithin', 'Dubai the land of dreams has been keen for breaking multiple records on the field of constructions has once again broke the record of largest fountain in world', '1604237218_blog_img.jpg', 'If you have ever set eyes on the iconic fountains at the Bellagio hotel in Las Vegas, then you’d be awe-struck by this piece of news we bring to you! Believe it or not, but Dubai is soon schedule to have a set of fountains that would be 25 percent larger than the one at Bellagio Hotel! Yes, it’s true, and its makers – Emaar Properties, the real estate giant, has confirmed this news. Emaar plans to build the largest fountains in the world as the centerpiece to its Downtown Burj Dubai project.', '01-11-2020', NULL, 1), (4, 4, 166321, '2nd in top 10 programming language', 7, 'Nithin', '2nd of top 10 programming languages in the year 2020', '1603377680_blog_img.png', 'During the first browser war, Netscape had assigned <NAME> to develop a new programming language for its Browser. Brendan Eich had developed the initial prototype in only ten days, and the rest is history. Software developers often ridiculed JavaScript in its early days because of its poor language design and lack of features.\r\nOver the years, JavaScript has evolved into a multi-paradigm, high-level, dynamic programming language. The first significant breakthrough of JavaScript came in 2009 when <NAME> has released cross-platform JavaScript runtime Node.js and enabled JavaScript to run on Server Side.\r\nThe other enormous breakthrough of JavaScript came around 2010 when Google has released a JavaScript based Web development framework AngularJS.\r\nToday, JavaScript is one of the most widely used programming languages in the world and runs on virtually everywhere: Browsers, Servers, Mobile Devices, Cloud, Containers, Micro-controllers.', '22-10-2020', NULL, 1), (8, 4, 425821, 'How to Practice SQL on AWS for Free', 7, '<NAME>', 'Improve your SQL skills by practicing on a real database', '1603381465_blog_img.jpeg', 'One of the required skills of a data scientist is working on databases using SQL. You might argue that it is the job of a data engineer but the data scientist roles are inclined to being full-stack. Besides, as a data scientist, you wouldn’t want to depend on a data engineer to retrieve data from a database.\r\nThere are lots of tutorials that explain SQL syntax to do certain operations. You can even practice and test your queries on sample databases. However, it is not a very efficient way to learn.\r\nWorking on a database of your own and running SQL queries with an RDBMS (e.g. MySQL) is far more efficient in improving your skills. In this post, we will create a MySQL database on AWS and connect to it using MySQL Workbench.', '22-10-2020', NULL, 1), (10, 4, 791683, 'CSK Beats KXIP By 9 wickets', 8, 'Nithin', 'Chennai Super Kings win Kings XI Punjab by 9 wickets in which CSK Won the toss and opt to bowl', '1604238272_blog_img.jpg', 'A clinical win for CSK and the party poppers have dashed the hopes of the Kings XI. Despite Hooda\'s quickfire fifty in the latter half of the first innings, it was a good effort from the CSK bowlers to restrict the strong Punjab line-up to a below-par score. In reply, the openers took a few balls to get their eye in. Shami bowled a wayward ball down leg in the second over of the second innings and that gave the momentum for the Yellow Army in their chase. Faf and Ruturaj Gaikwad didn\'t allow any of the Punjab seamers to settle and scored 57 in the powerplay. Hooda put down a tough chance, an umpire review didn\'t go Punjab\'s way and finally in the tenth over, Jordan showed us that a KXP bowler can dismiss a CSK batter. However, that wicket came too late. The Super Kings saw off the two leggies without giving them any wickets and <NAME> showed his class. The 23-year-old was involved in two half-ton partnerships and brought up his third successive fifty. Also, he remained unbeaten to take his team over the line. CSK move to No. 7 on the points table; have they avoided the wooded spoon?', '01-11-2020', NULL, 1), (12, 4, 9156248, 'Tesla’s Cybertruck Gets Way More Orders Than Kia Seltos, MG Hector Combined', 8, 'Nithin', 'Tesla’s all-electric pick-up, the Cybertruck, has received over 2.5 lakh bookings in less than 10 days of its debut', '1604565085_blog_img.jpg', 'Inception of Tesla Motors happened twelve years ago in the Silicon Valley. Founded by a group of engineers in 2003, Tesla is currently employing more than 12000 employees and operates a revenue of 3 billion US dollars annually. Initial roots for the company was laid by <NAME> and <NAME>, who incorporated the firm in July 2003 and financed it until the Series A round of funding. <NAME> is the third member who led the Series A round of funding in February 2004. Soon after this, he joined the company\'s board of directors as the chairman. The company is named after <NAME>, a physicist and an electrical engineer who pioneered AC induction Motor technology more than a century ago. With an aim to commercialize electric vehicles, Tesla motors started off its journey with a sports car and moved into the mainstream segment with a sedan and a crossover model. The company\'s engineers have developed the first fully electric sports car using the same AC induction motor technology, which was patented in 1888 by <NAME>. In the year 2008, the Tesla Roadster was launched, whose pickup rate from 0 to 100 Kmph was clocked in just 3.8 seconds. The company has sold more than 2400 units of Roadsters in more than 30 countries across the globe. Its first ever luxury sedan was the Tesla Model S, which was launched in 2012. Earlier this year, it presented a full size crossover Model X, whose design is based on the Model S sedan. Currently it is working on Model 3, which is slated to go into mass-production by 2020.', '05-11-2020', NULL, 1), (13, 4, 5589113, NULL, NULL, NULL, NULL, '1605796821_blog_img.jpg', NULL, '19-11-2020', NULL, 1), (14, 4, 7869206, NULL, NULL, NULL, NULL, '1605796828_blog_img.jpg', NULL, '19-11-2020', NULL, 1), (15, 4, 2648828, 'America presidential Election ', 5, 'Nithin', 'Democrates vs Republic', '1605796829_blog_img.jpg', 'US Election News Live 2020: In his final weeks, Trump is breaking precedent at every turn\r\nWith the end of his term drawing to a close, President Trump seems to be operating with a vengeance, now setting the execution of three inmates on death row before he leaves office.', '19-11-2020', NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `notification` -- CREATE TABLE `notification` ( `id` int(11) NOT NULL, `plan` varchar(100) DEFAULT NULL, `notification` varchar(100) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `notification` -- INSERT INTO `notification` (`id`, `plan`, `notification`, `status`) VALUES (6, 'Free', 'hello', 1); -- -------------------------------------------------------- -- -- Table structure for table `plan` -- CREATE TABLE `plan` ( `id` int(11) NOT NULL, `plan` varchar(100) DEFAULT NULL, `amount` int(11) DEFAULT NULL, `discount` int(11) DEFAULT NULL, `final_price` int(11) DEFAULT NULL, `valid_month` varchar(100) DEFAULT NULL, `status` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `plan` -- INSERT INTO `plan` (`id`, `plan`, `amount`, `discount`, `final_price`, `valid_month`, `status`) VALUES (2, 'behalf', 24000, 3, 1128, '2 month', 1); -- -------------------------------------------------------- -- -- Table structure for table `privacy` -- CREATE TABLE `privacy` ( `id` int(11) NOT NULL, `privacy` text ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `privacy` -- INSERT INTO `privacy` (`id`, `privacy`) VALUES (1, '<p>privacy</p>\r\n'); -- -------------------------------------------------------- -- -- Table structure for table `smtp` -- CREATE TABLE `smtp` ( `id` int(11) NOT NULL, `status` int(11) NOT NULL, `port` varchar(100) NOT NULL, `host` varchar(100) NOT NULL, `user` varchar(100) NOT NULL, `pass` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `smtp` -- INSERT INTO `smtp` (`id`, `status`, `port`, `host`, `user`, `pass`) VALUES (1, 1, 'port', 'smtp_host', 'user', 'password'); -- -------------------------------------------------------- -- -- Table structure for table `subscribe` -- CREATE TABLE `subscribe` ( `id` int(11) NOT NULL, `email` varchar(100) DEFAULT NULL, `date` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `subscribe` -- INSERT INTO `subscribe` (`id`, `email`, `date`) VALUES (4, '<EMAIL>', '08-10-2020'), (5, '<EMAIL>', '09-10-2020'), (6, '<EMAIL>', '22-10-2020'), (7, '<EMAIL>', '01-11-2020'), (8, 'nithin', '02-11-2020'), (9, '<EMAIL>', '02-11-2020'), (10, '<EMAIL>', '02-11-2020'), (11, '<EMAIL>', '02-11-2020'), (12, '<EMAIL>', '02-11-2020'), (13, '<EMAIL>', '02-11-2020'), (14, '<EMAIL>', '02-11-2020'), (15, '<EMAIL>', '02-11-2020'), (16, '<EMAIL>', '02-11-2020'), (17, '<EMAIL>', '02-11-2020'), (18, '<EMAIL>', '02-11-2020'), (19, '<EMAIL>', '02-11-2020'), (20, '<EMAIL>', '02-11-2020'), (21, '<EMAIL>', '05-11-2020'), (22, '<EMAIL>', '19-11-2020'), (23, '<EMAIL>', '19-11-2020'); -- -------------------------------------------------------- -- -- Table structure for table `sub_categories` -- CREATE TABLE `sub_categories` ( `id` int(11) NOT NULL, `sub_category_name` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `sub_categories` -- INSERT INTO `sub_categories` (`id`, `sub_category_name`) VALUES (2, 'phone'), (3, 'laptop'); -- -------------------------------------------------------- -- -- Table structure for table `sub_cont_blog` -- CREATE TABLE `sub_cont_blog` ( `id` int(11) NOT NULL, `blog_id` varchar(100) DEFAULT NULL, `sub_heading` text, `sub_cont` text, `sub_img` varchar(100) DEFAULT NULL, `date` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `sub_cont_blog` -- INSERT INTO `sub_cont_blog` (`id`, `blog_id`, `sub_heading`, `sub_cont`, `sub_img`, `date`) VALUES (1, '147627', NULL, NULL, '1603374362_blog_sub_img.jpg', '22-10-2020'), (2, '147627', 'Checking sub heading', 'this is sub heading', '', '22-10-2020'), (3, '733422', 'Popularity:', 'In the last several years, Python has seen enormous growth in demand with no sign of slowing down. The programming language ranking site PYPL has ranked Python as the number one programming language with a considerable popularity gain in 2019:', '1603375796_blog_sub_img.jpeg', '22-10-2020'), (4, '733422', NULL, NULL, '1603375802_blog_sub_img.jpeg', '22-10-2020'), (5, '166321', 'Job Market:', 'In the USA Job market, Indeed has ranked JavaScript as the third most demanding programming language with 57 K Job posting in January 2020. With $114 K average yearly salary, JavaScript ranks 4th in terms of salary:\r\nAlso, StackOverflow developer survey has shown that JavaScript developers can earn a modest salary with relatively low experience:', '', '22-10-2020'), (6, '425821', '1. Create a MySQL database using Amazon RDS', 'We will use Amazon RDS (Relational Database Service) which can be accessed by typing RDS on the console.Scroll down a little and click on the “Create database” box.', '1603381578_blog_sub_img.png', '22-10-2020'), (7, '425821', '2. Connect to the database using MySQL Workbench', 'Select the appropriate version for your computer, download it, and then install it.\r\nOn the MySQL Workbench console, click on “connect to a database” under the “database” section on top.', '', '22-10-2020'), (8, '767712', NULL, NULL, '1604237259_blog_sub_img.jpg', '01-11-2020'), (9, '767712', '', 'Sources reveal that the fountains, which have yet to be named, will be capable of shooting water over 150 meters into the air – the height of a 50-storey building, and stretch over 275 meters – the length of two football fields! In addition, like the Fountains of Bellagio, the Emaar fountains will include an integral light and sound show. With such glamor attached to the creation of these new fountains, Dubai is expecting major tourists visits, which have been approximated to over 10 million visitors per year.', '', '01-11-2020'), (10, '9156248', 'A week ago, Tesla unveiled the Cybertruck, its first-ever all-electric utility pick-up. Since then, the entire world has been going crazy over the design and versatility of this unearthly truck.', NULL, '1604565122_blog_sub_img.jpg', '05-11-2020'), (11, '9156248', '', 'After receiving over 2 lakh pre-orders within a week, it has now crossed the 2.5 lakh mark. Tesla opened bookings at $100 (Rs 7,000 approx) for the all-electric utility truck. The pre-configured variants of the Cybertruck are priced from $40,000 to $70,000 (approx. Rs 28 lakh and Rs 50 lakh). ', '', '05-11-2020'), (12, '9156248', NULL, NULL, '1604565151_blog_sub_img.jpg', '05-11-2020'), (13, '9156248', '', 'If you compare its orders with two of the most popular SUVs in India, the Kia Seltos and MG Hector, the Cybertruck has received way more bookings than both SUVs combined. The Kia and MG SUVs bookings are less than a lakh till date. While we know that this is a bizarre comparison given how the Tesla is a more premium and fully-electric offering compared to the Kia and MG, it is astonishing to note that reservations for the electric truck only started a week ago. ', '', '05-11-2020'), (14, '9156248', '', 'Tesla will be offering the Cybertruck with three powertrain options: single-motor RWD, dual-motor AWD and tri-motor AWD. The entry-spec model has a claimed range of over 400km whereas the top-spec model can go over 800km on a single charge. In terms of features, Tesla will be offering the Cybertruck with air suspension, Tesla Autopilot semi-autonomous driver assistance, and a 17-inch touchscreen display as standard.', '', '05-11-2020'), (15, '9156248', '', 'The all-electric truck is expected to hit the production line in late 2021 while the top-spec Tri-motor variant will enter production in 2022. Even though Tesla is expected to come to India by the time the Cybertruck enters production, we don’t expect it to be a part of the carmaker’s initial lineup for our market.', '', '05-11-2020'), (16, '9156248', '', 'The all-electric truck is expected to hit the production line in late 2021 while the top-spec Tri-motor variant will enter production in 2022. Even though Tesla is expected to come to India by the time the Cybertruck enters production, we don’t expect it to be a part of the carmaker’s initial lineup for our market.', '', '05-11-2020'), (17, '2648828', NULL, NULL, '', '19-11-2020'), (18, '2648828', 'BHIBJINJN', 'NKJNKMLKFDJSNGJLKDFSJGISFDLKGLKSNKJDGNKJDFSMLKFMDS,L', '', '19-11-2020'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `user_id` varchar(100) DEFAULT NULL, `fname` varchar(100) NOT NULL, `lname` varchar(100) DEFAULT NULL, `email` varchar(100) NOT NULL, `contact` bigint(11) DEFAULT NULL, `password` varchar(100) NOT NULL, `img` varchar(100) DEFAULT NULL, `status` int(11) DEFAULT NULL, `posts` int(11) DEFAULT NULL, `visits` int(11) DEFAULT NULL, `block` int(11) DEFAULT NULL, `date_created` varchar(100) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `user_id`, `fname`, `lname`, `email`, `contact`, `password`, `img`, `status`, `posts`, `visits`, `block`, `date_created`) VALUES (4, NULL, 'Nithin', '<PASSWORD>', '<EMAIL>', 8838825568, '<PASSWORD>', '1602312869_user.jpg', 1, NULL, NULL, NULL, '2020-08-08'), (5, NULL, 'Nithin', 'Furie', '<EMAIL>', 8989898989, '2<PASSWORD>ad305ef11efa2aa8cccbeafaa', NULL, 1, NULL, NULL, NULL, '2020-08-08'), (6, NULL, 'ammu', 'ammu', '<EMAIL>', 9443740424, 'f2bb5edfd595b13fa3330ce048858b5332ed05b3', NULL, 1, NULL, NULL, NULL, '2020-08-10'), (7, NULL, 'vargina', 'rani', '<EMAIL>', 9443740424, '40bd001563085fc35165329ea1ff5c5ecbdbbeef', NULL, 1, NULL, NULL, NULL, '2020-08-13'); -- -- Indexes for dumped tables -- -- -- Indexes for table `ads` -- ALTER TABLE `ads` ADD PRIMARY KEY (`id`); -- -- Indexes for table `blog_cont` -- ALTER TABLE `blog_cont` ADD PRIMARY KEY (`id`); -- -- Indexes for table `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `login` -- ALTER TABLE `login` ADD PRIMARY KEY (`admin_id`); -- -- Indexes for table `news` -- ALTER TABLE `news` ADD PRIMARY KEY (`id`); -- -- Indexes for table `notification` -- ALTER TABLE `notification` ADD PRIMARY KEY (`id`); -- -- Indexes for table `plan` -- ALTER TABLE `plan` ADD PRIMARY KEY (`id`); -- -- Indexes for table `privacy` -- ALTER TABLE `privacy` ADD PRIMARY KEY (`id`); -- -- Indexes for table `smtp` -- ALTER TABLE `smtp` ADD PRIMARY KEY (`id`); -- -- Indexes for table `subscribe` -- ALTER TABLE `subscribe` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sub_categories` -- ALTER TABLE `sub_categories` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sub_cont_blog` -- ALTER TABLE `sub_cont_blog` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `ads` -- ALTER TABLE `ads` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `blog_cont` -- ALTER TABLE `blog_cont` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `categories` -- ALTER TABLE `categories` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `login` -- ALTER TABLE `login` MODIFY `admin_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `news` -- ALTER TABLE `news` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `notification` -- ALTER TABLE `notification` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `subscribe` -- ALTER TABLE `subscribe` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24; -- -- AUTO_INCREMENT for table `sub_cont_blog` -- ALTER TABLE `sub_cont_blog` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; 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 PROCEDURE [dbo].[app_MGOnlineBook_GetByMGID] @MGID INT AS SELECT * FROM [MGOnlineBook] WHERE MGID = @MGID
-- MySQL dump 10.13 Distrib 5.7.20, for Linux (x86_64) -- -- Host: 127.0.0.1 Database: clinic -- ------------------------------------------------------ -- Server version 5.7.22-0ubuntu0.17.10.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `days` -- DROP TABLE IF EXISTS `days`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `days` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `days` -- LOCK TABLES `days` WRITE; /*!40000 ALTER TABLE `days` DISABLE KEYS */; INSERT INTO `days` VALUES (1,'Saturday'),(2,'Sunday'),(3,'Monday'),(4,'Tuesday'),(5,'Wednesday'),(6,'Thursday'),(7,'Friday'); /*!40000 ALTER TABLE `days` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `doctors` -- DROP TABLE IF EXISTS `doctors`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `doctors` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `full_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `gender` int(10) unsigned NOT NULL, `profile_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `speciality` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `doctors` -- LOCK TABLES `doctors` WRITE; /*!40000 ALTER TABLE `doctors` DISABLE KEYS */; INSERT INTO `doctors` VALUES (1,'miaababikir','<NAME>','$2y$10$MpIGQE1xGZhQ/orZprVtwuisCyh8t/rNVBrjkYJ.su.nmhArlanVG',1,'images/Ir3Up2RJOGxDqqTItTETT8FCWfHdwzsrmRUezX0f.jpeg','Dentist','\"Far far away, behind the word mountains, far from the countries Vokalia and\n Consonantia, there live the blind texts.','2018-04-15 20:00:43','2018-04-15 20:00:43','X9hGfkwmk9loBZuZhTMKC0SnnKKPXSHQXweKsn3pNFP25hAUX8Frr4m0IqMR'),(2,'omir','<NAME>','$2y$10$FeE4s97.o7matx6t8vDJ5OrlvCA/yN.ZlccmHXiIMhp4rhf5HYkfa',1,'images/lwcdcleo4uKHe5CeuWwkt4jsByXGDDRc42iiAwq3.jpeg','Dentist','\"Far far away, behind the word mountains, far from the countries Vokalia and\n Consonantia, there live the blind texts.','2018-04-15 20:02:31','2018-04-15 20:02:31',NULL),(3,'omir','<NAME>','$2y$10$9gF9NkR7VO7ws6s.HA1l8uDo4T0Bjoexq.HvLXoa2dQ807fWPaXPO',1,'images/ImPBcQyUy5jVBsBunfmq9fw5cn3K96UynJuquqI0.jpeg','Dentist','\"Far far away, behind the word mountains, far from the countries Vokalia and\n Consonantia, there live the blind texts.','2018-04-16 03:54:27','2018-04-16 03:54:27',NULL); /*!40000 ALTER TABLE `doctors` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `doctors_days` -- DROP TABLE IF EXISTS `doctors_days`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `doctors_days` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `day_id` int(10) unsigned NOT NULL, `doctor_id` int(10) unsigned NOT NULL, `seats` int(11) NOT NULL, `available_seats` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `doctors_days_day_id_foreign` (`day_id`), KEY `doctors_days_doctor_id_foreign` (`doctor_id`), CONSTRAINT `doctors_days_day_id_foreign` FOREIGN KEY (`day_id`) REFERENCES `days` (`id`), CONSTRAINT `doctors_days_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `doctors` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `doctors_days` -- LOCK TABLES `doctors_days` WRITE; /*!40000 ALTER TABLE `doctors_days` DISABLE KEYS */; INSERT INTO `doctors_days` VALUES (1,1,1,5,5),(2,2,1,3,2); /*!40000 ALTER TABLE `doctors_days` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `events` -- DROP TABLE IF EXISTS `events`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `events` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `start` date NOT NULL, `end_date` date NOT NULL, `doctor_id` int(10) unsigned NOT NULL, `patient_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `events_doctor_id_foreign` (`doctor_id`), KEY `events_patient_id_foreign` (`patient_id`), CONSTRAINT `events_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `doctors` (`id`), CONSTRAINT `events_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `patients` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `events` -- LOCK TABLES `events` WRITE; /*!40000 ALTER TABLE `events` DISABLE KEYS */; INSERT INTO `events` VALUES (1,'<NAME>','2018-05-07','2018-05-07',1,1,'2018-04-22 07:58:36','2018-04-22 07:58:36','5adc5ccc9dffd'),(2,'<NAME>','2018-05-14','2018-05-14',1,2,'2018-04-22 08:00:19','2018-04-22 08:00:19','5adc5d339f323'),(3,'<NAME>','2018-04-30','2018-04-30',1,3,'2018-04-22 08:03:30','2018-04-22 08:03:30','5adc5df25e60e'),(4,'<NAME>','2018-04-30','2018-04-30',1,4,'2018-04-22 09:34:49','2018-04-22 09:34:49','5adc73597f273'),(5,'<NAME>','2018-04-08','2018-04-08',1,5,'2018-04-22 11:26:32','2018-04-22 11:26:32','5adc8d884d87c'),(6,'<NAME>','2018-04-22','2018-04-22',1,6,'2018-04-22 16:22:59','2018-04-22 16:22:59','5adcd3034ee25'),(7,'<NAME>','2018-04-01','2018-04-01',1,10,'2018-04-22 17:47:18','2018-04-22 17:47:18','5adce6c6a54d1'),(8,'<NAME>','2018-04-07','2018-04-07',1,11,'2018-04-22 17:48:50','2018-04-22 17:48:50','5adce7227a34d'),(9,'عمير جبريل','2018-04-21','2018-04-21',1,12,'2018-04-30 03:54:09','2018-04-30 03:54:09','5ae6af81c3074'),(10,'<NAME>','2018-04-01','2018-04-01',1,13,'2018-04-30 03:59:00','2018-04-30 03:59:00','5ae6b0a492e0b'); /*!40000 ALTER TABLE `events` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `migrations` -- DROP TABLE IF EXISTS `migrations`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `migrations` -- LOCK TABLES `migrations` WRITE; /*!40000 ALTER TABLE `migrations` DISABLE KEYS */; INSERT INTO `migrations` VALUES (8,'2014_10_12_000000_create_users_table',1),(9,'2014_10_12_100000_create_password_resets_table',1),(10,'2018_04_15_200447_create_doctors_table',1),(11,'2018_04_15_200611_create_patients_table',1),(12,'2018_04_15_202126_create_days_table',1),(13,'2018_04_15_202218_create_events_table',1),(14,'2018_04_15_203931_create_doctors_days_table',1),(15,'2018_04_21_152244_add_token_feild_to_event_table',2),(16,'2018_04_22_065404_add_seats_feild_to_doctor_days_table',3),(17,'2018_04_22_120449_create_seats_table',4),(18,'2018_04_22_181824_add_remmeber_token_to_doctor_table',5); /*!40000 ALTER TABLE `migrations` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `password_resets` -- DROP TABLE IF EXISTS `password_resets`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, KEY `password_resets_email_index` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `password_resets` -- LOCK TABLES `password_resets` WRITE; /*!40000 ALTER TABLE `password_resets` DISABLE KEYS */; /*!40000 ALTER TABLE `password_resets` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `patients` -- DROP TABLE IF EXISTS `patients`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `patients` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `gender` int(10) unsigned NOT NULL, `phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `patients` -- LOCK TABLES `patients` WRITE; /*!40000 ALTER TABLE `patients` DISABLE KEYS */; INSERT INTO `patients` VALUES (1,'<NAME>',1,'+123456789','<EMAIL>','Lorem ipsom','2018-04-22 07:58:36','2018-04-22 07:58:36'),(2,'عمير جبريل',1,'+123456789','<EMAIL>','lorem','2018-04-22 08:00:19','2018-04-22 08:00:19'),(3,'عمير جبريل',1,'+123456789','<EMAIL>','lorem','2018-04-22 08:03:30','2018-04-22 08:03:30'),(4,'عمير جبريل',1,'+123456789','<EMAIL>','lorem','2018-04-22 09:34:49','2018-04-22 09:34:49'),(5,'عمير جبريل',1,'+123456789','<EMAIL>','lorem','2018-04-22 11:26:32','2018-04-22 11:26:32'),(6,'عمير جبريل',0,'+123456789','<EMAIL>','lorem','2018-04-22 16:22:59','2018-04-22 16:22:59'),(7,'<NAME>',1,'+123456789','<EMAIL>','lorem','2018-04-22 17:44:04','2018-04-22 17:44:04'),(8,'<NAME>',1,'+123456789','<EMAIL>','lorem','2018-04-22 17:44:30','2018-04-22 17:44:30'),(9,'Mos<NAME>',1,'+123456789','<EMAIL>','lorem','2018-04-22 17:44:51','2018-04-22 17:44:51'),(10,'Mosab Ibrahim',1,'+123456789','<EMAIL>','lorem','2018-04-22 17:47:18','2018-04-22 17:47:18'),(11,'<NAME>',1,'+5963676367452','<EMAIL>','Lorem','2018-04-22 17:48:50','2018-04-22 17:48:50'),(12,'عمير جبريل',1,'+5963676367452','<EMAIL>','Lorem klfnf','2018-04-30 03:54:09','2018-04-30 03:54:09'),(13,'<NAME>',1,'09999','<EMAIL>','general check','2018-04-30 03:59:00','2018-04-30 03:59:00'); /*!40000 ALTER TABLE `patients` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `seats` -- DROP TABLE IF EXISTS `seats`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `seats` ( `doctor_id` int(10) unsigned NOT NULL, `date` date NOT NULL, `available_seats` int(11) NOT NULL, KEY `seats_doctor_id_foreign` (`doctor_id`), CONSTRAINT `seats_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `doctors` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `seats` -- LOCK TABLES `seats` WRITE; /*!40000 ALTER TABLE `seats` DISABLE KEYS */; INSERT INTO `seats` VALUES (1,'2018-04-30',5); /*!40000 ALTER TABLE `seats` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `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, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `users` -- LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2018-05-07 9:51:04
CREATE DATABASE IF NOT EXISTS node; USE node; CREATE TABLE IF NOT EXISTS Utilisateur ( IdUser int NOT NULL AUTO_INCREMENT, Username VARCHAR(100), Password VARCHAR(100), Email VARCHAR(100), PRIMARY KEY (IdUser) ) ENGINE=INNODB; INSERT INTO node.Utilisateur (Username, Password, Email) VALUES ('anthony','anthony','<EMAIL>'); INSERT INTO node.Utilisateur (Username, Password, Email) VALUES ('elliezar','elliezar','<EMAIL>'); INSERT INTO node.Utilisateur (Username, Password, Email) VALUES ('qixin','qixin','<EMAIL>');
<gh_stars>0 CREATE DATABASE SoftUni GO USE SoftUni CREATE TABLE Towns( Id INT PRIMARY KEY IDENTITY, Name NVARCHAR(50) NOT NULL ) CREATE TABLE Addresses( Id INT PRIMARY KEY IDENTITY, AddressText NVARCHAR(50) NOT NULL, TownId INT NOT NULL FOREIGN KEY REFERENCES Towns(Id) ) CREATE TABLE Departments( Id INT PRIMARY KEY IDENTITY, Name NVARCHAR(50) ) CREATE TABLE Employees( Id INT PRIMARY KEY IDENTITY, FirstName NVARCHAR(50) NOT NULL, MiddleName NVARCHAR(50) NOT NULL, LastName NVARCHAR(50) NOT NULL, JobTitle NVARCHAR(50) NOT NULL, DepartmentId INT NOT NULL FOREIGN KEY REFERENCES Departments(Id), HireDate DATE DEFAULT GETDATE(), Salary DECIMAL(15,2) CHECK (Salary < 460), AddressId INT NOT NULL FOREIGN KEY REFERENCES Addresses(Id) )
/* * --------------------------------------------------------------------------------------------- * * Copyright (c) IJSE-exams. All rights reserved. * * Licensed under the MIT License. See License.txt in the project root for license information. * *-------------------------------------------------------------------------------------------- */ DROP DATABASE IF EXISTS ijse_exams; CREATE DATABASE IF NOT EXISTS ijse_exams; USE ijse_exams; CREATE TABLE customer ( CustomerID int PRIMARY KEY AUTO_INCREMENT, CusName VARCHAR(200) NOT NULL, CusAddress VARCHAR(200) NOT NULL, TelephoneNumber VARCHAR(17) NOT NULL, Email VARCHAR(320) ); CREATE TABLE item ( itemID int PRIMARY KEY AUTO_INCREMENT, ItemName VARCHAR(200) NOT NULL, ItemQty VARCHAR(200) NOT NULL, Price VARCHAR(200) NOT NULL ); insert into customer(CusName, CusAddress, TelephoneNumber, Email) VALUES ("thilina", "thuduwawa", "56846546844", "<EMAIL>"); insert into item(ItemName, ItemQty, Price) VALUES ("parippu", "50", "5000"); select * from customer;
<reponame>dfhawthorne/sql-ocm12c REM ============================================================ REM Display the database status in the data guard configuration. REM ============================================================ SET LINESIZE 180 SET PAGESIZE 40 SET HEADING ON SELECT name, db_unique_name, open_mode, protection_mode, protection_level, database_role, primary_db_unique_name FROM v$database;
INSERT INTO eg_appconfig (id,key_name,description,version,createdby,lastmodifiedby,createddate,lastmodifieddate,module) values (nextval('SEQ_EG_APPCONFIG'),'REASSIGN_BUTTONENABLED','Key to enable/disable reassign button for mrs', 0, (select id from eg_user where username='egovernments'),(select id from eg_user where username='egovernments'),now(),now(),(select id from eg_module where name='Marriage Registration')); INSERT INTO eg_appconfig_values (id, key_id, effective_from, createdby,lastmodifiedby,createddate,lastmodifieddate,value, version) values (nextval('SEQ_EG_APPCONFIG_VALUES'), (select id from eg_appconfig where key_name = 'REASSIGN_BUTTONENABLED' and module = (select id from eg_module where name = 'Marriage Registration')),now(), (select id from eg_user where username='egovernments'),(select id from eg_user where username='egovernments'),now(),now(), 'YES', 0); INSERT INTO eg_action (id, name, url, queryparams, parentmodule, ordernumber, displayname, enabled, contextroot, "version", createdby, createddate, lastmodifiedby, lastmodifieddate, application) VALUES (nextval('seq_eg_action'),'ReassignMarriageRegistration','/reassignmrs', NULL, (SELECT id FROM eg_module WHERE name = 'MR-Transactions'), (select max(ordernumber)+1 from eg_module WHERE name ='Marriage Registration'), 'Reassign For Marriage Registration', false, 'mrs', 0, 1, now(), 1, now(), (select id from eg_module where name='Marriage Registration')); INSERT INTO EG_ROLEACTION (roleid, actionid) VALUES ((SELECT id FROM eg_role WHERE name = 'Marriage Registration Approver'), (select id from eg_action where name='ReassignMarriageRegistration')); update eg_action set displayname ='ReIssue Marriage Certificate' where url='/registration/reissuecertificate' and application=(select id from eg_module where name='Marriage Registration');
<filename>src/main/resources/db/mysql56/migration/V2.09__DROP_levels.sql<gh_stars>1-10 DROP TABLE `levels`;
<reponame>jerelynlee/census -- P29. HOUSEHOLD TYPE BY RELATIONSHIP -- designed to work with the IRE Census bulk data exports -- see http://census.ire.org/data/bulkdata.html CREATE TABLE ire_p29 ( geoid VARCHAR(11) NOT NULL, sumlev VARCHAR(3) NOT NULL, state VARCHAR(2) NOT NULL, county VARCHAR(3), cbsa VARCHAR(5), csa VARCHAR(3), necta VARCHAR(5), cnecta VARCHAR(3), name VARCHAR(90) NOT NULL, pop100 INTEGER NOT NULL, hu100 INTEGER NOT NULL, pop100_2000 INTEGER, hu100_2000 INTEGER, p029001 INTEGER, p029001_2000 INTEGER, p029002 INTEGER, p029002_2000 INTEGER, p029003 INTEGER, p029003_2000 INTEGER, p029004 INTEGER, p029004_2000 INTEGER, p029005 INTEGER, p029005_2000 INTEGER, p029006 INTEGER, p029006_2000 INTEGER, p029007 INTEGER, p029007_2000 INTEGER, p029008 INTEGER, p029008_2000 INTEGER, p029009 INTEGER, p029009_2000 INTEGER, p029010 INTEGER, p029010_2000 INTEGER, p029011 INTEGER, p029011_2000 INTEGER, p029012 INTEGER, p029012_2000 INTEGER, p029013 INTEGER, p029013_2000 INTEGER, p029014 INTEGER, p029014_2000 INTEGER, p029015 INTEGER, p029015_2000 INTEGER, p029016 INTEGER, p029016_2000 INTEGER, p029017 INTEGER, p029017_2000 INTEGER, p029018 INTEGER, p029018_2000 INTEGER, p029019 INTEGER, p029019_2000 INTEGER, p029020 INTEGER, p029020_2000 INTEGER, p029021 INTEGER, p029021_2000 INTEGER, p029022 INTEGER, p029022_2000 INTEGER, p029023 INTEGER, p029023_2000 INTEGER, p029024 INTEGER, p029024_2000 INTEGER, p029025 INTEGER, p029025_2000 INTEGER, p029026 INTEGER, p029026_2000 INTEGER, p029027 INTEGER, p029027_2000 INTEGER, p029028 INTEGER, p029028_2000 INTEGER, PRIMARY KEY (geoid) );
<filename>db_archive/sql_archive/465__dw_create_procedure_p_lataa_f_yo_talous.sql<gh_stars>1-10 if not exists (select * from sys.objects where object_id = object_id('dw.p_lataa_f_yo_talous') and type in ('p', 'pc')) begin exec dbo.sp_executesql @statement = N'create procedure dw.p_lataa_f_yo_talous as' end
<reponame>Andrei15193/Laboratoare-Facultate<filename>Semestrul4/GTBDD/L2/Trigger4.sql<gh_stars>1-10 if exists(select name from sys.objects where type = 'TR' and name = 'Trigger4') drop trigger Trigger4 go create trigger Trigger4 on DetaliiProduse after insert, update, delete as begin if exists(select codP from inserted) if exists(select codP from deleted) and (select COUNT(*) from inserted inner join deleted on inserted.codP = deleted.codP and inserted.caracteristica = deleted.caracteristica) < (select COUNT(*) from deleted) begin rollback raiserror('Nu se pot modifica valorile codP sau caracteristica!', 18, 1) end else if (select COUNT(*) from DetaliiProduse) > (select COUNT(*) from (select distinct codP, caracteristica from DetaliiProduse) as detaliiUnice) begin rollback raiserror('Nu se poate ca un produs sa aiba aceasi caracteristica inregistrata de mai multe ori!', 18, 1) end update DetaliiProduse set DetaliiProduse.numar = DetaliiProduseNormalizate.numar from(select DetaliiProduse.codP, DetaliiProduse.caracteristica, DetaliiProduse.valoare, ROW_NUMBER() over (partition by DetaliiProduse.codP order by DetaliiProduse.codP) as numar from DetaliiProduse inner join ( select distinct DetaliiModificate.codP from( select distinct inserted.codP from inserted union select distinct deleted.codP from deleted ) as DetaliiModificate ) as DetaliiProduseModificate on DetaliiProduse.codP = DetaliiProduseModificate.codP ) as DetaliiProduseNormalizate where DetaliiProduse.codP = DetaliiProduseNormalizate.codP and DetaliiProduse.caracteristica = DetaliiProduseNormalizate.caracteristica end go insert into Produse(codP, denumire, um) values (2, 'Margarina', 'kg') insert into Produse(codP, denumire, um) values (3, 'Ciocolata', 'g') insert into DetaliiProduse(codP, numar, caracteristica, valoare) values (1, 1, 'Culoare', 'De unt') insert into DetaliiProduse(codP, numar, caracteristica, valoare) values (2, 1, 'Culoare', 'Albui') insert into DetaliiProduse(codP, numar, caracteristica, valoare) values (3, 1, 'Culoare', 'Neagra') insert into DetaliiProduse(codP, numar, caracteristica, valoare) values(1, 20, 'Stare de agregare', 'Solida') insert into DetaliiProduse(codP, numar, caracteristica, valoare) values(2, 30, 'Stare de agregare', 'Solida') insert into DetaliiProduse(codP, numar, caracteristica, valoare) values(3, 1, 'Stare de agregare', 'Solida') select DetaliiProduse.* from DetaliiProduse order by codP, caracteristica insert into DetaliiProduse(codP, numar, caracteristica, valoare) values (1, 1, 'Culoare', 'De unt') select DetaliiProduse.* from DetaliiProduse order by codP, caracteristica update DetaliiProduse set valoare = 'Albui' where codP = 1 and caracteristica = 'Culoare' select DetaliiProduse.* from DetaliiProduse order by codP, caracteristica delete from DetaliiProduse where codP = 1 and caracteristica = 'Culoare' select DetaliiProduse.* from DetaliiProduse order by codP, caracteristica
<filename>sql/test.sql CREATE TABLE classroom (id INT NOT NULL, name String(32) NOT NULL, length FLOAT, height FLOAT, width DOUBLE, PRIMARY KEY(id) ); DROP TABLE classroom; CREATE TABLE student (id INT NOT NULL, name String(32) NOT NULL, dept_name String(32), height FLOAT, weight DOUBLE, PRIMARY KEY (id) ); INSERT INTO student VALUES(0,'0','History',167.1,42.9); INSERT INTO student VALUES(1,'1','Geology',171.7,46.7); INSERT INTO student VALUES(2,'2','Physics',188.7,78.4); INSERT INTO student VALUES(3,'3','English',197.4,43.4); INSERT INTO student VALUES(4,'4','History',180.9,80.9); INSERT INTO student VALUES(5,'5','English',166.9,80.4); INSERT INTO student VALUES(6,'6','Geology',166.8,72.5); INSERT INTO student VALUES(7,'7','English',196.6,44.9); INSERT INTO student VALUES(8,'8','Finance',161.5,51.1); INSERT INTO student VALUES(9,'9','Physics',154.1,89.1); INSERT INTO student VALUES(10,'10','Geology',190.2,66.2); INSERT INTO student VALUES(11,'11','Physics',196.3,92.6); INSERT INTO student VALUES(12,'12','Geology',174.2,85.4); INSERT INTO student VALUES(13,'13','Physics',182.4,59.6); INSERT INTO student VALUES(14,'14','History',198.6,93.1); INSERT INTO student VALUES(15,'15','Physics',163.2,94.9); INSERT INTO student VALUES(16,'16','Biology',185.6,81.6); INSERT INTO student VALUES(17,'17','Geology',150.5,84.1); INSERT INTO student VALUES(18,'18','Geology',195.7,54.4); INSERT INTO student VALUES(19,'19','Finance',157.5,41.5); INSERT INTO student VALUES(20,'20','Geology',190.2,70.9); INSERT INTO student VALUES(21,'21','Physics',180.5,80.9); INSERT INTO student VALUES(22,'22','History',182.6,98.9); INSERT INTO student VALUES(23,'23','English',177.8,50.9); INSERT INTO student VALUES(24,'24','Biology',174.2,70.9); INSERT INTO student VALUES(25,'25','Finance',195.6,98.4); INSERT INTO student VALUES(26,'26','English',168.5,94.3); INSERT INTO student VALUES(27,'27','Biology',154.4,51.2); INSERT INTO student VALUES(28,'28','Geology',166.9,45.0); INSERT INTO student VALUES(29,'29','Physics',198.1,60.2); INSERT INTO student VALUES(30,'30','Finance',180.6,75.2); INSERT INTO student VALUES(31,'31','Geology',165.9,47.4); INSERT INTO student VALUES(32,'32','History',156.9,68.4); INSERT INTO student VALUES(33,'33','Biology',158.3,87.8); INSERT INTO student VALUES(34,'34','English',164.6,76.0); INSERT INTO student VALUES(35,'35','Biology',161.1,68.5); INSERT INTO student VALUES(36,'36','English',161.7,84.9); INSERT INTO student VALUES(37,'37','Biology',185.4,82.9); INSERT INTO student VALUES(38,'38','English',187.5,70.0); INSERT INTO student VALUES(39,'39','Geology',157.5,75.0); INSERT INTO student VALUES(40,'40','Biology',190.4,76.5); INSERT INTO student VALUES(41,'41','English',178.0,69.6); INSERT INTO student VALUES(42,'42','Physics',175.4,52.3); INSERT INTO student VALUES(43,'43','Finance',156.6,59.0); INSERT INTO student VALUES(44,'44','History',159.6,94.1); INSERT INTO student VALUES(45,'45','Geology',169.8,92.7); INSERT INTO student VALUES(46,'46','Geology',179.9,54.5); INSERT INTO student VALUES(47,'47','History',197.2,46.5); INSERT INTO student VALUES(48,'48','History',186.9,82.2); INSERT INTO student VALUES(49,'49','Geology',160.7,69.7); INSERT INTO student VALUES(50,'50','History',150.6,63.2); INSERT INTO student VALUES(51,'51','Biology',159.4,79.7); INSERT INTO student VALUES(52,'52','Geology',194.5,69.4); INSERT INTO student VALUES(53,'53','Biology',167.5,87.6); INSERT INTO student VALUES(54,'54','English',186.8,98.6); INSERT INTO student VALUES(55,'55','Geology',185.5,84.1); INSERT INTO student VALUES(56,'56','History',173.7,42.3); INSERT INTO student VALUES(57,'57','History',172.4,57.8); INSERT INTO student VALUES(58,'58','Finance',170.5,94.7); INSERT INTO student VALUES(59,'59','Physics',152.0,66.7); INSERT INTO student VALUES(60,'60','History',164.1,72.9); INSERT INTO student VALUES(61,'61','Physics',166.4,82.2); INSERT INTO student VALUES(62,'62','Finance',180.3,85.7); INSERT INTO student VALUES(63,'63','Finance',177.2,99.3); INSERT INTO student VALUES(64,'64','Finance',189.7,90.6); INSERT INTO student VALUES(65,'65','Biology',193.2,64.0); INSERT INTO student VALUES(66,'66','Physics',169.9,66.2); INSERT INTO student VALUES(67,'67','English',156.4,46.2); INSERT INTO student VALUES(68,'68','Geology',175.9,57.0); INSERT INTO student VALUES(69,'69','Geology',153.8,75.7); INSERT INTO student VALUES(70,'70','Geology',186.9,49.4); INSERT INTO student VALUES(71,'71','English',180.3,62.3); INSERT INTO student VALUES(72,'72','Biology',189.7,45.3); INSERT INTO student VALUES(73,'73','Biology',170.3,40.5); INSERT INTO student VALUES(74,'74','Biology',175.2,55.2); INSERT INTO student VALUES(75,'75','Finance',196.8,87.8); INSERT INTO student VALUES(76,'76','Geology',192.5,80.2); INSERT INTO student VALUES(77,'77','Physics',197.8,46.3); INSERT INTO student VALUES(78,'78','Geology',190.8,94.9); INSERT INTO student VALUES(79,'79','Biology',186.0,63.6); INSERT INTO student VALUES(80,'80','Geology',154.0,64.9); INSERT INTO student VALUES(81,'81','Geology',173.7,61.8); INSERT INTO student VALUES(82,'82','Physics',188.8,76.5); INSERT INTO student VALUES(83,'83','History',168.9,78.2); INSERT INTO student VALUES(84,'84','History',189.2,75.7); INSERT INTO student VALUES(85,'85','Finance',176.6,41.5); INSERT INTO student VALUES(86,'86','English',184.2,59.6); INSERT INTO student VALUES(87,'87','Physics',173.9,47.5); INSERT INTO student VALUES(88,'88','English',170.8,76.1); INSERT INTO student VALUES(89,'89','Geology',195.1,95.1); INSERT INTO student VALUES(90,'90','Physics',166.1,50.9); INSERT INTO student VALUES(91,'91','Finance',184.8,86.5); INSERT INTO student VALUES(92,'92','Biology',197.3,95.8); INSERT INTO student VALUES(93,'93','Physics',175.5,85.7); INSERT INTO student VALUES(94,'94','Finance',195.1,42.0); INSERT INTO student VALUES(95,'95','Finance',153.0,59.6); INSERT INTO student VALUES(96,'96','Biology',185.5,75.5); INSERT INTO student VALUES(97,'97','History',159.4,45.4); INSERT INTO student VALUES(98,'98','Biology',177.4,52.3); INSERT INTO student VALUES(99,'99','Geology',170.5,95.6); INSERT INTO student VALUES(100,'100','Physics',197.0,76.6); INSERT INTO student VALUES(101,'101','Physics',197.0,98.8); INSERT INTO student VALUES(102,'102','Geology',198.7,79.0); INSERT INTO student VALUES(103,'103','Finance',157.8,48.1); INSERT INTO student VALUES(104,'104','Geology',152.8,99.4); INSERT INTO student VALUES(105,'105','Finance',167.0,90.8); INSERT INTO student VALUES(106,'106','Physics',190.5,73.1); INSERT INTO student VALUES(107,'107','Geology',169.4,77.8); INSERT INTO student VALUES(108,'108','Biology',172.7,65.9); INSERT INTO student VALUES(109,'109','History',152.8,49.4); INSERT INTO student VALUES(110,'110','Geology',167.2,54.1); INSERT INTO student VALUES(111,'111','English',177.4,72.2); INSERT INTO student VALUES(112,'112','Geology',179.2,80.2); INSERT INTO student VALUES(113,'113','Biology',185.4,82.0); INSERT INTO student VALUES(114,'114','Biology',170.7,80.3); INSERT INTO student VALUES(115,'115','Physics',181.4,46.6); INSERT INTO student VALUES(116,'116','History',166.5,85.3); INSERT INTO student VALUES(117,'117','Physics',150.8,91.2); INSERT INTO student VALUES(118,'118','Biology',194.7,40.3); INSERT INTO student VALUES(119,'119','Geology',158.1,94.4); INSERT INTO student VALUES(120,'120','History',198.1,60.9); INSERT INTO student VALUES(121,'121','Physics',180.8,70.1); INSERT INTO student VALUES(122,'122','Biology',180.2,86.0); INSERT INTO student VALUES(123,'123','Physics',175.1,50.4); INSERT INTO student VALUES(124,'124','Biology',174.0,62.6); INSERT INTO student VALUES(125,'125','Physics',191.0,49.9); INSERT INTO student VALUES(126,'126','English',173.9,44.5); INSERT INTO student VALUES(127,'127','History',173.9,97.4); INSERT INTO student VALUES(128,'128','Biology',196.7,89.7); INSERT INTO student VALUES(129,'129','History',193.8,87.5); INSERT INTO student VALUES(130,'130','Biology',197.8,68.0); INSERT INTO student VALUES(131,'131','Finance',166.2,57.4); INSERT INTO student VALUES(132,'132','English',196.6,73.7); INSERT INTO student VALUES(133,'133','Finance',186.5,98.2); INSERT INTO student VALUES(134,'134','Geology',160.1,90.2); INSERT INTO student VALUES(135,'135','Biology',181.2,52.6); INSERT INTO student VALUES(136,'136','Geology',200.0,45.2); INSERT INTO student VALUES(137,'137','Physics',158.3,45.2); INSERT INTO student VALUES(138,'138','English',199.1,73.1); INSERT INTO student VALUES(139,'139','Biology',164.1,42.6); INSERT INTO student VALUES(140,'140','English',189.5,56.2); INSERT INTO student VALUES(141,'141','History',180.4,41.7); INSERT INTO student VALUES(142,'142','History',176.1,64.2); INSERT INTO student VALUES(143,'143','Physics',161.2,58.2); INSERT INTO student VALUES(144,'144','Geology',194.2,63.3); INSERT INTO student VALUES(145,'145','Physics',174.8,51.3); INSERT INTO student VALUES(146,'146','Finance',177.6,70.5); INSERT INTO student VALUES(147,'147','Finance',153.3,60.5); INSERT INTO student VALUES(148,'148','History',166.1,94.8); INSERT INTO student VALUES(149,'149','History',173.9,99.5); INSERT INTO student VALUES(150,'150','English',190.0,74.3); INSERT INTO student VALUES(151,'151','Finance',166.0,45.2); INSERT INTO student VALUES(152,'152','Physics',182.3,42.0); INSERT INTO student VALUES(153,'153','Finance',183.8,40.4); INSERT INTO student VALUES(154,'154','Biology',161.4,84.3); INSERT INTO student VALUES(155,'155','Physics',152.9,46.3); INSERT INTO student VALUES(156,'156','Biology',150.2,47.8); INSERT INTO student VALUES(157,'157','History',196.1,44.2); INSERT INTO student VALUES(158,'158','Geology',162.5,64.0); INSERT INTO student VALUES(159,'159','Finance',171.0,42.5); INSERT INTO student VALUES(160,'160','Finance',168.3,82.6); INSERT INTO student VALUES(161,'161','Biology',188.2,98.7); INSERT INTO student VALUES(162,'162','Finance',169.7,59.1); INSERT INTO student VALUES(163,'163','Geology',193.1,41.3); INSERT INTO student VALUES(164,'164','Biology',156.6,57.6); INSERT INTO student VALUES(165,'165','Finance',153.5,45.5); INSERT INTO student VALUES(166,'166','Physics',168.0,79.9); INSERT INTO student VALUES(167,'167','History',190.0,75.2); INSERT INTO student VALUES(168,'168','Geology',155.5,56.9); INSERT INTO student VALUES(169,'169','Finance',173.2,83.5); INSERT INTO student VALUES(170,'170','Biology',190.0,46.5); INSERT INTO student VALUES(171,'171','Finance',196.6,98.7); INSERT INTO student VALUES(172,'172','Geology',151.2,75.5); INSERT INTO student VALUES(173,'173','Geology',191.3,58.0); INSERT INTO student VALUES(174,'174','Geology',166.0,47.2); INSERT INTO student VALUES(175,'175','Finance',156.2,80.4); INSERT INTO student VALUES(176,'176','Geology',168.0,81.9); INSERT INTO student VALUES(177,'177','Geology',180.9,45.2); INSERT INTO student VALUES(178,'178','Finance',179.7,85.6); INSERT INTO student VALUES(179,'179','History',166.2,51.1); INSERT INTO student VALUES(180,'180','Physics',152.4,86.9); INSERT INTO student VALUES(181,'181','Physics',192.5,95.1); INSERT INTO student VALUES(182,'182','History',157.9,93.6); INSERT INTO student VALUES(183,'183','History',184.0,61.7); INSERT INTO student VALUES(184,'184','Physics',153.1,98.3); INSERT INTO student VALUES(185,'185','History',169.9,85.2); INSERT INTO student VALUES(186,'186','Finance',163.5,77.6); INSERT INTO student VALUES(187,'187','Biology',169.0,95.0); INSERT INTO student VALUES(188,'188','Geology',187.7,90.9); INSERT INTO student VALUES(189,'189','Biology',172.1,67.5); INSERT INTO student VALUES(190,'190','Finance',167.9,91.3); INSERT INTO student VALUES(191,'191','Biology',183.3,93.9); INSERT INTO student VALUES(192,'192','History',152.3,50.9); INSERT INTO student VALUES(193,'193','English',172.3,76.1); INSERT INTO student VALUES(194,'194','Finance',151.2,97.6); INSERT INTO student VALUES(195,'195','Biology',180.4,41.9); INSERT INTO student VALUES(196,'196','Physics',184.9,50.3); INSERT INTO student VALUES(197,'197','Biology',198.6,90.2); INSERT INTO student VALUES(198,'198','Physics',178.7,72.4); INSERT INTO student VALUES(199,'199','History',176.6,42.6); INSERT INTO student VALUES(200,'200','History',178.7,60.9); INSERT INTO student VALUES(201,'201','Finance',161.0,63.9); INSERT INTO student VALUES(202,'202','Biology',199.6,87.1); INSERT INTO student VALUES(203,'203','English',192.7,73.8); INSERT INTO student VALUES(204,'204','Physics',164.8,81.2); INSERT INTO student VALUES(205,'205','Geology',170.9,69.0); INSERT INTO student VALUES(206,'206','History',197.4,72.2); INSERT INTO student VALUES(207,'207','Finance',176.5,63.5); INSERT INTO student VALUES(208,'208','History',165.2,79.1); INSERT INTO student VALUES(209,'209','Geology',195.8,47.3); INSERT INTO student VALUES(210,'210','Geology',177.0,51.1); INSERT INTO student VALUES(211,'211','Biology',185.5,49.8); INSERT INTO student VALUES(212,'212','Finance',192.8,59.7); INSERT INTO student VALUES(213,'213','Physics',168.1,48.9); INSERT INTO student VALUES(214,'214','History',169.1,87.9); INSERT INTO student VALUES(215,'215','Geology',161.4,90.0); INSERT INTO student VALUES(216,'216','Geology',170.4,60.3); INSERT INTO student VALUES(217,'217','History',163.1,69.2); INSERT INTO student VALUES(218,'218','Physics',170.4,66.0); INSERT INTO student VALUES(219,'219','English',178.5,96.0); INSERT INTO student VALUES(220,'220','Finance',151.5,95.6); INSERT INTO student VALUES(221,'221','Physics',171.7,59.2); INSERT INTO student VALUES(222,'222','Geology',152.5,87.0); INSERT INTO student VALUES(223,'223','Finance',165.8,92.0); INSERT INTO student VALUES(224,'224','English',180.5,66.3); INSERT INTO student VALUES(225,'225','Physics',170.6,60.5); INSERT INTO student VALUES(226,'226','History',182.7,96.5); INSERT INTO student VALUES(227,'227','Physics',166.5,53.2); INSERT INTO student VALUES(228,'228','English',180.2,68.3); INSERT INTO student VALUES(229,'229','Finance',162.6,90.4); INSERT INTO student VALUES(230,'230','English',165.0,75.0); INSERT INTO student VALUES(231,'231','Physics',173.0,73.5); INSERT INTO student VALUES(232,'232','Geology',163.9,75.6); INSERT INTO student VALUES(233,'233','History',192.9,77.1); INSERT INTO student VALUES(234,'234','History',156.1,70.2); INSERT INTO student VALUES(235,'235','English',183.8,54.7); INSERT INTO student VALUES(236,'236','Physics',180.3,62.3); INSERT INTO student VALUES(237,'237','English',178.2,79.7); INSERT INTO student VALUES(238,'238','Finance',163.3,52.8); INSERT INTO student VALUES(239,'239','Geology',157.2,50.1); INSERT INTO student VALUES(240,'240','Biology',159.1,79.1); INSERT INTO student VALUES(241,'241','History',192.4,82.7); INSERT INTO student VALUES(242,'242','Biology',192.6,98.1); INSERT INTO student VALUES(243,'243','History',183.2,44.3); INSERT INTO student VALUES(244,'244','Physics',163.5,90.6); INSERT INTO student VALUES(245,'245','Physics',179.1,71.8); INSERT INTO student VALUES(246,'246','Geology',164.3,60.0); INSERT INTO student VALUES(247,'247','Physics',191.4,80.6); INSERT INTO student VALUES(248,'248','English',184.8,88.6); INSERT INTO student VALUES(249,'249','History',182.4,76.9); INSERT INTO student VALUES(250,'250','Physics',152.4,71.6); INSERT INTO student VALUES(251,'251','Biology',157.1,85.3); INSERT INTO student VALUES(252,'252','Physics',165.4,42.6); INSERT INTO student VALUES(253,'253','Finance',199.7,78.5); INSERT INTO student VALUES(254,'254','Geology',184.6,90.2); INSERT INTO student VALUES(255,'255','Geology',197.2,52.9); INSERT INTO student VALUES(256,'256','Geology',159.2,42.2); INSERT INTO student VALUES(257,'257','History',183.9,89.1); INSERT INTO student VALUES(258,'258','History',166.5,63.7); INSERT INTO student VALUES(259,'259','Physics',181.9,66.8); INSERT INTO student VALUES(260,'260','History',199.0,54.8); INSERT INTO student VALUES(261,'261','Physics',171.6,78.0); INSERT INTO student VALUES(262,'262','Physics',172.1,45.7); INSERT INTO student VALUES(263,'263','Physics',188.7,55.5); INSERT INTO student VALUES(264,'264','Geology',155.1,64.2); INSERT INTO student VALUES(265,'265','History',171.0,43.1); INSERT INTO student VALUES(266,'266','Biology',154.8,98.6); INSERT INTO student VALUES(267,'267','Physics',158.6,95.8); INSERT INTO student VALUES(268,'268','History',197.1,72.5); INSERT INTO student VALUES(269,'269','Biology',188.9,99.5); INSERT INTO student VALUES(270,'270','Geology',182.5,86.2); INSERT INTO student VALUES(271,'271','Finance',161.4,70.8); INSERT INTO student VALUES(272,'272','Finance',184.5,82.4); INSERT INTO student VALUES(273,'273','History',158.5,92.7); INSERT INTO student VALUES(274,'274','History',159.1,50.7); INSERT INTO student VALUES(275,'275','Finance',184.5,81.5); INSERT INTO student VALUES(276,'276','History',197.2,44.4); INSERT INTO student VALUES(277,'277','History',179.7,98.6); INSERT INTO student VALUES(278,'278','English',199.5,43.6); INSERT INTO student VALUES(279,'279','English',172.6,71.1); INSERT INTO student VALUES(280,'280','Finance',197.5,62.7); INSERT INTO student VALUES(281,'281','Physics',166.9,70.6); INSERT INTO student VALUES(282,'282','Biology',183.5,74.4); INSERT INTO student VALUES(283,'283','Biology',152.6,52.7); INSERT INTO student VALUES(284,'284','Geology',166.7,77.9); INSERT INTO student VALUES(285,'285','English',169.4,76.7); INSERT INTO student VALUES(286,'286','Finance',196.6,88.1); INSERT INTO student VALUES(287,'287','Finance',177.9,45.4); INSERT INTO student VALUES(288,'288','History',195.9,79.0); INSERT INTO student VALUES(289,'289','Finance',197.9,51.7); INSERT INTO student VALUES(290,'290','History',181.5,95.8); INSERT INTO student VALUES(291,'291','Biology',187.1,48.3); INSERT INTO student VALUES(292,'292','Physics',155.8,50.0); INSERT INTO student VALUES(293,'293','Geology',189.9,92.7); INSERT INTO student VALUES(294,'294','Geology',199.5,88.9); INSERT INTO student VALUES(295,'295','English',162.1,64.7); INSERT INTO student VALUES(296,'296','History',194.1,71.2); INSERT INTO student VALUES(297,'297','Physics',188.7,61.2); INSERT INTO student VALUES(298,'298','History',181.8,62.7); INSERT INTO student VALUES(299,'299','Physics',197.1,49.2); INSERT INTO student VALUES(300,'300','History',184.0,68.8); INSERT INTO student VALUES(301,'301','History',165.7,44.8); INSERT INTO student VALUES(302,'302','English',154.7,91.0); INSERT INTO student VALUES(303,'303','History',168.4,58.0); INSERT INTO student VALUES(304,'304','Physics',178.9,58.6); INSERT INTO student VALUES(305,'305','Geology',160.4,91.1); INSERT INTO student VALUES(306,'306','Biology',156.4,97.6); INSERT INTO student VALUES(307,'307','Physics',198.9,78.0); INSERT INTO student VALUES(308,'308','Finance',160.4,95.2); INSERT INTO student VALUES(309,'309','English',195.7,75.1); INSERT INTO student VALUES(310,'310','Biology',183.0,66.4); INSERT INTO student VALUES(311,'311','Biology',150.9,60.8); INSERT INTO student VALUES(312,'312','Biology',195.3,88.1); INSERT INTO student VALUES(313,'313','Geology',175.9,46.8); INSERT INTO student VALUES(314,'314','Physics',158.4,98.9); INSERT INTO student VALUES(315,'315','English',176.7,98.4); INSERT INTO student VALUES(316,'316','Biology',165.7,45.9); INSERT INTO student VALUES(317,'317','Biology',156.0,66.3); INSERT INTO student VALUES(318,'318','English',193.3,73.5); INSERT INTO student VALUES(319,'319','English',162.9,90.9); INSERT INTO student VALUES(320,'320','English',173.6,71.7); INSERT INTO student VALUES(321,'321','Finance',198.6,51.2); INSERT INTO student VALUES(322,'322','Finance',180.0,93.2); INSERT INTO student VALUES(323,'323','English',165.2,56.1); INSERT INTO student VALUES(324,'324','Geology',181.9,53.9); INSERT INTO student VALUES(325,'325','History',174.9,50.5); INSERT INTO student VALUES(326,'326','English',159.4,43.6); INSERT INTO student VALUES(327,'327','Biology',167.6,51.3); INSERT INTO student VALUES(328,'328','Geology',173.6,52.7); INSERT INTO student VALUES(329,'329','Geology',185.0,48.3); INSERT INTO student VALUES(330,'330','English',163.4,78.3); INSERT INTO student VALUES(331,'331','History',175.8,78.9); INSERT INTO student VALUES(332,'332','Finance',183.7,79.9); INSERT INTO student VALUES(333,'333','English',186.9,45.3); INSERT INTO student VALUES(334,'334','Geology',161.7,99.3); INSERT INTO student VALUES(335,'335','Physics',152.5,43.2); INSERT INTO student VALUES(336,'336','Biology',181.8,95.2); INSERT INTO student VALUES(337,'337','Physics',153.0,50.5); INSERT INTO student VALUES(338,'338','Geology',167.0,65.8); INSERT INTO student VALUES(339,'339','English',163.5,78.8); INSERT INTO student VALUES(340,'340','Geology',196.3,64.1); INSERT INTO student VALUES(341,'341','Physics',187.7,78.6); INSERT INTO student VALUES(342,'342','Geology',183.5,74.0); INSERT INTO student VALUES(343,'343','History',193.0,56.5); INSERT INTO student VALUES(344,'344','History',193.2,56.2); INSERT INTO student VALUES(345,'345','Geology',169.6,97.7); INSERT INTO student VALUES(346,'346','Geology',154.4,76.7); INSERT INTO student VALUES(347,'347','Geology',171.6,74.1); INSERT INTO student VALUES(348,'348','History',182.6,47.9); INSERT INTO student VALUES(349,'349','Finance',185.0,51.9); INSERT INTO student VALUES(350,'350','Physics',191.2,45.8); INSERT INTO student VALUES(351,'351','Physics',182.7,75.6); INSERT INTO student VALUES(352,'352','Geology',174.5,58.3); INSERT INTO student VALUES(353,'353','English',186.2,52.6); INSERT INTO student VALUES(354,'354','English',194.4,56.7); INSERT INTO student VALUES(355,'355','Physics',168.8,42.4); INSERT INTO student VALUES(356,'356','English',165.5,89.6); INSERT INTO student VALUES(357,'357','English',155.2,61.8); INSERT INTO student VALUES(358,'358','History',155.6,74.6); INSERT INTO student VALUES(359,'359','Biology',154.5,47.5); INSERT INTO student VALUES(360,'360','Biology',174.9,57.3); INSERT INTO student VALUES(361,'361','Physics',199.9,77.1); INSERT INTO student VALUES(362,'362','History',172.3,60.8); INSERT INTO student VALUES(363,'363','English',152.9,45.5); INSERT INTO student VALUES(364,'364','Geology',156.7,65.8); INSERT INTO student VALUES(365,'365','Finance',157.7,53.9); INSERT INTO student VALUES(366,'366','Finance',196.1,87.3); INSERT INTO student VALUES(367,'367','English',154.2,87.3); INSERT INTO student VALUES(368,'368','Geology',190.9,52.2); INSERT INTO student VALUES(369,'369','English',167.5,76.4); INSERT INTO student VALUES(370,'370','History',169.9,57.0); INSERT INTO student VALUES(371,'371','Geology',186.4,49.3); INSERT INTO student VALUES(372,'372','Finance',151.1,79.1); INSERT INTO student VALUES(373,'373','Biology',163.4,66.2); INSERT INTO student VALUES(374,'374','Physics',173.5,83.0); INSERT INTO student VALUES(375,'375','Finance',180.4,44.3); INSERT INTO student VALUES(376,'376','English',152.6,90.1); INSERT INTO student VALUES(377,'377','History',165.3,94.3); INSERT INTO student VALUES(378,'378','English',179.6,81.8); INSERT INTO student VALUES(379,'379','English',172.1,95.2); INSERT INTO student VALUES(380,'380','English',193.0,56.3); INSERT INTO student VALUES(381,'381','Physics',157.8,94.0); INSERT INTO student VALUES(382,'382','English',166.3,50.0); INSERT INTO student VALUES(383,'383','Finance',174.7,91.7); INSERT INTO student VALUES(384,'384','Finance',155.0,48.7); INSERT INTO student VALUES(385,'385','Biology',189.9,98.2); INSERT INTO student VALUES(386,'386','Finance',191.7,68.7); INSERT INTO student VALUES(387,'387','Geology',163.7,71.0); INSERT INTO student VALUES(388,'388','Geology',181.5,59.8); INSERT INTO student VALUES(389,'389','Biology',176.3,72.9); INSERT INTO student VALUES(390,'390','Finance',198.9,55.1); INSERT INTO student VALUES(391,'391','Biology',177.3,84.2); INSERT INTO student VALUES(392,'392','Biology',194.2,65.2); INSERT INTO student VALUES(393,'393','Physics',163.3,59.5); INSERT INTO student VALUES(394,'394','Physics',175.8,50.4); INSERT INTO student VALUES(395,'395','History',172.3,43.7); INSERT INTO student VALUES(396,'396','History',196.3,84.1); INSERT INTO student VALUES(397,'397','History',151.5,59.6); INSERT INTO student VALUES(398,'398','Biology',176.0,90.7); INSERT INTO student VALUES(399,'399','English',162.6,74.5); INSERT INTO student VALUES(400,'400','History',154.9,59.7); INSERT INTO student VALUES(401,'401','Finance',189.4,50.7); INSERT INTO student VALUES(402,'402','Finance',160.8,86.2); INSERT INTO student VALUES(403,'403','History',181.8,61.1); INSERT INTO student VALUES(404,'404','Physics',182.9,84.7); INSERT INTO student VALUES(405,'405','Finance',161.4,85.0); INSERT INTO student VALUES(406,'406','English',188.5,72.7); INSERT INTO student VALUES(407,'407','Finance',193.5,61.7); INSERT INTO student VALUES(408,'408','Biology',196.7,94.5); INSERT INTO student VALUES(409,'409','Physics',196.8,87.7); INSERT INTO student VALUES(410,'410','Finance',185.9,57.9); INSERT INTO student VALUES(411,'411','Geology',181.6,80.5); INSERT INTO student VALUES(412,'412','English',175.3,72.8); INSERT INTO student VALUES(413,'413','History',180.2,67.4); INSERT INTO student VALUES(414,'414','Biology',170.4,70.9); INSERT INTO student VALUES(415,'415','Physics',155.1,52.1); INSERT INTO student VALUES(416,'416','History',156.6,94.9); INSERT INTO student VALUES(417,'417','English',170.1,70.4); INSERT INTO student VALUES(418,'418','Biology',172.0,67.5); INSERT INTO student VALUES(419,'419','History',178.5,93.8); INSERT INTO student VALUES(420,'420','Finance',167.6,70.8); INSERT INTO student VALUES(421,'421','English',155.6,75.6); INSERT INTO student VALUES(422,'422','English',175.8,98.3); INSERT INTO student VALUES(423,'423','Finance',189.0,88.7); INSERT INTO student VALUES(424,'424','English',175.2,50.5); INSERT INTO student VALUES(425,'425','Geology',169.8,54.4); INSERT INTO student VALUES(426,'426','Finance',171.7,41.8); INSERT INTO student VALUES(427,'427','Biology',185.4,46.8); INSERT INTO student VALUES(428,'428','History',156.5,80.4); INSERT INTO student VALUES(429,'429','Geology',195.0,48.7); INSERT INTO student VALUES(430,'430','Geology',175.1,56.2); INSERT INTO student VALUES(431,'431','History',196.0,75.4); INSERT INTO student VALUES(432,'432','Biology',156.6,90.8); INSERT INTO student VALUES(433,'433','Finance',165.0,91.6); INSERT INTO student VALUES(434,'434','Biology',195.6,67.3); INSERT INTO student VALUES(435,'435','Biology',170.6,51.6); INSERT INTO student VALUES(436,'436','English',179.6,63.9); INSERT INTO student VALUES(437,'437','Geology',167.7,73.8); INSERT INTO student VALUES(438,'438','Biology',164.0,44.5); INSERT INTO student VALUES(439,'439','Finance',193.3,72.6); INSERT INTO student VALUES(440,'440','Finance',181.4,99.9); INSERT INTO student VALUES(441,'441','English',179.4,40.7); INSERT INTO student VALUES(442,'442','Finance',197.5,90.9); INSERT INTO student VALUES(443,'443','Finance',194.7,89.2); INSERT INTO student VALUES(444,'444','History',178.3,68.3); INSERT INTO student VALUES(445,'445','Finance',168.5,64.3); INSERT INTO student VALUES(446,'446','Physics',198.0,70.0); INSERT INTO student VALUES(447,'447','Finance',160.4,89.9); INSERT INTO student VALUES(448,'448','Biology',199.9,66.6); INSERT INTO student VALUES(449,'449','Finance',188.3,51.2); INSERT INTO student VALUES(450,'450','History',187.0,89.6); INSERT INTO student VALUES(451,'451','Geology',154.4,41.6); INSERT INTO student VALUES(452,'452','History',192.8,87.5); INSERT INTO student VALUES(453,'453','History',168.8,61.3); INSERT INTO student VALUES(454,'454','Biology',198.2,99.2); INSERT INTO student VALUES(455,'455','English',177.3,99.5); INSERT INTO student VALUES(456,'456','Finance',162.6,91.1); INSERT INTO student VALUES(457,'457','History',155.9,68.0); INSERT INTO student VALUES(458,'458','History',171.8,69.4); INSERT INTO student VALUES(459,'459','History',164.1,68.3); INSERT INTO student VALUES(460,'460','Physics',162.1,56.7); INSERT INTO student VALUES(461,'461','English',178.9,86.0); INSERT INTO student VALUES(462,'462','English',180.2,95.8); INSERT INTO student VALUES(463,'463','Physics',197.2,68.7); INSERT INTO student VALUES(464,'464','History',163.1,49.1); INSERT INTO student VALUES(465,'465','Biology',183.4,76.8); INSERT INTO student VALUES(466,'466','English',172.8,92.2); INSERT INTO student VALUES(467,'467','Physics',167.6,51.9); INSERT INTO student VALUES(468,'468','English',183.7,73.8); INSERT INTO student VALUES(469,'469','History',181.1,87.0); INSERT INTO student VALUES(470,'470','English',150.6,74.7); INSERT INTO student VALUES(471,'471','Biology',176.9,80.9); INSERT INTO student VALUES(472,'472','Biology',150.9,60.5); INSERT INTO student VALUES(473,'473','English',161.4,43.4); INSERT INTO student VALUES(474,'474','Geology',158.9,83.8); INSERT INTO student VALUES(475,'475','History',195.3,92.1); INSERT INTO student VALUES(476,'476','Finance',177.0,68.2); INSERT INTO student VALUES(477,'477','Geology',181.2,93.3); INSERT INTO student VALUES(478,'478','English',199.6,95.5); INSERT INTO student VALUES(479,'479','Finance',164.9,47.2); INSERT INTO student VALUES(480,'480','Geology',172.8,78.2); INSERT INTO student VALUES(481,'481','Biology',183.4,64.9); INSERT INTO student VALUES(482,'482','History',161.3,80.7); INSERT INTO student VALUES(483,'483','Physics',180.6,91.0); INSERT INTO student VALUES(484,'484','Physics',187.3,68.4); INSERT INTO student VALUES(485,'485','Biology',150.3,90.9); INSERT INTO student VALUES(486,'486','English',174.6,59.4); INSERT INTO student VALUES(487,'487','History',161.0,58.2); INSERT INTO student VALUES(488,'488','Physics',158.0,95.6); INSERT INTO student VALUES(489,'489','English',152.8,52.4); INSERT INTO student VALUES(490,'490','Physics',162.8,76.7); INSERT INTO student VALUES(491,'491','Physics',184.8,63.5); INSERT INTO student VALUES(492,'492','Biology',178.3,71.0); INSERT INTO student VALUES(493,'493','History',194.8,99.5); INSERT INTO student VALUES(494,'494','Geology',184.1,64.1); INSERT INTO student VALUES(495,'495','History',152.5,64.9); INSERT INTO student VALUES(496,'496','Physics',185.6,90.3); INSERT INTO student VALUES(497,'497','English',164.6,88.1); INSERT INTO student VALUES(498,'498','Physics',156.9,86.1); INSERT INTO student VALUES(499,'499','History',175.0,67.9); DELETE FROM student WHERE name = '499'; UPDATE student SET height = 250.0 WHERE id = 498; CREATE TABLE department (dept_name String(32), building String(15), budget LONG, PRIMARY KEY (dept_name) ); INSERT INTO department VALUES('Biology','Candlestick',647610); INSERT INTO department VALUES('History','Taylor',699140); INSERT INTO department VALUES('Physics','Wrigley',942162); INSERT INTO department VALUES('English','Palmer',611042); INSERT INTO department VALUES('Finance','Candlestick',866831); INSERT INTO department VALUES('Geology','Palmer',406557); SHOW TABLE department; SELECT student.name, student.dept_name, department.budget FROM student JOIN department ON student.dept_name = department.dept_name WHERE student.height > 180.0; SELECT * FROM student; SELECT id, name FROM student WHERE id = 250;
<reponame>glasscharlie/snack-chat DROP DATABASE IF EXISTS photos_db; CREATE DATABASE photos_db; USE photos_db;
<reponame>wiarlawd/database.v3 DROP TABLE TestEmpTable;
INSERT INTO Person(ID, FIRST_NAME, LAST_NAME, BIRTHDATE) VALUES (1, 'Steve', 'Kizito', '1980-05-04'); INSERT INTO Person(ID, FIRST_NAME, LAST_NAME, BIRTHDATE) VALUES (2, 'Charles', 'Muchene', '1983-11-09'); INSERT INTO Person(ID, FIRST_NAME, LAST_NAME) VALUES (3, 'Guru', 'Dev');
{{ config( materialized='table' ) }} select user_guid, country, count(order_id) as total_order_count, sum(order_cost) as total_order_cost, sum(shipping_cost) as total_shipping_cost, sum(order_total) as total_order FROM {{ref('int_user_order_facts')}} GROUP BY user_guid, country
with task as ( select * from {{ var('task') }} ), task_comments as ( select * from {{ ref('asana_task_comments') }} ), task_followers as ( select * from {{ ref('asana_task_followers') }} ), task_open_length as ( select * from {{ ref('asana_task_open_length') }} ), task_tags as ( select * from {{ ref('asana_task_tags') }} ), task_assignee as ( select * from {{ ref('asana_task_assignee') }} where has_assignee ), task_projects as ( select * from {{ ref('asana_task_projects') }} ), subtask_parent as ( select * from {{ ref('asana_subtask_parent') }} ), task_first_modifier as ( select * from {{ ref('asana_task_first_modifier') }} ), task_join as ( select task.*, concat('https://app.asana.com/0/0/', task.task_id) as task_link, task_assignee.assignee_name, task_assignee.assignee_email, task_open_length.days_open, task_open_length.is_currently_assigned, task_open_length.has_been_assigned, task_open_length.days_since_last_assignment, -- is null for never-assigned tasks task_open_length.days_since_first_assignment, -- is null for never-assigned tasks task_open_length.last_assigned_at, task_open_length.first_assigned_at, task_first_modifier.first_modifier_user_id, task_first_modifier.first_modifier_name, task_comments.conversation, coalesce(task_comments.number_of_comments, 0) as number_of_comments, task_followers.followers, coalesce(task_followers.number_of_followers, 0) as number_of_followers, task_tags.tags, coalesce(task_tags.number_of_tags, 0) as number_of_tags, task_projects.projects_sections, subtask_parent.subtask_id is not null as is_subtask, -- parent id is in task.* subtask_parent.parent_task_name, subtask_parent.parent_assignee_user_id, subtask_parent.parent_assignee_name, subtask_parent.parent_due_date, subtask_parent.parent_created_at from task join task_open_length on task.task_id = task_open_length.task_id left join task_first_modifier on task.task_id = task_first_modifier.task_id left join task_comments on task.task_id = task_comments.task_id left join task_followers on task.task_id = task_followers.task_id left join task_tags on task.task_id = task_tags.task_id left join task_assignee on task.task_id = task_assignee.task_id left join subtask_parent on task.task_id = subtask_parent.subtask_id left join task_projects on task.task_id = task_projects.task_id ) select * from task_join
select c.name,o.id from customers as c join orders as o on o.id_customers=c.id where o.orders_date BETWEEN '2016-01-01' AND '2016-06-30';
ALTER TABLE /*_*/change_tag MODIFY ct_rev_id int unsigned NULL;
select distinct case pop when 0 then "nobody" when 1 then "one" when 2 then "a couple" when 3 then "a few" else "more" end as cardinal, case pop when 1 then 0 when 10 then 1 end as power, case when pop % 2 = 0 then "even" when pop = 1 or pop = 9 then "odd" else "prime" end as parity, case when pop > 5 then pop - 5 end as grade from `zips.data` where pop <= 10 order by pop
<filename>examples/friend_car.sql CREATE TABLE friend( friend_id INTEGER PRIMARY KEY, name TEXT NOT NULL, email TEXT UNIQUE, phone TEXT UNIQUE, picture BLOB ); CREATE TABLE car( registration_plate TEXT PRIMARY KEY, cost REAL NOT NULL, bought_on TEXT NOT NULL );
-- start_ignore SET gp_create_table_random_default_distribution=off; -- end_ignore -- -- SYNC1 HEAP TABLE 1 -- CREATE TABLE sync1_heap_alter_part_rn1 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn1 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn1; -- -- SYNC1 HEAP TABLE 2 -- CREATE TABLE sync1_heap_alter_part_rn2 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn2 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn2; -- -- SYNC1 HEAP TABLE 3 -- CREATE TABLE sync1_heap_alter_part_rn3 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn3 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn3; -- -- SYNC1 HEAP TABLE 4 -- CREATE TABLE sync1_heap_alter_part_rn4 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn4 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn4; -- -- SYNC1 HEAP TABLE 5 -- CREATE TABLE sync1_heap_alter_part_rn5 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn5 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn5; -- -- SYNC1 HEAP TABLE 6 -- CREATE TABLE sync1_heap_alter_part_rn6 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn6 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn6; -- -- SYNC1 HEAP TABLE 7 -- CREATE TABLE sync1_heap_alter_part_rn7 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn7 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn7; -- -- SYNC1 HEAP TABLE 8 -- CREATE TABLE sync1_heap_alter_part_rn8 (id int, rank int, year date, gender char(1)) DISTRIBUTED BY (id, gender, year) partition by list (gender) subpartition by range (year) subpartition template ( start (date '2001-01-01')) ( values ('M'), values ('F') ); -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn8 values (generate_series(1,20),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn8; -- -- ALTER SYNC1 HEAP -- -- -- Add default Partition -- alter table sync1_heap_alter_part_rn1 add default partition default_part; -- -- Rename Default Partition -- alter table sync1_heap_alter_part_rn1 rename default partition to new_default_part; -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn1 values (generate_series(1,10),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn1; -- -- Rename Table -- alter table sync1_heap_alter_part_rn1 rename to sync1_heap_alter_part_rn1_0; -- -- Insert few records into the table -- insert into sync1_heap_alter_part_rn1_0 values (generate_series(1,10),1,'2001-01-01','F'); -- -- select from the Table -- select count(*) from sync1_heap_alter_part_rn1_0;
<gh_stars>100-1000 INSERT INTO `task_inputs` (`task_id`, `input`, `value`) VALUES (1, 'estimation_procedure', '1'), (1, 'source_data', '1'), (1, 'target_feature', 'class'), (2, 'estimation_procedure', '2'), (2, 'source_data', '1'), (2, 'target_feature', 'class'), (3, 'estimation_procedure', '3'), (3, 'source_data', '1'), (3, 'target_feature', 'class'), (4, 'estimation_procedure', '4'), (4, 'source_data', '1'), (4, 'target_feature', 'class'), (5, 'estimation_procedure', '5'), (5, 'source_data', '1'), (5, 'target_feature', 'class'), (6, 'estimation_procedure', '6'), (6, 'source_data', '1'), (6, 'target_feature', 'class'), (7, 'estimation_procedure', '1'), (7, 'source_data', '2'), (7, 'target_feature', 'class'), (8, 'estimation_procedure', '2'), (8, 'source_data', '2'), (8, 'target_feature', 'class'), (9, 'estimation_procedure', '3'), (9, 'source_data', '2'), (9, 'target_feature', 'class'), (10, 'estimation_procedure', '4'), (10, 'source_data', '2'), (10, 'target_feature', 'class'), (11, 'estimation_procedure', '5'), (11, 'source_data', '2'), (11, 'target_feature', 'class'), (12, 'estimation_procedure', '6'), (12, 'source_data', '2'), (12, 'target_feature', 'class'), (13, 'estimation_procedure', '1'), (13, 'source_data', '3'), (13, 'target_feature', 'class'), (14, 'estimation_procedure', '2'), (14, 'source_data', '3'), (14, 'target_feature', 'class'), (15, 'estimation_procedure', '3'), (15, 'source_data', '3'), (15, 'target_feature', 'class'), (16, 'estimation_procedure', '4'), (16, 'source_data', '3'), (16, 'target_feature', 'class'), (17, 'estimation_procedure', '5'), (17, 'source_data', '3'), (17, 'target_feature', 'class'), (18, 'estimation_procedure', '6'), (18, 'source_data', '3'), (18, 'target_feature', 'class'), (19, 'estimation_procedure', '1'), (19, 'source_data', '4'), (19, 'target_feature', 'class'), (20, 'estimation_procedure', '2'), (20, 'source_data', '4'), (20, 'target_feature', 'class'), (21, 'estimation_procedure', '3'), (21, 'source_data', '4'), (21, 'target_feature', 'class'), (22, 'estimation_procedure', '4'), (22, 'source_data', '4'), (22, 'target_feature', 'class'), (23, 'estimation_procedure', '5'), (23, 'source_data', '4'), (23, 'target_feature', 'class'), (24, 'estimation_procedure', '6'), (24, 'source_data', '4'), (24, 'target_feature', 'class'), (25, 'estimation_procedure', '1'), (25, 'source_data', '5'), (25, 'target_feature', 'class'), (26, 'estimation_procedure', '2'), (26, 'source_data', '5'), (26, 'target_feature', 'class'), (27, 'estimation_procedure', '3'), (27, 'source_data', '5'), (27, 'target_feature', 'class'), (28, 'estimation_procedure', '4'), (28, 'source_data', '5'), (28, 'target_feature', 'class'), (29, 'estimation_procedure', '5'), (29, 'source_data', '5'), (29, 'target_feature', 'class'), (30, 'estimation_procedure', '6'), (30, 'source_data', '5'), (30, 'target_feature', 'class'), (31, 'estimation_procedure', '1'), (31, 'source_data', '6'), (31, 'target_feature', 'class'), (32, 'estimation_procedure', '2'), (32, 'source_data', '6'), (32, 'target_feature', 'class'), (33, 'estimation_procedure', '3'), (33, 'source_data', '6'), (33, 'target_feature', 'class'), (34, 'estimation_procedure', '4'), (34, 'source_data', '6'), (34, 'target_feature', 'class'), (35, 'estimation_procedure', '5'), (35, 'source_data', '6'), (35, 'target_feature', 'class'), (36, 'estimation_procedure', '6'), (36, 'source_data', '6'), (36, 'target_feature', 'class'), (37, 'estimation_procedure', '1'), (37, 'source_data', '7'), (37, 'target_feature', 'Class'), (38, 'estimation_procedure', '2'), (38, 'source_data', '7'), (38, 'target_feature', 'Class'), (39, 'estimation_procedure', '3'), (39, 'source_data', '7'), (39, 'target_feature', 'Class'), (40, 'estimation_procedure', '4'), (40, 'source_data', '7'), (40, 'target_feature', 'Class'), (41, 'estimation_procedure', '5'), (41, 'source_data', '7'), (41, 'target_feature', 'Class'), (42, 'estimation_procedure', '6'), (42, 'source_data', '7'), (42, 'target_feature', 'Class'), (43, 'estimation_procedure', '1'), (43, 'source_data', '8'), (43, 'target_feature', 'class'), (44, 'estimation_procedure', '2'), (44, 'source_data', '8'), (44, 'target_feature', 'class'), (45, 'estimation_procedure', '3'), (45, 'source_data', '8'), (45, 'target_feature', 'class'), (46, 'estimation_procedure', '4'), (46, 'source_data', '8'), (46, 'target_feature', 'class'), (47, 'estimation_procedure', '5'), (47, 'source_data', '8'), (47, 'target_feature', 'class'), (48, 'estimation_procedure', '6'), (48, 'source_data', '8'), (48, 'target_feature', 'class'), (49, 'estimation_procedure', '1'), (49, 'source_data', '9'), (49, 'target_feature', 'class'), (50, 'estimation_procedure', '2'), (50, 'source_data', '9'), (50, 'target_feature', 'class'), (51, 'estimation_procedure', '3'), (51, 'source_data', '9'), (51, 'target_feature', 'class'), (52, 'estimation_procedure', '4'), (52, 'source_data', '9'), (52, 'target_feature', 'class'), (53, 'estimation_procedure', '5'), (53, 'source_data', '9'), (53, 'target_feature', 'class'), (54, 'estimation_procedure', '6'), (54, 'source_data', '9'), (54, 'target_feature', 'class'), (55, 'estimation_procedure', '1'), (55, 'source_data', '10'), (55, 'target_feature', 'class'), (56, 'estimation_procedure', '2'), (56, 'source_data', '10'), (56, 'target_feature', 'class'), (57, 'estimation_procedure', '3'), (57, 'source_data', '10'), (57, 'target_feature', 'class'), (58, 'estimation_procedure', '4'), (58, 'source_data', '10'), (58, 'target_feature', 'class'), (59, 'estimation_procedure', '5'), (59, 'source_data', '10'), (59, 'target_feature', 'class'), (60, 'estimation_procedure', '6'), (60, 'source_data', '10'), (60, 'target_feature', 'class'), (61, 'estimation_procedure', '1'), (61, 'source_data', '11'), (61, 'target_feature', 'class'), (62, 'estimation_procedure', '2'), (62, 'source_data', '11'), (62, 'target_feature', 'class'), (63, 'estimation_procedure', '3'), (63, 'source_data', '11'), (63, 'target_feature', 'class'), (64, 'estimation_procedure', '4'), (64, 'source_data', '11'), (64, 'target_feature', 'class'), (65, 'estimation_procedure', '5'), (65, 'source_data', '11'), (65, 'target_feature', 'class'), (66, 'estimation_procedure', '6'), (66, 'source_data', '11'), (66, 'target_feature', 'class'), (67, 'estimation_procedure', '1'), (67, 'source_data', '12'), (67, 'target_feature', 'class'), (68, 'estimation_procedure', '2'), (68, 'source_data', '12'), (68, 'target_feature', 'class'), (69, 'estimation_procedure', '3'), (69, 'source_data', '12'), (69, 'target_feature', 'class'), (70, 'estimation_procedure', '4'), (70, 'source_data', '12'), (70, 'target_feature', 'class'), (71, 'estimation_procedure', '5'), (71, 'source_data', '12'), (71, 'target_feature', 'class'), (72, 'estimation_procedure', '6'), (72, 'source_data', '12'), (72, 'target_feature', 'class'), (73, 'estimation_procedure', '1'), (73, 'source_data', '13'), (73, 'target_feature', 'Contraceptive_method_used'), (74, 'estimation_procedure', '2'), (74, 'source_data', '13'), (74, 'target_feature', 'Contraceptive_method_used'), (75, 'estimation_procedure', '3'), (75, 'source_data', '13'), (75, 'target_feature', 'Contraceptive_method_used'), (76, 'estimation_procedure', '4'), (76, 'source_data', '13'), (76, 'target_feature', 'Contraceptive_method_used'), (77, 'estimation_procedure', '5'), (77, 'source_data', '13'), (77, 'target_feature', 'Contraceptive_method_used'), (78, 'estimation_procedure', '6'), (78, 'source_data', '13'), (78, 'target_feature', 'Contraceptive_method_used'), (79, 'estimation_procedure', '1'), (79, 'source_data', '14'), (79, 'target_feature', 'class'), (80, 'estimation_procedure', '2'), (80, 'source_data', '14'), (80, 'target_feature', 'class'), (81, 'estimation_procedure', '3'), (81, 'source_data', '14'), (81, 'target_feature', 'class'), (82, 'estimation_procedure', '4'), (82, 'source_data', '14'), (82, 'target_feature', 'class'), (83, 'estimation_procedure', '5'), (83, 'source_data', '14'), (83, 'target_feature', 'class'), (84, 'estimation_procedure', '6'), (84, 'source_data', '14'), (84, 'target_feature', 'class'), (85, 'estimation_procedure', '1'), (85, 'source_data', '15'), (85, 'target_feature', 'class'), (86, 'estimation_procedure', '2'), (86, 'source_data', '15'), (86, 'target_feature', 'class'), (87, 'estimation_procedure', '3'), (87, 'source_data', '15'), (87, 'target_feature', 'class'), (88, 'estimation_procedure', '4'), (88, 'source_data', '15'), (88, 'target_feature', 'class'), (89, 'estimation_procedure', '5'), (89, 'source_data', '15'), (89, 'target_feature', 'class'), (90, 'estimation_procedure', '6'), (90, 'source_data', '15'), (90, 'target_feature', 'class'), (91, 'estimation_procedure', '1'), (91, 'source_data', '16'), (91, 'target_feature', 'class'), (92, 'estimation_procedure', '2'), (92, 'source_data', '16'), (92, 'target_feature', 'class'), (93, 'estimation_procedure', '3'), (93, 'source_data', '16'), (93, 'target_feature', 'class'), (94, 'estimation_procedure', '4'), (94, 'source_data', '16'), (94, 'target_feature', 'class'), (95, 'estimation_procedure', '5'), (95, 'source_data', '16'), (95, 'target_feature', 'class'), (96, 'estimation_procedure', '6'), (96, 'source_data', '16'), (96, 'target_feature', 'class'), (97, 'estimation_procedure', '1'), (97, 'source_data', '17'), (97, 'target_feature', 'class'), (98, 'estimation_procedure', '2'), (98, 'source_data', '17'), (98, 'target_feature', 'class'), (99, 'estimation_procedure', '3'), (99, 'source_data', '17'), (99, 'target_feature', 'class'), (100, 'estimation_procedure', '4'), (100, 'source_data', '17'), (100, 'target_feature', 'class'), (101, 'estimation_procedure', '5'), (101, 'source_data', '17'), (101, 'target_feature', 'class'), (102, 'estimation_procedure', '6'), (102, 'source_data', '17'), (102, 'target_feature', 'class'), (103, 'estimation_procedure', '1'), (103, 'source_data', '18'), (103, 'target_feature', 'class'), (104, 'estimation_procedure', '2'), (104, 'source_data', '18'), (104, 'target_feature', 'class'), (105, 'estimation_procedure', '3'), (105, 'source_data', '18'), (105, 'target_feature', 'class'), (106, 'estimation_procedure', '4'), (106, 'source_data', '18'), (106, 'target_feature', 'class'), (107, 'estimation_procedure', '5'), (107, 'source_data', '18'), (107, 'target_feature', 'class'), (108, 'estimation_procedure', '6'), (108, 'source_data', '18'), (108, 'target_feature', 'class'), (109, 'estimation_procedure', '1'), (109, 'source_data', '19'), (109, 'target_feature', 'class'), (110, 'estimation_procedure', '2'), (110, 'source_data', '19'), (110, 'target_feature', 'class'), (111, 'estimation_procedure', '3'), (111, 'source_data', '19'), (111, 'target_feature', 'class'), (112, 'estimation_procedure', '4'), (112, 'source_data', '19'), (112, 'target_feature', 'class'), (113, 'estimation_procedure', '5'), (113, 'source_data', '19'), (113, 'target_feature', 'class'), (114, 'estimation_procedure', '6'), (114, 'source_data', '19'), (114, 'target_feature', 'class'), (115, 'estimation_procedure', '1'), (115, 'source_data', '20'), (115, 'target_feature', 'class'), (116, 'estimation_procedure', '2'), (116, 'source_data', '20'), (116, 'target_feature', 'class'), (117, 'estimation_procedure', '3'), (117, 'source_data', '20'), (117, 'target_feature', 'class'), (118, 'estimation_procedure', '4'), (118, 'source_data', '20'), (118, 'target_feature', 'class'), (119, 'estimation_procedure', '5'), (119, 'source_data', '20'), (119, 'target_feature', 'class'), (120, 'estimation_procedure', '6'), (120, 'source_data', '20'), (120, 'target_feature', 'class'), (121, 'estimation_procedure', '1'), (121, 'source_data', '21'), (121, 'target_feature', 'Class'), (122, 'estimation_procedure', '2'), (122, 'source_data', '21'), (122, 'target_feature', 'Class'), (123, 'estimation_procedure', '3'), (123, 'source_data', '21'), (123, 'target_feature', 'Class'), (124, 'estimation_procedure', '4'), (124, 'source_data', '21'), (124, 'target_feature', 'Class'), (125, 'estimation_procedure', '5'), (125, 'source_data', '21'), (125, 'target_feature', 'Class'), (126, 'estimation_procedure', '6'), (126, 'source_data', '21'), (126, 'target_feature', 'Class'), (127, 'estimation_procedure', '1'), (127, 'source_data', '22'), (127, 'target_feature', 'class'), (128, 'estimation_procedure', '2'), (128, 'source_data', '22'), (128, 'target_feature', 'class'), (129, 'estimation_procedure', '3'), (129, 'source_data', '22'), (129, 'target_feature', 'class'), (130, 'estimation_procedure', '4'), (130, 'source_data', '22'), (130, 'target_feature', 'class'), (131, 'estimation_procedure', '5'), (131, 'source_data', '22'), (131, 'target_feature', 'class'), (132, 'estimation_procedure', '6'), (132, 'source_data', '22'), (132, 'target_feature', 'class'), (133, 'estimation_procedure', '1'), (133, 'source_data', '23'), (133, 'target_feature', 'class'), (134, 'estimation_procedure', '2'), (134, 'source_data', '23'), (134, 'target_feature', 'class'), (135, 'estimation_procedure', '3'), (135, 'source_data', '23'), (135, 'target_feature', 'class'), (136, 'estimation_procedure', '4'), (136, 'source_data', '23'), (136, 'target_feature', 'class'), (137, 'estimation_procedure', '5'), (137, 'source_data', '23'), (137, 'target_feature', 'class'), (138, 'estimation_procedure', '6'), (138, 'source_data', '23'), (138, 'target_feature', 'class'), (139, 'estimation_procedure', '1'), (139, 'source_data', '24'), (139, 'target_feature', 'Class'), (140, 'estimation_procedure', '2'), (140, 'source_data', '24'), (140, 'target_feature', 'Class'), (141, 'estimation_procedure', '3'), (141, 'source_data', '24'), (141, 'target_feature', 'Class'), (142, 'estimation_procedure', '4'), (142, 'source_data', '24'), (142, 'target_feature', 'Class'), (143, 'estimation_procedure', '5'), (143, 'source_data', '24'), (143, 'target_feature', 'Class'), (144, 'estimation_procedure', '6'), (144, 'source_data', '24'), (144, 'target_feature', 'Class'), (145, 'estimation_procedure', '1'), (145, 'source_data', '25'), (145, 'target_feature', 'Class'), (146, 'estimation_procedure', '2'), (146, 'source_data', '25'), (146, 'target_feature', 'Class'), (147, 'estimation_procedure', '3'), (147, 'source_data', '25'), (147, 'target_feature', 'Class'), (148, 'estimation_procedure', '4'), (148, 'source_data', '25'), (148, 'target_feature', 'Class'), (149, 'estimation_procedure', '5'), (149, 'source_data', '25'), (149, 'target_feature', 'Class'), (150, 'estimation_procedure', '6'), (150, 'source_data', '25'), (150, 'target_feature', 'Class'), (151, 'estimation_procedure', '1'), (151, 'source_data', '26'), (151, 'target_feature', 'Class'), (152, 'estimation_procedure', '2'), (152, 'source_data', '26'), (152, 'target_feature', 'Class'), (153, 'estimation_procedure', '3'), (153, 'source_data', '26'), (153, 'target_feature', 'Class'), (154, 'estimation_procedure', '4'), (154, 'source_data', '26'), (154, 'target_feature', 'Class'), (155, 'estimation_procedure', '5'), (155, 'source_data', '26'), (155, 'target_feature', 'Class'), (156, 'estimation_procedure', '6'), (156, 'source_data', '26'), (156, 'target_feature', 'Class'), (157, 'estimation_procedure', '1'), (157, 'source_data', '27'), (157, 'target_feature', 'class'), (158, 'estimation_procedure', '2'), (158, 'source_data', '27'), (158, 'target_feature', 'class'), (159, 'estimation_procedure', '3'), (159, 'source_data', '27'), (159, 'target_feature', 'class'), (160, 'estimation_procedure', '4'), (160, 'source_data', '27'), (160, 'target_feature', 'class'), (161, 'estimation_procedure', '5'), (161, 'source_data', '27'), (161, 'target_feature', 'class'), (162, 'estimation_procedure', '6'), (162, 'source_data', '27'), (162, 'target_feature', 'class'), (163, 'estimation_procedure', '1'), (163, 'source_data', '28'), (163, 'target_feature', 'class'), (164, 'estimation_procedure', '2'), (164, 'source_data', '28'), (164, 'target_feature', 'class'), (165, 'estimation_procedure', '3'), (165, 'source_data', '28'), (165, 'target_feature', 'class'), (166, 'estimation_procedure', '4'), (166, 'source_data', '28'), (166, 'target_feature', 'class'), (167, 'estimation_procedure', '5'), (167, 'source_data', '28'), (167, 'target_feature', 'class'), (168, 'estimation_procedure', '6'), (168, 'source_data', '28'), (168, 'target_feature', 'class'), (169, 'estimation_procedure', '1'), (169, 'source_data', '29'), (169, 'target_feature', 'class'), (170, 'estimation_procedure', '2'), (170, 'source_data', '29'), (170, 'target_feature', 'class'), (171, 'estimation_procedure', '3'), (171, 'source_data', '29'), (171, 'target_feature', 'class'), (172, 'estimation_procedure', '4'), (172, 'source_data', '29'), (172, 'target_feature', 'class'), (173, 'estimation_procedure', '5'), (173, 'source_data', '29'), (173, 'target_feature', 'class'), (174, 'estimation_procedure', '6'), (174, 'source_data', '29'), (174, 'target_feature', 'class'), (175, 'estimation_procedure', '1'), (175, 'source_data', '30'), (175, 'target_feature', 'Class_number_of_rings'), (176, 'estimation_procedure', '2'), (176, 'source_data', '30'), (176, 'target_feature', 'Class_number_of_rings'), (177, 'estimation_procedure', '3'), (177, 'source_data', '30'), (177, 'target_feature', 'Class_number_of_rings'), (178, 'estimation_procedure', '4'), (178, 'source_data', '30'), (178, 'target_feature', 'Class_number_of_rings'), (179, 'estimation_procedure', '5'), (179, 'source_data', '30'), (179, 'target_feature', 'Class_number_of_rings'), (180, 'estimation_procedure', '6'), (180, 'source_data', '30'), (180, 'target_feature', 'Class_number_of_rings'), (181, 'estimation_procedure', '1'), (181, 'source_data', '31'), (181, 'target_feature', 'Utility'), (182, 'estimation_procedure', '2'), (182, 'source_data', '31'), (182, 'target_feature', 'Utility'), (183, 'estimation_procedure', '3'), (183, 'source_data', '31'), (183, 'target_feature', 'Utility'), (184, 'estimation_procedure', '4'), (184, 'source_data', '31'), (184, 'target_feature', 'Utility'), (185, 'estimation_procedure', '5'), (185, 'source_data', '31'), (185, 'target_feature', 'Utility'), (186, 'estimation_procedure', '6'), (186, 'source_data', '31'), (186, 'target_feature', 'Utility'), (187, 'estimation_procedure', '1'), (187, 'source_data', '32'), (187, 'target_feature', 'class'), (188, 'estimation_procedure', '2'), (188, 'source_data', '32'), (188, 'target_feature', 'class'), (189, 'estimation_procedure', '3'), (189, 'source_data', '32'), (189, 'target_feature', 'class'), (190, 'estimation_procedure', '4'), (190, 'source_data', '32'), (190, 'target_feature', 'class'), (191, 'estimation_procedure', '5'), (191, 'source_data', '32'), (191, 'target_feature', 'class'), (192, 'estimation_procedure', '6'), (192, 'source_data', '32'), (192, 'target_feature', 'class'), (193, 'estimation_procedure', '1'), (193, 'source_data', '33'), (193, 'target_feature', 'Class'), (194, 'estimation_procedure', '2'), (194, 'source_data', '33'), (194, 'target_feature', 'Class'), (195, 'estimation_procedure', '3'), (195, 'source_data', '33'), (195, 'target_feature', 'Class'), (196, 'estimation_procedure', '4'), (196, 'source_data', '33'), (196, 'target_feature', 'Class'), (197, 'estimation_procedure', '5'), (197, 'source_data', '33'), (197, 'target_feature', 'Class'), (198, 'estimation_procedure', '6'), (198, 'source_data', '33'), (198, 'target_feature', 'Class'), (199, 'estimation_procedure', '1'), (199, 'source_data', '34'), (199, 'target_feature', 'Urban'), (200, 'estimation_procedure', '2'), (200, 'source_data', '34'), (200, 'target_feature', 'Urban'), (201, 'estimation_procedure', '3'), (201, 'source_data', '34'), (201, 'target_feature', 'Urban'), (202, 'estimation_procedure', '4'), (202, 'source_data', '34'), (202, 'target_feature', 'Urban'), (203, 'estimation_procedure', '5'), (203, 'source_data', '34'), (203, 'target_feature', 'Urban'), (204, 'estimation_procedure', '6'), (204, 'source_data', '34'), (204, 'target_feature', 'Urban'), (205, 'estimation_procedure', '1'), (205, 'source_data', '35'), (205, 'target_feature', 'class'), (206, 'estimation_procedure', '2'), (206, 'source_data', '35'), (206, 'target_feature', 'class'), (207, 'estimation_procedure', '3'), (207, 'source_data', '35'), (207, 'target_feature', 'class'), (208, 'estimation_procedure', '4'), (208, 'source_data', '35'), (208, 'target_feature', 'class'), (209, 'estimation_procedure', '5'), (209, 'source_data', '35'), (209, 'target_feature', 'class'), (210, 'estimation_procedure', '6'), (210, 'source_data', '35'), (210, 'target_feature', 'class'), (211, 'estimation_procedure', '1'), (211, 'source_data', '36'), (211, 'target_feature', 'class'), (212, 'estimation_procedure', '2'), (212, 'source_data', '36'), (212, 'target_feature', 'class'), (213, 'estimation_procedure', '3'), (213, 'source_data', '36'), (213, 'target_feature', 'class'), (214, 'estimation_procedure', '4'), (214, 'source_data', '36'), (214, 'target_feature', 'class'), (215, 'estimation_procedure', '5'), (215, 'source_data', '36'), (215, 'target_feature', 'class'), (216, 'estimation_procedure', '6'), (216, 'source_data', '36'), (216, 'target_feature', 'class'), (217, 'estimation_procedure', '1'), (217, 'source_data', '37'), (217, 'target_feature', 'class'), (218, 'estimation_procedure', '2'), (218, 'source_data', '37'), (218, 'target_feature', 'class'), (219, 'estimation_procedure', '3'), (219, 'source_data', '37'), (219, 'target_feature', 'class'), (220, 'estimation_procedure', '4'), (220, 'source_data', '37'), (220, 'target_feature', 'class'), (221, 'estimation_procedure', '5'), (221, 'source_data', '37'), (221, 'target_feature', 'class'), (222, 'estimation_procedure', '6'), (222, 'source_data', '37'), (222, 'target_feature', 'class'), (223, 'estimation_procedure', '1'), (223, 'source_data', '38'), (223, 'target_feature', 'speaker'), (224, 'estimation_procedure', '2'), (224, 'source_data', '38'), (224, 'target_feature', 'speaker'), (225, 'estimation_procedure', '3'), (225, 'source_data', '38'), (225, 'target_feature', 'speaker'), (226, 'estimation_procedure', '4'), (226, 'source_data', '38'), (226, 'target_feature', 'speaker'), (227, 'estimation_procedure', '5'), (227, 'source_data', '38'), (227, 'target_feature', 'speaker'), (228, 'estimation_procedure', '6'), (228, 'source_data', '38'), (228, 'target_feature', 'speaker'), (229, 'estimation_procedure', '1'), (229, 'source_data', '39'), (229, 'target_feature', 'class'), (230, 'estimation_procedure', '2'), (230, 'source_data', '39'), (230, 'target_feature', 'class'), (231, 'estimation_procedure', '3'), (231, 'source_data', '39'), (231, 'target_feature', 'class'), (232, 'estimation_procedure', '4'), (232, 'source_data', '39'), (232, 'target_feature', 'class'), (233, 'estimation_procedure', '5'), (233, 'source_data', '39'), (233, 'target_feature', 'class'), (234, 'estimation_procedure', '6'), (234, 'source_data', '39'), (234, 'target_feature', 'class'), (235, 'estimation_procedure', '1'), (235, 'source_data', '40'), (235, 'target_feature', 'Leaving_Certificate'), (236, 'estimation_procedure', '2'), (236, 'source_data', '40'), (236, 'target_feature', 'Leaving_Certificate'), (237, 'estimation_procedure', '3'), (237, 'source_data', '40'), (237, 'target_feature', 'Leaving_Certificate'), (238, 'estimation_procedure', '4'), (238, 'source_data', '40'), (238, 'target_feature', 'Leaving_Certificate'), (239, 'estimation_procedure', '5'), (239, 'source_data', '40'), (239, 'target_feature', 'Leaving_Certificate'), (240, 'estimation_procedure', '6'), (240, 'source_data', '40'), (240, 'target_feature', 'Leaving_Certificate'), (241, 'estimation_procedure', '1'), (241, 'source_data', '41'), (241, 'target_feature', 'Author'), (242, 'estimation_procedure', '2'), (242, 'source_data', '41'), (242, 'target_feature', 'Author'), (243, 'estimation_procedure', '3'), (243, 'source_data', '41'), (243, 'target_feature', 'Author'), (244, 'estimation_procedure', '4'), (244, 'source_data', '41'), (244, 'target_feature', 'Author'), (245, 'estimation_procedure', '5'), (245, 'source_data', '41'), (245, 'target_feature', 'Author'), (246, 'estimation_procedure', '6'), (246, 'source_data', '41'), (246, 'target_feature', 'Author'), (247, 'estimation_procedure', '1'), (247, 'source_data', '42'), (247, 'target_feature', 'Prevention'), (248, 'estimation_procedure', '2'), (248, 'source_data', '42'), (248, 'target_feature', 'Prevention'), (249, 'estimation_procedure', '3'), (249, 'source_data', '42'), (249, 'target_feature', 'Prevention'), (250, 'estimation_procedure', '4'), (250, 'source_data', '42'), (250, 'target_feature', 'Prevention'), (251, 'estimation_procedure', '5'), (251, 'source_data', '42'), (251, 'target_feature', 'Prevention'), (252, 'estimation_procedure', '6'), (252, 'source_data', '42'), (252, 'target_feature', 'Prevention'), (253, 'estimation_procedure', '1'), (253, 'source_data', '43'), (253, 'target_feature', 'Home/Away'), (254, 'estimation_procedure', '2'), (254, 'source_data', '43'), (254, 'target_feature', 'Home/Away'), (255, 'estimation_procedure', '3'), (255, 'source_data', '43'), (255, 'target_feature', 'Home/Away'), (256, 'estimation_procedure', '4'), (256, 'source_data', '43'), (256, 'target_feature', 'Home/Away'), (257, 'estimation_procedure', '5'), (257, 'source_data', '43'), (257, 'target_feature', 'Home/Away'), (258, 'estimation_procedure', '6'), (258, 'source_data', '43'), (258, 'target_feature', 'Home/Away'), (259, 'estimation_procedure', '1'), (259, 'source_data', '44'), (259, 'target_feature', 'Corp.Genre'), (260, 'estimation_procedure', '2'), (260, 'source_data', '44'), (260, 'target_feature', 'Corp.Genre'), (261, 'estimation_procedure', '3'), (261, 'source_data', '44'), (261, 'target_feature', 'Corp.Genre'), (262, 'estimation_procedure', '4'), (262, 'source_data', '44'), (262, 'target_feature', 'Corp.Genre'), (263, 'estimation_procedure', '5'), (263, 'source_data', '44'), (263, 'target_feature', 'Corp.Genre'), (264, 'estimation_procedure', '6'), (264, 'source_data', '44'), (264, 'target_feature', 'Corp.Genre'), (265, 'estimation_procedure', '1'), (265, 'source_data', '45'), (265, 'target_feature', 'label'), (266, 'estimation_procedure', '2'), (266, 'source_data', '45'), (266, 'target_feature', 'label'), (267, 'estimation_procedure', '3'), (267, 'source_data', '45'), (267, 'target_feature', 'label'), (268, 'estimation_procedure', '4'), (268, 'source_data', '45'), (268, 'target_feature', 'label'), (269, 'estimation_procedure', '5'), (269, 'source_data', '45'), (269, 'target_feature', 'label'), (270, 'estimation_procedure', '6'), (270, 'source_data', '45'), (270, 'target_feature', 'label'), (271, 'estimation_procedure', '1'), (271, 'source_data', '46'), (271, 'target_feature', 'label'), (272, 'estimation_procedure', '2'), (272, 'source_data', '46'), (272, 'target_feature', 'label'), (273, 'estimation_procedure', '3'), (273, 'source_data', '46'), (273, 'target_feature', 'label'), (274, 'estimation_procedure', '4'), (274, 'source_data', '46'), (274, 'target_feature', 'label'), (275, 'estimation_procedure', '5'), (275, 'source_data', '46'), (275, 'target_feature', 'label'), (276, 'estimation_procedure', '6'), (276, 'source_data', '46'), (276, 'target_feature', 'label'), (277, 'estimation_procedure', '1'), (277, 'source_data', '47'), (277, 'target_feature', 'label'), (278, 'estimation_procedure', '2'), (278, 'source_data', '47'), (278, 'target_feature', 'label'), (279, 'estimation_procedure', '3'), (279, 'source_data', '47'), (279, 'target_feature', 'label'), (280, 'estimation_procedure', '4'), (280, 'source_data', '47'), (280, 'target_feature', 'label'), (281, 'estimation_procedure', '5'), (281, 'source_data', '47'), (281, 'target_feature', 'label'), (282, 'estimation_procedure', '6'), (282, 'source_data', '47'), (282, 'target_feature', 'label'), (283, 'estimation_procedure', '1'), (283, 'source_data', '48'), (283, 'target_feature', 'state'), (284, 'estimation_procedure', '2'), (284, 'source_data', '48'), (284, 'target_feature', 'state'), (285, 'estimation_procedure', '3'), (285, 'source_data', '48'), (285, 'target_feature', 'state'), (286, 'estimation_procedure', '4'), (286, 'source_data', '48'), (286, 'target_feature', 'state'), (287, 'estimation_procedure', '5'), (287, 'source_data', '48'), (287, 'target_feature', 'state'), (288, 'estimation_procedure', '6'), (288, 'source_data', '48'), (288, 'target_feature', 'state'), (289, 'estimation_procedure', '1'), (289, 'source_data', '49'), (289, 'target_feature', 'c'), (290, 'estimation_procedure', '2'), (290, 'source_data', '49'), (290, 'target_feature', 'c'), (291, 'estimation_procedure', '3'), (291, 'source_data', '49'), (291, 'target_feature', 'c'), (292, 'estimation_procedure', '4'), (292, 'source_data', '49'), (292, 'target_feature', 'c'), (293, 'estimation_procedure', '5'), (293, 'source_data', '49'), (293, 'target_feature', 'c'), (294, 'estimation_procedure', '6'), (294, 'source_data', '49'), (294, 'target_feature', 'c'), (295, 'estimation_procedure', '1'), (295, 'source_data', '50'), (295, 'target_feature', 'c'), (296, 'estimation_procedure', '2'), (296, 'source_data', '50'), (296, 'target_feature', 'c'), (297, 'estimation_procedure', '3'), (297, 'source_data', '50'), (297, 'target_feature', 'c'), (298, 'estimation_procedure', '4'), (298, 'source_data', '50'), (298, 'target_feature', 'c'), (299, 'estimation_procedure', '5'), (299, 'source_data', '50'), (299, 'target_feature', 'c'), (300, 'estimation_procedure', '6'), (300, 'source_data', '50'), (300, 'target_feature', 'c'), (301, 'estimation_procedure', '1'), (301, 'source_data', '51'), (301, 'target_feature', 'defects'), (302, 'estimation_procedure', '2'), (302, 'source_data', '51'), (302, 'target_feature', 'defects'), (303, 'estimation_procedure', '3'), (303, 'source_data', '51'), (303, 'target_feature', 'defects'), (304, 'estimation_procedure', '4'), (304, 'source_data', '51'), (304, 'target_feature', 'defects'), (305, 'estimation_procedure', '5'), (305, 'source_data', '51'), (305, 'target_feature', 'defects'), (306, 'estimation_procedure', '6'), (306, 'source_data', '51'), (306, 'target_feature', 'defects'), (307, 'estimation_procedure', '1'), (307, 'source_data', '52'), (307, 'target_feature', 'problems'), (308, 'estimation_procedure', '2'), (308, 'source_data', '52'), (308, 'target_feature', 'problems'), (309, 'estimation_procedure', '3'), (309, 'source_data', '52'), (309, 'target_feature', 'problems'), (310, 'estimation_procedure', '4'), (310, 'source_data', '52'), (310, 'target_feature', 'problems'), (311, 'estimation_procedure', '5'), (311, 'source_data', '52'), (311, 'target_feature', 'problems'), (312, 'estimation_procedure', '6'), (312, 'source_data', '52'), (312, 'target_feature', 'problems'), (313, 'estimation_procedure', '1'), (313, 'source_data', '53'), (313, 'target_feature', 'defects'), (314, 'estimation_procedure', '2'), (314, 'source_data', '53'), (314, 'target_feature', 'defects'), (315, 'estimation_procedure', '3'), (315, 'source_data', '53'), (315, 'target_feature', 'defects'), (316, 'estimation_procedure', '4'), (316, 'source_data', '53'), (316, 'target_feature', 'defects'), (317, 'estimation_procedure', '5'), (317, 'source_data', '53'), (317, 'target_feature', 'defects'), (318, 'estimation_procedure', '6'), (318, 'source_data', '53'), (318, 'target_feature', 'defects'), (319, 'estimation_procedure', '1'), (319, 'source_data', '54'), (319, 'target_feature', 'defects'), (320, 'estimation_procedure', '2'), (320, 'source_data', '54'), (320, 'target_feature', 'defects'), (321, 'estimation_procedure', '3'), (321, 'source_data', '54'), (321, 'target_feature', 'defects'), (322, 'estimation_procedure', '4'), (322, 'source_data', '54'), (322, 'target_feature', 'defects'), (323, 'estimation_procedure', '5'), (323, 'source_data', '54'), (323, 'target_feature', 'defects'), (324, 'estimation_procedure', '6'), (324, 'source_data', '54'), (324, 'target_feature', 'defects'), (325, 'estimation_procedure', '1'), (325, 'source_data', '55'), (325, 'target_feature', 'CHURN'), (326, 'estimation_procedure', '2'), (326, 'source_data', '55'), (326, 'target_feature', 'CHURN'), (327, 'estimation_procedure', '3'), (327, 'source_data', '55'), (327, 'target_feature', 'CHURN'), (328, 'estimation_procedure', '4'), (328, 'source_data', '55'), (328, 'target_feature', 'CHURN'), (329, 'estimation_procedure', '5'), (329, 'source_data', '55'), (329, 'target_feature', 'CHURN'), (330, 'estimation_procedure', '6'), (330, 'source_data', '55'), (330, 'target_feature', 'CHURN'), (331, 'estimation_procedure', '1'), (331, 'source_data', '56'), (331, 'target_feature', 'UPSELLING'), (332, 'estimation_procedure', '2'), (332, 'source_data', '56'), (332, 'target_feature', 'UPSELLING'), (333, 'estimation_procedure', '3'), (333, 'source_data', '56'), (333, 'target_feature', 'UPSELLING'), (334, 'estimation_procedure', '4'), (334, 'source_data', '56'), (334, 'target_feature', 'UPSELLING'), (335, 'estimation_procedure', '5'), (335, 'source_data', '56'), (335, 'target_feature', 'UPSELLING'), (336, 'estimation_procedure', '6'), (336, 'source_data', '56'), (336, 'target_feature', 'UPSELLING'), (337, 'estimation_procedure', '1'), (337, 'source_data', '57'), (337, 'target_feature', 'class'), (338, 'estimation_procedure', '2'), (338, 'source_data', '57'), (338, 'target_feature', 'class'), (339, 'estimation_procedure', '3'), (339, 'source_data', '57'), (339, 'target_feature', 'class'), (340, 'estimation_procedure', '4'), (340, 'source_data', '57'), (340, 'target_feature', 'class'), (341, 'estimation_procedure', '5'), (341, 'source_data', '57'), (341, 'target_feature', 'class'), (342, 'estimation_procedure', '6'), (342, 'source_data', '57'), (342, 'target_feature', 'class'), (343, 'estimation_procedure', '1'), (343, 'source_data', '58'), (343, 'target_feature', 'class:'), (344, 'estimation_procedure', '2'), (344, 'source_data', '58'), (344, 'target_feature', 'class:'), (345, 'estimation_procedure', '3'), (345, 'source_data', '58'), (345, 'target_feature', 'class:'), (346, 'estimation_procedure', '4'), (346, 'source_data', '58'), (346, 'target_feature', 'class:'), (347, 'estimation_procedure', '5'), (347, 'source_data', '58'), (347, 'target_feature', 'class:'), (348, 'estimation_procedure', '6'), (348, 'source_data', '58'), (348, 'target_feature', 'class:'), (349, 'estimation_procedure', '1'), (349, 'source_data', '59'), (349, 'target_feature', 'class'), (350, 'estimation_procedure', '2'), (350, 'source_data', '59'), (350, 'target_feature', 'class'), (351, 'estimation_procedure', '3'), (351, 'source_data', '59'), (351, 'target_feature', 'class'), (352, 'estimation_procedure', '4'), (352, 'source_data', '59'), (352, 'target_feature', 'class'), (353, 'estimation_procedure', '5'), (353, 'source_data', '59'), (353, 'target_feature', 'class'), (354, 'estimation_procedure', '6'), (354, 'source_data', '59'), (354, 'target_feature', 'class'), (355, 'estimation_procedure', '1'), (355, 'source_data', '60'), (355, 'target_feature', 'click'), (356, 'estimation_procedure', '2'), (356, 'source_data', '60'), (356, 'target_feature', 'click'), (357, 'estimation_procedure', '3'), (357, 'source_data', '60'), (357, 'target_feature', 'click'), (358, 'estimation_procedure', '4'), (358, 'source_data', '60'), (358, 'target_feature', 'click'), (359, 'estimation_procedure', '5'), (359, 'source_data', '60'), (359, 'target_feature', 'click'), (360, 'estimation_procedure', '6'), (360, 'source_data', '60'), (360, 'target_feature', 'click'), (361, 'estimation_procedure', '1'), (361, 'source_data', '61'), (361, 'target_feature', 'Class'), (362, 'estimation_procedure', '2'), (362, 'source_data', '61'), (362, 'target_feature', 'Class'), (363, 'estimation_procedure', '3'), (363, 'source_data', '61'), (363, 'target_feature', 'Class'), (364, 'estimation_procedure', '4'), (364, 'source_data', '61'), (364, 'target_feature', 'Class'), (365, 'estimation_procedure', '5'), (365, 'source_data', '61'), (365, 'target_feature', 'Class'), (366, 'estimation_procedure', '6'), (366, 'source_data', '61'), (366, 'target_feature', 'Class'), (367, 'estimation_procedure', '1'), (367, 'source_data', '62'), (367, 'target_feature', 'Class'), (368, 'estimation_procedure', '2'), (368, 'source_data', '62'), (368, 'target_feature', 'Class'), (369, 'estimation_procedure', '3'), (369, 'source_data', '62'), (369, 'target_feature', 'Class'), (370, 'estimation_procedure', '4'), (370, 'source_data', '62'), (370, 'target_feature', 'Class'), (371, 'estimation_procedure', '5'), (371, 'source_data', '62'), (371, 'target_feature', 'Class'), (372, 'estimation_procedure', '6'), (372, 'source_data', '62'), (372, 'target_feature', 'Class'), (373, 'estimation_procedure', '1'), (373, 'source_data', '63'), (373, 'target_feature', 'Class'), (374, 'estimation_procedure', '2'), (374, 'source_data', '63'), (374, 'target_feature', 'Class'), (375, 'estimation_procedure', '3'), (375, 'source_data', '63'), (375, 'target_feature', 'Class'), (376, 'estimation_procedure', '4'), (376, 'source_data', '63'), (376, 'target_feature', 'Class'), (377, 'estimation_procedure', '5'), (377, 'source_data', '63'), (377, 'target_feature', 'Class'), (378, 'estimation_procedure', '6'), (378, 'source_data', '63'), (378, 'target_feature', 'Class'), (379, 'estimation_procedure', '1'), (379, 'source_data', '64'), (379, 'target_feature', 'Class'), (380, 'estimation_procedure', '2'), (380, 'source_data', '64'), (380, 'target_feature', 'Class'), (381, 'estimation_procedure', '3'), (381, 'source_data', '64'), (381, 'target_feature', 'Class'), (382, 'estimation_procedure', '4'), (382, 'source_data', '64'), (382, 'target_feature', 'Class'), (383, 'estimation_procedure', '5'), (383, 'source_data', '64'), (383, 'target_feature', 'Class'), (384, 'estimation_procedure', '6'), (384, 'source_data', '64'), (384, 'target_feature', 'Class'), (385, 'estimation_procedure', '1'), (385, 'source_data', '65'), (385, 'target_feature', 'Class'), (386, 'estimation_procedure', '2'), (386, 'source_data', '65'), (386, 'target_feature', 'Class'), (387, 'estimation_procedure', '3'), (387, 'source_data', '65'), (387, 'target_feature', 'Class'), (388, 'estimation_procedure', '4'), (388, 'source_data', '65'), (388, 'target_feature', 'Class'), (389, 'estimation_procedure', '5'), (389, 'source_data', '65'), (389, 'target_feature', 'Class'), (390, 'estimation_procedure', '6'), (390, 'source_data', '65'), (390, 'target_feature', 'Class'), (391, 'estimation_procedure', '1'), (391, 'source_data', '66'), (391, 'target_feature', 'Class'), (392, 'estimation_procedure', '2'), (392, 'source_data', '66'), (392, 'target_feature', 'Class'), (393, 'estimation_procedure', '3'), (393, 'source_data', '66'), (393, 'target_feature', 'Class'), (394, 'estimation_procedure', '4'), (394, 'source_data', '66'), (394, 'target_feature', 'Class'), (395, 'estimation_procedure', '5'), (395, 'source_data', '66'), (395, 'target_feature', 'Class'), (396, 'estimation_procedure', '6'), (396, 'source_data', '66'), (396, 'target_feature', 'Class'), (397, 'estimation_procedure', '1'), (397, 'source_data', '67'), (397, 'target_feature', 'Class'), (398, 'estimation_procedure', '2'), (398, 'source_data', '67'), (398, 'target_feature', 'Class'), (399, 'estimation_procedure', '3'), (399, 'source_data', '67'), (399, 'target_feature', 'Class'), (400, 'estimation_procedure', '4'), (400, 'source_data', '67'), (400, 'target_feature', 'Class'), (401, 'estimation_procedure', '5'), (401, 'source_data', '67'), (401, 'target_feature', 'Class'), (402, 'estimation_procedure', '6'), (402, 'source_data', '67'), (402, 'target_feature', 'Class'), (403, 'estimation_procedure', '1'), (403, 'source_data', '68'), (403, 'target_feature', 'Class'), (404, 'estimation_procedure', '2'), (404, 'source_data', '68'), (404, 'target_feature', 'Class'), (405, 'estimation_procedure', '3'), (405, 'source_data', '68'), (405, 'target_feature', 'Class'), (406, 'estimation_procedure', '4'), (406, 'source_data', '68'), (406, 'target_feature', 'Class'), (407, 'estimation_procedure', '5'), (407, 'source_data', '68'), (407, 'target_feature', 'Class'), (408, 'estimation_procedure', '6'), (408, 'source_data', '68'), (408, 'target_feature', 'Class'), (409, 'estimation_procedure', '1'), (409, 'source_data', '69'), (409, 'target_feature', 'Class'), (410, 'estimation_procedure', '2'), (410, 'source_data', '69'), (410, 'target_feature', 'Class'), (411, 'estimation_procedure', '3'), (411, 'source_data', '69'), (411, 'target_feature', 'Class'), (412, 'estimation_procedure', '4'), (412, 'source_data', '69'), (412, 'target_feature', 'Class'), (413, 'estimation_procedure', '5'), (413, 'source_data', '69'), (413, 'target_feature', 'Class'), (414, 'estimation_procedure', '6'), (414, 'source_data', '69'), (414, 'target_feature', 'Class'), (415, 'estimation_procedure', '1'), (415, 'source_data', '70'), (415, 'target_feature', 'Class'), (416, 'estimation_procedure', '2'), (416, 'source_data', '70'), (416, 'target_feature', 'Class'), (417, 'estimation_procedure', '3'), (417, 'source_data', '70'), (417, 'target_feature', 'Class'), (418, 'estimation_procedure', '4'), (418, 'source_data', '70'), (418, 'target_feature', 'Class'), (419, 'estimation_procedure', '5'), (419, 'source_data', '70'), (419, 'target_feature', 'Class'), (420, 'estimation_procedure', '6'), (420, 'source_data', '70'), (420, 'target_feature', 'Class'), (421, 'estimation_procedure', '1'), (421, 'source_data', '71'), (421, 'target_feature', 'Class'), (422, 'estimation_procedure', '2'), (422, 'source_data', '71'), (422, 'target_feature', 'Class'), (423, 'estimation_procedure', '3'), (423, 'source_data', '71'), (423, 'target_feature', 'Class'), (424, 'estimation_procedure', '4'), (424, 'source_data', '71'), (424, 'target_feature', 'Class'), (425, 'estimation_procedure', '5'), (425, 'source_data', '71'), (425, 'target_feature', 'Class'), (426, 'estimation_procedure', '6'), (426, 'source_data', '71'), (426, 'target_feature', 'Class'), (427, 'estimation_procedure', '1'), (427, 'source_data', '72'), (427, 'target_feature', 'Class'), (428, 'estimation_procedure', '2'), (428, 'source_data', '72'), (428, 'target_feature', 'Class'), (429, 'estimation_procedure', '3'), (429, 'source_data', '72'), (429, 'target_feature', 'Class'), (430, 'estimation_procedure', '4'), (430, 'source_data', '72'), (430, 'target_feature', 'Class'), (431, 'estimation_procedure', '5'), (431, 'source_data', '72'), (431, 'target_feature', 'Class'), (432, 'estimation_procedure', '6'), (432, 'source_data', '72'), (432, 'target_feature', 'Class'), (433, 'estimation_procedure', '1'), (433, 'source_data', '73'), (433, 'target_feature', 'Class'), (434, 'estimation_procedure', '2'), (434, 'source_data', '73'), (434, 'target_feature', 'Class'), (435, 'estimation_procedure', '3'), (435, 'source_data', '73'), (435, 'target_feature', 'Class'), (436, 'estimation_procedure', '4'), (436, 'source_data', '73'), (436, 'target_feature', 'Class'), (437, 'estimation_procedure', '5'), (437, 'source_data', '73'), (437, 'target_feature', 'Class'), (438, 'estimation_procedure', '6'), (438, 'source_data', '73'), (438, 'target_feature', 'Class'), (439, 'estimation_procedure', '1'), (439, 'source_data', '74'), (439, 'target_feature', 'Class'), (440, 'estimation_procedure', '2'), (440, 'source_data', '74'), (440, 'target_feature', 'Class'), (441, 'estimation_procedure', '3'), (441, 'source_data', '74'), (441, 'target_feature', 'Class'), (442, 'estimation_procedure', '4'), (442, 'source_data', '74'), (442, 'target_feature', 'Class'), (443, 'estimation_procedure', '5'), (443, 'source_data', '74'), (443, 'target_feature', 'Class'), (444, 'estimation_procedure', '6'), (444, 'source_data', '74'), (444, 'target_feature', 'Class'), (445, 'estimation_procedure', '1'), (445, 'source_data', '75'), (445, 'target_feature', 'Class'), (446, 'estimation_procedure', '2'), (446, 'source_data', '75'), (446, 'target_feature', 'Class'), (447, 'estimation_procedure', '3'), (447, 'source_data', '75'), (447, 'target_feature', 'Class'), (448, 'estimation_procedure', '4'), (448, 'source_data', '75'), (448, 'target_feature', 'Class'), (449, 'estimation_procedure', '5'), (449, 'source_data', '75'), (449, 'target_feature', 'Class'), (450, 'estimation_procedure', '6'), (450, 'source_data', '75'), (450, 'target_feature', 'Class'), (451, 'estimation_procedure', '1'), (451, 'source_data', '76'), (451, 'target_feature', 'Class'), (452, 'estimation_procedure', '2'), (452, 'source_data', '76'), (452, 'target_feature', 'Class'), (453, 'estimation_procedure', '3'), (453, 'source_data', '76'), (453, 'target_feature', 'Class'), (454, 'estimation_procedure', '4'), (454, 'source_data', '76'), (454, 'target_feature', 'Class'), (455, 'estimation_procedure', '5'), (455, 'source_data', '76'), (455, 'target_feature', 'Class'), (456, 'estimation_procedure', '6'), (456, 'source_data', '76'), (456, 'target_feature', 'Class'), (457, 'estimation_procedure', '1'), (457, 'source_data', '77'), (457, 'target_feature', 'Class'), (458, 'estimation_procedure', '2'), (458, 'source_data', '77'), (458, 'target_feature', 'Class'), (459, 'estimation_procedure', '3'), (459, 'source_data', '77'), (459, 'target_feature', 'Class'), (460, 'estimation_procedure', '4'), (460, 'source_data', '77'), (460, 'target_feature', 'Class'), (461, 'estimation_procedure', '5'), (461, 'source_data', '77'), (461, 'target_feature', 'Class'), (462, 'estimation_procedure', '6'), (462, 'source_data', '77'), (462, 'target_feature', 'Class'), (463, 'estimation_procedure', '1'), (463, 'source_data', '78'), (463, 'target_feature', 'Class'), (464, 'estimation_procedure', '2'), (464, 'source_data', '78'), (464, 'target_feature', 'Class'), (465, 'estimation_procedure', '3'), (465, 'source_data', '78'), (465, 'target_feature', 'Class'), (466, 'estimation_procedure', '4'), (466, 'source_data', '78'), (466, 'target_feature', 'Class'), (467, 'estimation_procedure', '5'), (467, 'source_data', '78'), (467, 'target_feature', 'Class'), (468, 'estimation_procedure', '6'), (468, 'source_data', '78'), (468, 'target_feature', 'Class'), (469, 'estimation_procedure', '1'), (469, 'source_data', '79'), (469, 'target_feature', 'Class'), (470, 'estimation_procedure', '2'), (470, 'source_data', '79'), (470, 'target_feature', 'Class'), (471, 'estimation_procedure', '3'), (471, 'source_data', '79'), (471, 'target_feature', 'Class'), (472, 'estimation_procedure', '4'), (472, 'source_data', '79'), (472, 'target_feature', 'Class'), (473, 'estimation_procedure', '5'), (473, 'source_data', '79'), (473, 'target_feature', 'Class'), (474, 'estimation_procedure', '6'), (474, 'source_data', '79'), (474, 'target_feature', 'Class'), (475, 'estimation_procedure', '1'), (475, 'source_data', '80'), (475, 'target_feature', 'Class'), (476, 'estimation_procedure', '2'), (476, 'source_data', '80'), (476, 'target_feature', 'Class'), (477, 'estimation_procedure', '3'), (477, 'source_data', '80'), (477, 'target_feature', 'Class'), (478, 'estimation_procedure', '4'), (478, 'source_data', '80'), (478, 'target_feature', 'Class'), (479, 'estimation_procedure', '5'), (479, 'source_data', '80'), (479, 'target_feature', 'Class'), (480, 'estimation_procedure', '6'), (480, 'source_data', '80'), (480, 'target_feature', 'Class'), (481, 'estimation_procedure', '1'), (481, 'source_data', '81'), (481, 'target_feature', 'Class'), (482, 'estimation_procedure', '2'), (482, 'source_data', '81'), (482, 'target_feature', 'Class'), (483, 'estimation_procedure', '3'), (483, 'source_data', '81'), (483, 'target_feature', 'Class'), (484, 'estimation_procedure', '4'), (484, 'source_data', '81'), (484, 'target_feature', 'Class'), (485, 'estimation_procedure', '5'), (485, 'source_data', '81'), (485, 'target_feature', 'Class'), (486, 'estimation_procedure', '6'), (486, 'source_data', '81'), (486, 'target_feature', 'Class'), (487, 'estimation_procedure', '1'), (487, 'source_data', '82'), (487, 'target_feature', 'Class'), (488, 'estimation_procedure', '2'), (488, 'source_data', '82'), (488, 'target_feature', 'Class'), (489, 'estimation_procedure', '3'), (489, 'source_data', '82'), (489, 'target_feature', 'Class'), (490, 'estimation_procedure', '4'), (490, 'source_data', '82'), (490, 'target_feature', 'Class'), (491, 'estimation_procedure', '5'), (491, 'source_data', '82'), (491, 'target_feature', 'Class'), (492, 'estimation_procedure', '6'), (492, 'source_data', '82'), (492, 'target_feature', 'Class'), (493, 'estimation_procedure', '1'), (493, 'source_data', '83'), (493, 'target_feature', 'Class'), (494, 'estimation_procedure', '2'), (494, 'source_data', '83'), (494, 'target_feature', 'Class'), (495, 'estimation_procedure', '3'), (495, 'source_data', '83'), (495, 'target_feature', 'Class'), (496, 'estimation_procedure', '4'), (496, 'source_data', '83'), (496, 'target_feature', 'Class'), (497, 'estimation_procedure', '5'), (497, 'source_data', '83'), (497, 'target_feature', 'Class'), (498, 'estimation_procedure', '6'), (498, 'source_data', '83'), (498, 'target_feature', 'Class'), (499, 'estimation_procedure', '1'), (499, 'source_data', '84'), (499, 'target_feature', 'Class'), (500, 'estimation_procedure', '2'), (500, 'source_data', '84'), (500, 'target_feature', 'Class'), (501, 'estimation_procedure', '3'), (501, 'source_data', '84'), (501, 'target_feature', 'Class'), (502, 'estimation_procedure', '4'), (502, 'source_data', '84'), (502, 'target_feature', 'Class'), (503, 'estimation_procedure', '5'), (503, 'source_data', '84'), (503, 'target_feature', 'Class'), (504, 'estimation_procedure', '6'), (504, 'source_data', '84'), (504, 'target_feature', 'Class'), (505, 'estimation_procedure', '1'), (505, 'source_data', '85'), (505, 'target_feature', 'Class'), (506, 'estimation_procedure', '2'), (506, 'source_data', '85'), (506, 'target_feature', 'Class'), (507, 'estimation_procedure', '3'), (507, 'source_data', '85'), (507, 'target_feature', 'Class'), (508, 'estimation_procedure', '4'), (508, 'source_data', '85'), (508, 'target_feature', 'Class'), (509, 'estimation_procedure', '5'), (509, 'source_data', '85'), (509, 'target_feature', 'Class'), (510, 'estimation_procedure', '6'), (510, 'source_data', '85'), (510, 'target_feature', 'Class'), (511, 'estimation_procedure', '1'), (511, 'source_data', '86'), (511, 'target_feature', 'Class'), (512, 'estimation_procedure', '2'), (512, 'source_data', '86'), (512, 'target_feature', 'Class'), (513, 'estimation_procedure', '3'), (513, 'source_data', '86'), (513, 'target_feature', 'Class'), (514, 'estimation_procedure', '4'), (514, 'source_data', '86'), (514, 'target_feature', 'Class'), (515, 'estimation_procedure', '5'), (515, 'source_data', '86'), (515, 'target_feature', 'Class'), (516, 'estimation_procedure', '6'), (516, 'source_data', '86'), (516, 'target_feature', 'Class'), (517, 'estimation_procedure', '1'), (517, 'source_data', '87'), (517, 'target_feature', 'Class'), (518, 'estimation_procedure', '2'), (518, 'source_data', '87'), (518, 'target_feature', 'Class'), (519, 'estimation_procedure', '3'), (519, 'source_data', '87'), (519, 'target_feature', 'Class'), (520, 'estimation_procedure', '4'), (520, 'source_data', '87'), (520, 'target_feature', 'Class'), (521, 'estimation_procedure', '5'), (521, 'source_data', '87'), (521, 'target_feature', 'Class'), (522, 'estimation_procedure', '6'), (522, 'source_data', '87'), (522, 'target_feature', 'Class'), (523, 'estimation_procedure', '1'), (523, 'source_data', '88'), (523, 'target_feature', 'Class'), (524, 'estimation_procedure', '2'), (524, 'source_data', '88'), (524, 'target_feature', 'Class'), (525, 'estimation_procedure', '3'), (525, 'source_data', '88'), (525, 'target_feature', 'Class'), (526, 'estimation_procedure', '4'), (526, 'source_data', '88'), (526, 'target_feature', 'Class'), (527, 'estimation_procedure', '5'), (527, 'source_data', '88'), (527, 'target_feature', 'Class'), (528, 'estimation_procedure', '6'), (528, 'source_data', '88'), (528, 'target_feature', 'Class'), (529, 'estimation_procedure', '1'), (529, 'source_data', '89'), (529, 'target_feature', 'class'), (530, 'estimation_procedure', '2'), (530, 'source_data', '89'), (530, 'target_feature', 'class'), (531, 'estimation_procedure', '3'), (531, 'source_data', '89'), (531, 'target_feature', 'class'), (532, 'estimation_procedure', '4'), (532, 'source_data', '89'), (532, 'target_feature', 'class'), (533, 'estimation_procedure', '5'), (533, 'source_data', '89'), (533, 'target_feature', 'class'), (534, 'estimation_procedure', '6'), (534, 'source_data', '89'), (534, 'target_feature', 'class'), (535, 'estimation_procedure', '1'), (535, 'source_data', '90'), (535, 'target_feature', 'target'), (536, 'estimation_procedure', '2'), (536, 'source_data', '90'), (536, 'target_feature', 'target'), (537, 'estimation_procedure', '3'), (537, 'source_data', '90'), (537, 'target_feature', 'target'), (538, 'estimation_procedure', '4'), (538, 'source_data', '90'), (538, 'target_feature', 'target'), (539, 'estimation_procedure', '5'), (539, 'source_data', '90'), (539, 'target_feature', 'target'), (540, 'estimation_procedure', '6'), (540, 'source_data', '90'), (540, 'target_feature', 'target'), (541, 'estimation_procedure', '1'), (541, 'source_data', '91'), (541, 'target_feature', 'target'), (542, 'estimation_procedure', '2'), (542, 'source_data', '91'), (542, 'target_feature', 'target'), (543, 'estimation_procedure', '3'), (543, 'source_data', '91'), (543, 'target_feature', 'target'), (544, 'estimation_procedure', '4'), (544, 'source_data', '91'), (544, 'target_feature', 'target'), (545, 'estimation_procedure', '5'), (545, 'source_data', '91'), (545, 'target_feature', 'target'), (546, 'estimation_procedure', '6'), (546, 'source_data', '91'), (546, 'target_feature', 'target'), (547, 'estimation_procedure', '1'), (547, 'source_data', '92'), (547, 'target_feature', 'Result'), (548, 'estimation_procedure', '2'), (548, 'source_data', '92'), (548, 'target_feature', 'Result'), (549, 'estimation_procedure', '3'), (549, 'source_data', '92'), (549, 'target_feature', 'Result'), (550, 'estimation_procedure', '4'), (550, 'source_data', '92'), (550, 'target_feature', 'Result'), (551, 'estimation_procedure', '5'), (551, 'source_data', '92'), (551, 'target_feature', 'Result'), (552, 'estimation_procedure', '6'), (552, 'source_data', '92'), (552, 'target_feature', 'Result'), (553, 'estimation_procedure', '1'), (553, 'source_data', '93'), (553, 'target_feature', 'Phase'), (554, 'estimation_procedure', '2'), (554, 'source_data', '93'), (554, 'target_feature', 'Phase'), (555, 'estimation_procedure', '3'), (555, 'source_data', '93'), (555, 'target_feature', 'Phase'), (556, 'estimation_procedure', '4'), (556, 'source_data', '93'), (556, 'target_feature', 'Phase'), (557, 'estimation_procedure', '5'), (557, 'source_data', '93'), (557, 'target_feature', 'Phase'), (558, 'estimation_procedure', '6'), (558, 'source_data', '93'), (558, 'target_feature', 'Phase'), (559, 'estimation_procedure', '1'), (559, 'source_data', '94'), (559, 'target_feature', 'class'), (560, 'estimation_procedure', '2'), (560, 'source_data', '94'), (560, 'target_feature', 'class'), (561, 'estimation_procedure', '3'), (561, 'source_data', '94'), (561, 'target_feature', 'class'), (562, 'estimation_procedure', '4'), (562, 'source_data', '94'), (562, 'target_feature', 'class'), (563, 'estimation_procedure', '5'), (563, 'source_data', '94'), (563, 'target_feature', 'class'), (564, 'estimation_procedure', '6'), (564, 'source_data', '94'), (564, 'target_feature', 'class'), (565, 'estimation_procedure', '1'), (565, 'source_data', '95'), (565, 'target_feature', 'band_type'), (566, 'estimation_procedure', '2'), (566, 'source_data', '95'), (566, 'target_feature', 'band_type'), (567, 'estimation_procedure', '3'), (567, 'source_data', '95'), (567, 'target_feature', 'band_type'), (568, 'estimation_procedure', '4'), (568, 'source_data', '95'), (568, 'target_feature', 'band_type'), (569, 'estimation_procedure', '5'), (569, 'source_data', '95'), (569, 'target_feature', 'band_type'), (570, 'estimation_procedure', '6'), (570, 'source_data', '95'), (570, 'target_feature', 'band_type'), (571, 'estimation_procedure', '1'), (571, 'source_data', '96'), (571, 'target_feature', 'TR'), (572, 'estimation_procedure', '2'), (572, 'source_data', '96'), (572, 'target_feature', 'TR'), (573, 'estimation_procedure', '3'), (573, 'source_data', '96'), (573, 'target_feature', 'TR'), (574, 'estimation_procedure', '4'), (574, 'source_data', '96'), (574, 'target_feature', 'TR'), (575, 'estimation_procedure', '5'), (575, 'source_data', '96'), (575, 'target_feature', 'TR'), (576, 'estimation_procedure', '6'), (576, 'source_data', '96'), (576, 'target_feature', 'TR'), (577, 'estimation_procedure', '1'), (577, 'source_data', '97'), (577, 'target_feature', 'Class'), (578, 'estimation_procedure', '2'), (578, 'source_data', '97'), (578, 'target_feature', 'Class'), (579, 'estimation_procedure', '3'), (579, 'source_data', '97'), (579, 'target_feature', 'Class'), (580, 'estimation_procedure', '4'), (580, 'source_data', '97'), (580, 'target_feature', 'Class'), (581, 'estimation_procedure', '5'), (581, 'source_data', '97'), (581, 'target_feature', 'Class'), (582, 'estimation_procedure', '6'), (582, 'source_data', '97'), (582, 'target_feature', 'Class'), (583, 'estimation_procedure', '1'), (583, 'source_data', '98'), (583, 'target_feature', 'Class'), (584, 'estimation_procedure', '2'), (584, 'source_data', '98'), (584, 'target_feature', 'Class'), (585, 'estimation_procedure', '3'), (585, 'source_data', '98'), (585, 'target_feature', 'Class'), (586, 'estimation_procedure', '4'), (586, 'source_data', '98'), (586, 'target_feature', 'Class'), (587, 'estimation_procedure', '5'), (587, 'source_data', '98'), (587, 'target_feature', 'Class'), (588, 'estimation_procedure', '6'), (588, 'source_data', '98'), (588, 'target_feature', 'Class'), (589, 'estimation_procedure', '1'), (589, 'source_data', '99'), (589, 'target_feature', 'Class'), (590, 'estimation_procedure', '2'), (590, 'source_data', '99'), (590, 'target_feature', 'Class'), (591, 'estimation_procedure', '3'), (591, 'source_data', '99'), (591, 'target_feature', 'Class'), (592, 'estimation_procedure', '4'), (592, 'source_data', '99'), (592, 'target_feature', 'Class'), (593, 'estimation_procedure', '5'), (593, 'source_data', '99'), (593, 'target_feature', 'Class'), (594, 'estimation_procedure', '6'), (594, 'source_data', '99'), (594, 'target_feature', 'Class'), (595, 'estimation_procedure', '1'), (595, 'source_data', '100'), (595, 'target_feature', 'Y'), (596, 'estimation_procedure', '2'), (596, 'source_data', '100'), (596, 'target_feature', 'Y'), (597, 'estimation_procedure', '3'), (597, 'source_data', '100'), (597, 'target_feature', 'Y'), (598, 'estimation_procedure', '4'), (598, 'source_data', '100'), (598, 'target_feature', 'Y'), (599, 'estimation_procedure', '5'), (599, 'source_data', '100'), (599, 'target_feature', 'Y'), (600, 'estimation_procedure', '6'), (600, 'source_data', '100'), (600, 'target_feature', 'Y'), (601, 'estimation_procedure', '1'), (601, 'source_data', '101'), (601, 'target_feature', 'user'), (602, 'estimation_procedure', '2'), (602, 'source_data', '101'), (602, 'target_feature', 'user'), (603, 'estimation_procedure', '3'), (603, 'source_data', '101'), (603, 'target_feature', 'user'), (604, 'estimation_procedure', '4'), (604, 'source_data', '101'), (604, 'target_feature', 'user'), (605, 'estimation_procedure', '5'), (605, 'source_data', '101'), (605, 'target_feature', 'user'), (606, 'estimation_procedure', '6'), (606, 'source_data', '101'), (606, 'target_feature', 'user'), (607, 'estimation_procedure', '1'), (607, 'source_data', '102'), (607, 'target_feature', 'class'), (608, 'estimation_procedure', '2'), (608, 'source_data', '102'), (608, 'target_feature', 'class'), (609, 'estimation_procedure', '3'), (609, 'source_data', '102'), (609, 'target_feature', 'class'), (610, 'estimation_procedure', '4'), (610, 'source_data', '102'), (610, 'target_feature', 'class'), (611, 'estimation_procedure', '5'), (611, 'source_data', '102'), (611, 'target_feature', 'class'), (612, 'estimation_procedure', '6'), (612, 'source_data', '102'), (612, 'target_feature', 'class'), (613, 'estimation_procedure', '7'), (613, 'source_data', '103'), (613, 'target_feature', 'y'), (614, 'estimation_procedure', '8'), (614, 'source_data', '103'), (614, 'target_feature', 'y'), (615, 'estimation_procedure', '9'), (615, 'source_data', '103'), (615, 'target_feature', 'y'), (616, 'estimation_procedure', '10'), (616, 'source_data', '103'), (616, 'target_feature', 'y'), (617, 'estimation_procedure', '11'), (617, 'source_data', '103'), (617, 'target_feature', 'y'), (618, 'estimation_procedure', '12'), (618, 'source_data', '103'), (618, 'target_feature', 'y'), (619, 'estimation_procedure', '7'), (619, 'source_data', '104'), (619, 'target_feature', 'grade_point_average'), (620, 'estimation_procedure', '8'), (620, 'source_data', '104'), (620, 'target_feature', 'grade_point_average'), (621, 'estimation_procedure', '9'), (621, 'source_data', '104'), (621, 'target_feature', 'grade_point_average'), (622, 'estimation_procedure', '10'), (622, 'source_data', '104'), (622, 'target_feature', 'grade_point_average'), (623, 'estimation_procedure', '11'), (623, 'source_data', '104'), (623, 'target_feature', 'grade_point_average'), (624, 'estimation_procedure', '12'), (624, 'source_data', '104'), (624, 'target_feature', 'grade_point_average'), (625, 'estimation_procedure', '7'), (625, 'source_data', '105'), (625, 'target_feature', 'time'), (626, 'estimation_procedure', '8'), (626, 'source_data', '105'), (626, 'target_feature', 'time'), (627, 'estimation_procedure', '9'), (627, 'source_data', '105'), (627, 'target_feature', 'time'), (628, 'estimation_procedure', '10'), (628, 'source_data', '105'), (628, 'target_feature', 'time'), (629, 'estimation_procedure', '11'), (629, 'source_data', '105'), (629, 'target_feature', 'time'), (630, 'estimation_procedure', '12'), (630, 'source_data', '105'), (630, 'target_feature', 'time'), (631, 'estimation_procedure', '7'), (631, 'source_data', '106'), (631, 'target_feature', 'lugs_1991'), (632, 'estimation_procedure', '8'), (632, 'source_data', '106'), (632, 'target_feature', 'lugs_1991'), (633, 'estimation_procedure', '9'), (633, 'source_data', '106'), (633, 'target_feature', 'lugs_1991'), (634, 'estimation_procedure', '10'), (634, 'source_data', '106'), (634, 'target_feature', 'lugs_1991'), (635, 'estimation_procedure', '11'), (635, 'source_data', '106'), (635, 'target_feature', 'lugs_1991'), (636, 'estimation_procedure', '12'), (636, 'source_data', '106'), (636, 'target_feature', 'lugs_1991'), (637, 'estimation_procedure', '7'), (637, 'source_data', '107'), (637, 'target_feature', 'T20BOLT'), (638, 'estimation_procedure', '8'), (638, 'source_data', '107'), (638, 'target_feature', 'T20BOLT'), (639, 'estimation_procedure', '9'), (639, 'source_data', '107'), (639, 'target_feature', 'T20BOLT'), (640, 'estimation_procedure', '10'), (640, 'source_data', '107'), (640, 'target_feature', 'T20BOLT'), (641, 'estimation_procedure', '11'), (641, 'source_data', '107'), (641, 'target_feature', 'T20BOLT'), (642, 'estimation_procedure', '12'), (642, 'source_data', '107'), (642, 'target_feature', 'T20BOLT'), (643, 'estimation_procedure', '7'), (643, 'source_data', '108'), (643, 'target_feature', 'num'), (644, 'estimation_procedure', '8'), (644, 'source_data', '108'), (644, 'target_feature', 'num'), (645, 'estimation_procedure', '9'), (645, 'source_data', '108'), (645, 'target_feature', 'num'), (646, 'estimation_procedure', '10'), (646, 'source_data', '108'), (646, 'target_feature', 'num'), (647, 'estimation_procedure', '11'), (647, 'source_data', '108'), (647, 'target_feature', 'num'), (648, 'estimation_procedure', '12'), (648, 'source_data', '108'), (648, 'target_feature', 'num'), (649, 'estimation_procedure', '7'), (649, 'source_data', '109'), (649, 'target_feature', 'price'), (650, 'estimation_procedure', '8'), (650, 'source_data', '109'), (650, 'target_feature', 'price'), (651, 'estimation_procedure', '9'), (651, 'source_data', '109'), (651, 'target_feature', 'price'), (652, 'estimation_procedure', '10'), (652, 'source_data', '109'), (652, 'target_feature', 'price'), (653, 'estimation_procedure', '11'), (653, 'source_data', '109'), (653, 'target_feature', 'price'), (654, 'estimation_procedure', '12'), (654, 'source_data', '109'), (654, 'target_feature', 'price'), (655, 'estimation_procedure', '7'), (655, 'source_data', '110'), (655, 'target_feature', 'class'), (656, 'estimation_procedure', '8'), (656, 'source_data', '110'), (656, 'target_feature', 'class'), (657, 'estimation_procedure', '9'), (657, 'source_data', '110'), (657, 'target_feature', 'class'), (658, 'estimation_procedure', '10'), (658, 'source_data', '110'), (658, 'target_feature', 'class'), (659, 'estimation_procedure', '11'), (659, 'source_data', '110'), (659, 'target_feature', 'class'), (660, 'estimation_procedure', '12'), (660, 'source_data', '110'), (660, 'target_feature', 'class'), (661, 'estimation_procedure', '7'), (661, 'source_data', '111'), (661, 'target_feature', 'usr'), (662, 'estimation_procedure', '8'), (662, 'source_data', '111'), (662, 'target_feature', 'usr'), (663, 'estimation_procedure', '9'), (663, 'source_data', '111'), (663, 'target_feature', 'usr'), (664, 'estimation_procedure', '10'), (664, 'source_data', '111'), (664, 'target_feature', 'usr'), (665, 'estimation_procedure', '11'), (665, 'source_data', '111'), (665, 'target_feature', 'usr'), (666, 'estimation_procedure', '12'), (666, 'source_data', '111'), (666, 'target_feature', 'usr'), (667, 'estimation_procedure', '7'), (667, 'source_data', '112'), (667, 'target_feature', 'Se'), (668, 'estimation_procedure', '8'), (668, 'source_data', '112'), (668, 'target_feature', 'Se'), (669, 'estimation_procedure', '9'), (669, 'source_data', '112'), (669, 'target_feature', 'Se'), (670, 'estimation_procedure', '10'), (670, 'source_data', '112'), (670, 'target_feature', 'Se'), (671, 'estimation_procedure', '11'), (671, 'source_data', '112'), (671, 'target_feature', 'Se'), (672, 'estimation_procedure', '12'), (672, 'source_data', '112'), (672, 'target_feature', 'Se'), (673, 'estimation_procedure', '7'), (673, 'source_data', '113'), (673, 'target_feature', 'class'), (674, 'estimation_procedure', '8'), (674, 'source_data', '113'), (674, 'target_feature', 'class'), (675, 'estimation_procedure', '9'), (675, 'source_data', '113'), (675, 'target_feature', 'class'), (676, 'estimation_procedure', '10'), (676, 'source_data', '113'), (676, 'target_feature', 'class'), (677, 'estimation_procedure', '11'), (677, 'source_data', '113'), (677, 'target_feature', 'class'), (678, 'estimation_procedure', '12'), (678, 'source_data', '113'), (678, 'target_feature', 'class'), (679, 'estimation_procedure', '7'), (679, 'source_data', '114'), (679, 'target_feature', 'class'), (680, 'estimation_procedure', '8'), (680, 'source_data', '114'), (680, 'target_feature', 'class'), (681, 'estimation_procedure', '9'), (681, 'source_data', '114'), (681, 'target_feature', 'class'), (682, 'estimation_procedure', '10'), (682, 'source_data', '114'), (682, 'target_feature', 'class'), (683, 'estimation_procedure', '11'), (683, 'source_data', '114'), (683, 'target_feature', 'class'), (684, 'estimation_procedure', '12'), (684, 'source_data', '114'), (684, 'target_feature', 'class'), (685, 'estimation_procedure', '7'), (685, 'source_data', '115'), (685, 'target_feature', 'foo'), (686, 'estimation_procedure', '8'), (686, 'source_data', '115'), (686, 'target_feature', 'foo'), (687, 'estimation_procedure', '9'), (687, 'source_data', '115'), (687, 'target_feature', 'foo'), (688, 'estimation_procedure', '10'), (688, 'source_data', '115'), (688, 'target_feature', 'foo'), (689, 'estimation_procedure', '11'), (689, 'source_data', '115'), (689, 'target_feature', 'foo'), (690, 'estimation_procedure', '12'), (690, 'source_data', '115'), (690, 'target_feature', 'foo'), (691, 'estimation_procedure', '7'), (691, 'source_data', '116'), (691, 'target_feature', 'class'), (692, 'estimation_procedure', '8'), (692, 'source_data', '116'), (692, 'target_feature', 'class'), (693, 'estimation_procedure', '9'), (693, 'source_data', '116'), (693, 'target_feature', 'class'), (694, 'estimation_procedure', '10'), (694, 'source_data', '116'), (694, 'target_feature', 'class'), (695, 'estimation_procedure', '11'), (695, 'source_data', '116'), (695, 'target_feature', 'class'), (696, 'estimation_procedure', '12'), (696, 'source_data', '116'), (696, 'target_feature', 'class'), (697, 'estimation_procedure', '7'), (697, 'source_data', '117'), (697, 'target_feature', 'class'), (698, 'estimation_procedure', '8'), (698, 'source_data', '117'), (698, 'target_feature', 'class'), (699, 'estimation_procedure', '9'), (699, 'source_data', '117'), (699, 'target_feature', 'class'), (700, 'estimation_procedure', '10'), (700, 'source_data', '117'), (700, 'target_feature', 'class'), (701, 'estimation_procedure', '11'), (701, 'source_data', '117'), (701, 'target_feature', 'class'), (702, 'estimation_procedure', '12'), (702, 'source_data', '117'), (702, 'target_feature', 'class'), (703, 'estimation_procedure', '7'), (703, 'source_data', '118'), (703, 'target_feature', 'chol'), (704, 'estimation_procedure', '8'), (704, 'source_data', '118'), (704, 'target_feature', 'chol'), (705, 'estimation_procedure', '9'), (705, 'source_data', '118'), (705, 'target_feature', 'chol'), (706, 'estimation_procedure', '10'), (706, 'source_data', '118'), (706, 'target_feature', 'chol'), (707, 'estimation_procedure', '11'), (707, 'source_data', '118'), (707, 'target_feature', 'chol'), (708, 'estimation_procedure', '12'), (708, 'source_data', '118'), (708, 'target_feature', 'chol'), (709, 'estimation_procedure', '7'), (709, 'source_data', '119'), (709, 'target_feature', 'danger_index'), (710, 'estimation_procedure', '8'), (710, 'source_data', '119'), (710, 'target_feature', 'danger_index'), (711, 'estimation_procedure', '9'), (711, 'source_data', '119'), (711, 'target_feature', 'danger_index'), (712, 'estimation_procedure', '10'), (712, 'source_data', '119'), (712, 'target_feature', 'danger_index'), (713, 'estimation_procedure', '11'), (713, 'source_data', '119'), (713, 'target_feature', 'danger_index'), (714, 'estimation_procedure', '12'), (714, 'source_data', '119'), (714, 'target_feature', 'danger_index'), (715, 'estimation_procedure', '7'), (715, 'source_data', '120'), (715, 'target_feature', 'activity'), (716, 'estimation_procedure', '8'), (716, 'source_data', '120'), (716, 'target_feature', 'activity'), (717, 'estimation_procedure', '9'), (717, 'source_data', '120'), (717, 'target_feature', 'activity'), (718, 'estimation_procedure', '10'), (718, 'source_data', '120'), (718, 'target_feature', 'activity'), (719, 'estimation_procedure', '11'), (719, 'source_data', '120'), (719, 'target_feature', 'activity'), (720, 'estimation_procedure', '12'), (720, 'source_data', '120'), (720, 'target_feature', 'activity'), (721, 'estimation_procedure', '7'), (721, 'source_data', '121'), (721, 'target_feature', 'class'), (722, 'estimation_procedure', '8'), (722, 'source_data', '121'), (722, 'target_feature', 'class'), (723, 'estimation_procedure', '9'), (723, 'source_data', '121'), (723, 'target_feature', 'class'), (724, 'estimation_procedure', '10'), (724, 'source_data', '121'), (724, 'target_feature', 'class'), (725, 'estimation_procedure', '11'), (725, 'source_data', '121'), (725, 'target_feature', 'class'), (726, 'estimation_procedure', '12'), (726, 'source_data', '121'), (726, 'target_feature', 'class'), (727, 'estimation_procedure', '7'), (727, 'source_data', '122'), (727, 'target_feature', 'ASR'), (728, 'estimation_procedure', '8'), (728, 'source_data', '122'), (728, 'target_feature', 'ASR'), (729, 'estimation_procedure', '9'), (729, 'source_data', '122'), (729, 'target_feature', 'ASR'), (730, 'estimation_procedure', '10'), (730, 'source_data', '122'), (730, 'target_feature', 'ASR'), (731, 'estimation_procedure', '11'), (731, 'source_data', '122'), (731, 'target_feature', 'ASR'), (732, 'estimation_procedure', '12'), (732, 'source_data', '122'), (732, 'target_feature', 'ASR'), (733, 'estimation_procedure', '7'), (733, 'source_data', '123'), (733, 'target_feature', 'richter'), (734, 'estimation_procedure', '8'), (734, 'source_data', '123'), (734, 'target_feature', 'richter'), (735, 'estimation_procedure', '9'), (735, 'source_data', '123'), (735, 'target_feature', 'richter'), (736, 'estimation_procedure', '10'), (736, 'source_data', '123'), (736, 'target_feature', 'richter'), (737, 'estimation_procedure', '11'), (737, 'source_data', '123'), (737, 'target_feature', 'richter'), (738, 'estimation_procedure', '12'), (738, 'source_data', '123'), (738, 'target_feature', 'richter'), (739, 'estimation_procedure', '7'), (739, 'source_data', '124'), (739, 'target_feature', 'TE'), (740, 'estimation_procedure', '8'), (740, 'source_data', '124'), (740, 'target_feature', 'TE'), (741, 'estimation_procedure', '9'), (741, 'source_data', '124'), (741, 'target_feature', 'TE'), (742, 'estimation_procedure', '10'), (742, 'source_data', '124'), (742, 'target_feature', 'TE'), (743, 'estimation_procedure', '11'), (743, 'source_data', '124'), (743, 'target_feature', 'TE'), (744, 'estimation_procedure', '12'), (744, 'source_data', '124'), (744, 'target_feature', 'TE'), (745, 'estimation_procedure', '7'), (745, 'source_data', '125'), (745, 'target_feature', 'employed'), (746, 'estimation_procedure', '8'), (746, 'source_data', '125'), (746, 'target_feature', 'employed'), (747, 'estimation_procedure', '9'), (747, 'source_data', '125'), (747, 'target_feature', 'employed'), (748, 'estimation_procedure', '10'), (748, 'source_data', '125'), (748, 'target_feature', 'employed'), (749, 'estimation_procedure', '11'), (749, 'source_data', '125'), (749, 'target_feature', 'employed'), (750, 'estimation_procedure', '12'), (750, 'source_data', '125'), (750, 'target_feature', 'employed'), (751, 'estimation_procedure', '7'), (751, 'source_data', '126'), (751, 'target_feature', 'c_peptide'), (752, 'estimation_procedure', '8'), (752, 'source_data', '126'), (752, 'target_feature', 'c_peptide'), (753, 'estimation_procedure', '9'), (753, 'source_data', '126'), (753, 'target_feature', 'c_peptide'), (754, 'estimation_procedure', '10'), (754, 'source_data', '126'), (754, 'target_feature', 'c_peptide'), (755, 'estimation_procedure', '11'), (755, 'source_data', '126'), (755, 'target_feature', 'c_peptide'), (756, 'estimation_procedure', '12'), (756, 'source_data', '126'), (756, 'target_feature', 'c_peptide'), (757, 'estimation_procedure', '7'), (757, 'source_data', '127'), (757, 'target_feature', 'class'), (758, 'estimation_procedure', '8'), (758, 'source_data', '127'), (758, 'target_feature', 'class'), (759, 'estimation_procedure', '9'), (759, 'source_data', '127'), (759, 'target_feature', 'class'), (760, 'estimation_procedure', '10'), (760, 'source_data', '127'), (760, 'target_feature', 'class'), (761, 'estimation_procedure', '11'), (761, 'source_data', '127'), (761, 'target_feature', 'class'), (762, 'estimation_procedure', '12'), (762, 'source_data', '127'), (762, 'target_feature', 'class'), (763, 'estimation_procedure', '13'), (763, 'source_data', '1'), (763, 'target_feature', 'class'), (764, 'estimation_procedure', '14'), (764, 'source_data', '1'), (764, 'target_feature', 'class'), (765, 'estimation_procedure', '13'), (765, 'source_data', '2'), (765, 'target_feature', 'class'), (766, 'estimation_procedure', '14'), (766, 'source_data', '2'), (766, 'target_feature', 'class'), (767, 'estimation_procedure', '13'), (767, 'source_data', '3'), (767, 'target_feature', 'class'), (768, 'estimation_procedure', '14'), (768, 'source_data', '3'), (768, 'target_feature', 'class'), (769, 'estimation_procedure', '13'), (769, 'source_data', '4'), (769, 'target_feature', 'class'), (770, 'estimation_procedure', '14'), (770, 'source_data', '4'), (770, 'target_feature', 'class'), (771, 'estimation_procedure', '13'), (771, 'source_data', '5'), (771, 'target_feature', 'class'), (772, 'estimation_procedure', '14'), (772, 'source_data', '5'), (772, 'target_feature', 'class'), (773, 'estimation_procedure', '13'), (773, 'source_data', '6'), (773, 'target_feature', 'class'), (774, 'estimation_procedure', '14'), (774, 'source_data', '6'), (774, 'target_feature', 'class'), (775, 'estimation_procedure', '13'), (775, 'source_data', '7'), (775, 'target_feature', 'Class'), (776, 'estimation_procedure', '14'), (776, 'source_data', '7'), (776, 'target_feature', 'Class'), (777, 'estimation_procedure', '13'), (777, 'source_data', '8'), (777, 'target_feature', 'class'), (778, 'estimation_procedure', '14'), (778, 'source_data', '8'), (778, 'target_feature', 'class'), (779, 'estimation_procedure', '13'), (779, 'source_data', '9'), (779, 'target_feature', 'class'), (780, 'estimation_procedure', '14'), (780, 'source_data', '9'), (780, 'target_feature', 'class'), (781, 'estimation_procedure', '13'), (781, 'source_data', '10'), (781, 'target_feature', 'class'), (782, 'estimation_procedure', '14'), (782, 'source_data', '10'), (782, 'target_feature', 'class'), (783, 'estimation_procedure', '13'), (783, 'source_data', '11'), (783, 'target_feature', 'class'), (784, 'estimation_procedure', '14'), (784, 'source_data', '11'), (784, 'target_feature', 'class'), (785, 'estimation_procedure', '13'), (785, 'source_data', '12'), (785, 'target_feature', 'class'), (786, 'estimation_procedure', '14'), (786, 'source_data', '12'), (786, 'target_feature', 'class'), (787, 'estimation_procedure', '13'), (787, 'source_data', '13'), (787, 'target_feature', 'Contraceptive_method_used'), (788, 'estimation_procedure', '14'), (788, 'source_data', '13'), (788, 'target_feature', 'Contraceptive_method_used'), (789, 'estimation_procedure', '13'), (789, 'source_data', '14'), (789, 'target_feature', 'class'), (790, 'estimation_procedure', '14'), (790, 'source_data', '14'), (790, 'target_feature', 'class'), (791, 'estimation_procedure', '13'), (791, 'source_data', '15'), (791, 'target_feature', 'class'), (792, 'estimation_procedure', '14'), (792, 'source_data', '15'), (792, 'target_feature', 'class'), (793, 'estimation_procedure', '13'), (793, 'source_data', '16'), (793, 'target_feature', 'class'), (794, 'estimation_procedure', '14'), (794, 'source_data', '16'), (794, 'target_feature', 'class'), (795, 'estimation_procedure', '13'), (795, 'source_data', '17'), (795, 'target_feature', 'class'), (796, 'estimation_procedure', '14'), (796, 'source_data', '17'), (796, 'target_feature', 'class'), (797, 'estimation_procedure', '13'), (797, 'source_data', '18'), (797, 'target_feature', 'class'), (798, 'estimation_procedure', '14'), (798, 'source_data', '18'), (798, 'target_feature', 'class'), (799, 'estimation_procedure', '13'), (799, 'source_data', '19'), (799, 'target_feature', 'class'), (800, 'estimation_procedure', '14'), (800, 'source_data', '19'), (800, 'target_feature', 'class'), (801, 'estimation_procedure', '13'), (801, 'source_data', '20'), (801, 'target_feature', 'class'), (802, 'estimation_procedure', '14'), (802, 'source_data', '20'), (802, 'target_feature', 'class'), (803, 'estimation_procedure', '13'), (803, 'source_data', '21'), (803, 'target_feature', 'Class'), (804, 'estimation_procedure', '14'), (804, 'source_data', '21'), (804, 'target_feature', 'Class'), (805, 'estimation_procedure', '13'), (805, 'source_data', '22'), (805, 'target_feature', 'class'), (806, 'estimation_procedure', '14'), (806, 'source_data', '22'), (806, 'target_feature', 'class'), (807, 'estimation_procedure', '13'), (807, 'source_data', '23'), (807, 'target_feature', 'class'), (808, 'estimation_procedure', '14'), (808, 'source_data', '23'), (808, 'target_feature', 'class'), (809, 'estimation_procedure', '13'), (809, 'source_data', '24'), (809, 'target_feature', 'Class'), (810, 'estimation_procedure', '14'), (810, 'source_data', '24'), (810, 'target_feature', 'Class'), (811, 'estimation_procedure', '13'), (811, 'source_data', '25'), (811, 'target_feature', 'Class'), (812, 'estimation_procedure', '14'), (812, 'source_data', '25'), (812, 'target_feature', 'Class'), (813, 'estimation_procedure', '13'), (813, 'source_data', '26'), (813, 'target_feature', 'Class'), (814, 'estimation_procedure', '14'), (814, 'source_data', '26'), (814, 'target_feature', 'Class'), (815, 'estimation_procedure', '13'), (815, 'source_data', '27'), (815, 'target_feature', 'class'), (816, 'estimation_procedure', '14'), (816, 'source_data', '27'), (816, 'target_feature', 'class'), (817, 'estimation_procedure', '13'), (817, 'source_data', '28'), (817, 'target_feature', 'class'), (818, 'estimation_procedure', '14'), (818, 'source_data', '28'), (818, 'target_feature', 'class'), (819, 'estimation_procedure', '13'), (819, 'source_data', '29'), (819, 'target_feature', 'class'), (820, 'estimation_procedure', '14'), (820, 'source_data', '29'), (820, 'target_feature', 'class'), (821, 'estimation_procedure', '13'), (821, 'source_data', '30'), (821, 'target_feature', 'Class_number_of_rings'), (822, 'estimation_procedure', '14'), (822, 'source_data', '30'), (822, 'target_feature', 'Class_number_of_rings'), (823, 'estimation_procedure', '13'), (823, 'source_data', '31'), (823, 'target_feature', 'Utility'), (824, 'estimation_procedure', '14'), (824, 'source_data', '31'), (824, 'target_feature', 'Utility'), (825, 'estimation_procedure', '13'), (825, 'source_data', '32'), (825, 'target_feature', 'class'), (826, 'estimation_procedure', '14'), (826, 'source_data', '32'), (826, 'target_feature', 'class'), (827, 'estimation_procedure', '13'), (827, 'source_data', '33'), (827, 'target_feature', 'Class'), (828, 'estimation_procedure', '14'), (828, 'source_data', '33'), (828, 'target_feature', 'Class'), (829, 'estimation_procedure', '13'), (829, 'source_data', '34'), (829, 'target_feature', 'Urban'), (830, 'estimation_procedure', '14'), (830, 'source_data', '34'), (830, 'target_feature', 'Urban'), (831, 'estimation_procedure', '13'), (831, 'source_data', '35'), (831, 'target_feature', 'class'), (832, 'estimation_procedure', '14'), (832, 'source_data', '35'), (832, 'target_feature', 'class'), (833, 'estimation_procedure', '13'), (833, 'source_data', '36'), (833, 'target_feature', 'class'), (834, 'estimation_procedure', '14'), (834, 'source_data', '36'), (834, 'target_feature', 'class'), (835, 'estimation_procedure', '13'), (835, 'source_data', '37'), (835, 'target_feature', 'class'), (836, 'estimation_procedure', '14'), (836, 'source_data', '37'), (836, 'target_feature', 'class'), (837, 'estimation_procedure', '13'), (837, 'source_data', '38'), (837, 'target_feature', 'speaker'), (838, 'estimation_procedure', '14'), (838, 'source_data', '38'), (838, 'target_feature', 'speaker'), (839, 'estimation_procedure', '13'), (839, 'source_data', '39'), (839, 'target_feature', 'class'), (840, 'estimation_procedure', '14'), (840, 'source_data', '39'), (840, 'target_feature', 'class'), (841, 'estimation_procedure', '13'), (841, 'source_data', '40'), (841, 'target_feature', 'Leaving_Certificate'), (842, 'estimation_procedure', '14'), (842, 'source_data', '40'), (842, 'target_feature', 'Leaving_Certificate'), (843, 'estimation_procedure', '13'), (843, 'source_data', '41'), (843, 'target_feature', 'Author'), (844, 'estimation_procedure', '14'), (844, 'source_data', '41'), (844, 'target_feature', 'Author'), (845, 'estimation_procedure', '13'), (845, 'source_data', '42'), (845, 'target_feature', 'Prevention'), (846, 'estimation_procedure', '14'), (846, 'source_data', '42'), (846, 'target_feature', 'Prevention'), (847, 'estimation_procedure', '13'), (847, 'source_data', '43'), (847, 'target_feature', 'Home/Away'), (848, 'estimation_procedure', '14'), (848, 'source_data', '43'), (848, 'target_feature', 'Home/Away'), (849, 'estimation_procedure', '13'), (849, 'source_data', '44'), (849, 'target_feature', 'Corp.Genre'), (850, 'estimation_procedure', '14'), (850, 'source_data', '44'), (850, 'target_feature', 'Corp.Genre'), (851, 'estimation_procedure', '13'), (851, 'source_data', '45'), (851, 'target_feature', 'label'), (852, 'estimation_procedure', '14'), (852, 'source_data', '45'), (852, 'target_feature', 'label'), (853, 'estimation_procedure', '13'), (853, 'source_data', '46'), (853, 'target_feature', 'label'), (854, 'estimation_procedure', '14'), (854, 'source_data', '46'), (854, 'target_feature', 'label'), (855, 'estimation_procedure', '13'), (855, 'source_data', '47'), (855, 'target_feature', 'label'), (856, 'estimation_procedure', '14'), (856, 'source_data', '47'), (856, 'target_feature', 'label'), (857, 'estimation_procedure', '13'), (857, 'source_data', '48'), (857, 'target_feature', 'state'), (858, 'estimation_procedure', '14'), (858, 'source_data', '48'), (858, 'target_feature', 'state'), (859, 'estimation_procedure', '13'), (859, 'source_data', '49'), (859, 'target_feature', 'c'), (860, 'estimation_procedure', '14'), (860, 'source_data', '49'), (860, 'target_feature', 'c'), (861, 'estimation_procedure', '13'), (861, 'source_data', '50'), (861, 'target_feature', 'c'), (862, 'estimation_procedure', '14'), (862, 'source_data', '50'), (862, 'target_feature', 'c'), (863, 'estimation_procedure', '13'), (863, 'source_data', '51'), (863, 'target_feature', 'defects'), (864, 'estimation_procedure', '14'), (864, 'source_data', '51'), (864, 'target_feature', 'defects'), (865, 'estimation_procedure', '13'), (865, 'source_data', '52'), (865, 'target_feature', 'problems'), (866, 'estimation_procedure', '14'), (866, 'source_data', '52'), (866, 'target_feature', 'problems'), (867, 'estimation_procedure', '13'), (867, 'source_data', '53'), (867, 'target_feature', 'defects'), (868, 'estimation_procedure', '14'), (868, 'source_data', '53'), (868, 'target_feature', 'defects'), (869, 'estimation_procedure', '13'), (869, 'source_data', '54'), (869, 'target_feature', 'defects'), (870, 'estimation_procedure', '14'), (870, 'source_data', '54'), (870, 'target_feature', 'defects'), (871, 'estimation_procedure', '13'), (871, 'source_data', '55'), (871, 'target_feature', 'CHURN'), (872, 'estimation_procedure', '14'), (872, 'source_data', '55'), (872, 'target_feature', 'CHURN'), (873, 'estimation_procedure', '13'), (873, 'source_data', '56'), (873, 'target_feature', 'UPSELLING'), (874, 'estimation_procedure', '14'), (874, 'source_data', '56'), (874, 'target_feature', 'UPSELLING'), (875, 'estimation_procedure', '13'), (875, 'source_data', '57'), (875, 'target_feature', 'class'), (876, 'estimation_procedure', '14'), (876, 'source_data', '57'), (876, 'target_feature', 'class'), (877, 'estimation_procedure', '13'), (877, 'source_data', '58'), (877, 'target_feature', 'class:'), (878, 'estimation_procedure', '14'), (878, 'source_data', '58'), (878, 'target_feature', 'class:'), (879, 'estimation_procedure', '13'), (879, 'source_data', '59'), (879, 'target_feature', 'class'), (880, 'estimation_procedure', '14'), (880, 'source_data', '59'), (880, 'target_feature', 'class'), (881, 'estimation_procedure', '13'), (881, 'source_data', '60'), (881, 'target_feature', 'click'), (882, 'estimation_procedure', '14'), (882, 'source_data', '60'), (882, 'target_feature', 'click'), (883, 'estimation_procedure', '13'), (883, 'source_data', '61'), (883, 'target_feature', 'Class'), (884, 'estimation_procedure', '14'), (884, 'source_data', '61'), (884, 'target_feature', 'Class'), (885, 'estimation_procedure', '13'), (885, 'source_data', '62'), (885, 'target_feature', 'Class'), (886, 'estimation_procedure', '14'), (886, 'source_data', '62'), (886, 'target_feature', 'Class'), (887, 'estimation_procedure', '13'), (887, 'source_data', '63'), (887, 'target_feature', 'Class'), (888, 'estimation_procedure', '14'), (888, 'source_data', '63'), (888, 'target_feature', 'Class'), (889, 'estimation_procedure', '13'), (889, 'source_data', '64'), (889, 'target_feature', 'Class'), (890, 'estimation_procedure', '14'), (890, 'source_data', '64'), (890, 'target_feature', 'Class'), (891, 'estimation_procedure', '13'), (891, 'source_data', '65'), (891, 'target_feature', 'Class'), (892, 'estimation_procedure', '14'), (892, 'source_data', '65'), (892, 'target_feature', 'Class'), (893, 'estimation_procedure', '13'), (893, 'source_data', '66'), (893, 'target_feature', 'Class'), (894, 'estimation_procedure', '14'), (894, 'source_data', '66'), (894, 'target_feature', 'Class'), (895, 'estimation_procedure', '13'), (895, 'source_data', '67'), (895, 'target_feature', 'Class'), (896, 'estimation_procedure', '14'), (896, 'source_data', '67'), (896, 'target_feature', 'Class'), (897, 'estimation_procedure', '13'), (897, 'source_data', '68'), (897, 'target_feature', 'Class'), (898, 'estimation_procedure', '14'), (898, 'source_data', '68'), (898, 'target_feature', 'Class'), (899, 'estimation_procedure', '13'), (899, 'source_data', '69'), (899, 'target_feature', 'Class'), (900, 'estimation_procedure', '14'), (900, 'source_data', '69'), (900, 'target_feature', 'Class'), (901, 'estimation_procedure', '13'), (901, 'source_data', '70'), (901, 'target_feature', 'Class'), (902, 'estimation_procedure', '14'), (902, 'source_data', '70'), (902, 'target_feature', 'Class'), (903, 'estimation_procedure', '13'), (903, 'source_data', '71'), (903, 'target_feature', 'Class'), (904, 'estimation_procedure', '14'), (904, 'source_data', '71'), (904, 'target_feature', 'Class'), (905, 'estimation_procedure', '13'), (905, 'source_data', '72'), (905, 'target_feature', 'Class'), (906, 'estimation_procedure', '14'), (906, 'source_data', '72'), (906, 'target_feature', 'Class'), (907, 'estimation_procedure', '13'), (907, 'source_data', '73'), (907, 'target_feature', 'Class'), (908, 'estimation_procedure', '14'), (908, 'source_data', '73'), (908, 'target_feature', 'Class'), (909, 'estimation_procedure', '13'), (909, 'source_data', '74'), (909, 'target_feature', 'Class'), (910, 'estimation_procedure', '14'), (910, 'source_data', '74'), (910, 'target_feature', 'Class'), (911, 'estimation_procedure', '13'), (911, 'source_data', '75'), (911, 'target_feature', 'Class'), (912, 'estimation_procedure', '14'), (912, 'source_data', '75'), (912, 'target_feature', 'Class'), (913, 'estimation_procedure', '13'), (913, 'source_data', '76'), (913, 'target_feature', 'Class'), (914, 'estimation_procedure', '14'), (914, 'source_data', '76'), (914, 'target_feature', 'Class'), (915, 'estimation_procedure', '13'), (915, 'source_data', '77'), (915, 'target_feature', 'Class'), (916, 'estimation_procedure', '14'), (916, 'source_data', '77'), (916, 'target_feature', 'Class'), (917, 'estimation_procedure', '13'), (917, 'source_data', '78'), (917, 'target_feature', 'Class'), (918, 'estimation_procedure', '14'), (918, 'source_data', '78'), (918, 'target_feature', 'Class'), (919, 'estimation_procedure', '13'), (919, 'source_data', '79'), (919, 'target_feature', 'Class'), (920, 'estimation_procedure', '14'), (920, 'source_data', '79'), (920, 'target_feature', 'Class'), (921, 'estimation_procedure', '13'), (921, 'source_data', '80'), (921, 'target_feature', 'Class'), (922, 'estimation_procedure', '14'), (922, 'source_data', '80'), (922, 'target_feature', 'Class'), (923, 'estimation_procedure', '13'), (923, 'source_data', '81'), (923, 'target_feature', 'Class'), (924, 'estimation_procedure', '14'), (924, 'source_data', '81'), (924, 'target_feature', 'Class'), (925, 'estimation_procedure', '13'), (925, 'source_data', '82'), (925, 'target_feature', 'Class'), (926, 'estimation_procedure', '14'), (926, 'source_data', '82'), (926, 'target_feature', 'Class'), (927, 'estimation_procedure', '13'), (927, 'source_data', '83'), (927, 'target_feature', 'Class'), (928, 'estimation_procedure', '14'), (928, 'source_data', '83'), (928, 'target_feature', 'Class'), (929, 'estimation_procedure', '13'), (929, 'source_data', '84'), (929, 'target_feature', 'Class'), (930, 'estimation_procedure', '14'), (930, 'source_data', '84'), (930, 'target_feature', 'Class'), (931, 'estimation_procedure', '13'), (931, 'source_data', '85'), (931, 'target_feature', 'Class'), (932, 'estimation_procedure', '14'), (932, 'source_data', '85'), (932, 'target_feature', 'Class'), (933, 'estimation_procedure', '13'), (933, 'source_data', '86'), (933, 'target_feature', 'Class'), (934, 'estimation_procedure', '14'), (934, 'source_data', '86'), (934, 'target_feature', 'Class'), (935, 'estimation_procedure', '13'), (935, 'source_data', '87'), (935, 'target_feature', 'Class'), (936, 'estimation_procedure', '14'), (936, 'source_data', '87'), (936, 'target_feature', 'Class'), (937, 'estimation_procedure', '13'), (937, 'source_data', '88'), (937, 'target_feature', 'Class'), (938, 'estimation_procedure', '14'), (938, 'source_data', '88'), (938, 'target_feature', 'Class'), (939, 'estimation_procedure', '13'), (939, 'source_data', '89'), (939, 'target_feature', 'class'), (940, 'estimation_procedure', '14'), (940, 'source_data', '89'), (940, 'target_feature', 'class'), (941, 'estimation_procedure', '13'), (941, 'source_data', '90'), (941, 'target_feature', 'target'), (942, 'estimation_procedure', '14'), (942, 'source_data', '90'), (942, 'target_feature', 'target'), (943, 'estimation_procedure', '13'), (943, 'source_data', '91'), (943, 'target_feature', 'target'), (944, 'estimation_procedure', '14'), (944, 'source_data', '91'), (944, 'target_feature', 'target'), (945, 'estimation_procedure', '13'), (945, 'source_data', '92'), (945, 'target_feature', 'Result'), (946, 'estimation_procedure', '14'), (946, 'source_data', '92'), (946, 'target_feature', 'Result'), (947, 'estimation_procedure', '13'), (947, 'source_data', '93'), (947, 'target_feature', 'Phase'), (948, 'estimation_procedure', '14'), (948, 'source_data', '93'), (948, 'target_feature', 'Phase'), (949, 'estimation_procedure', '13'), (949, 'source_data', '94'), (949, 'target_feature', 'class'), (950, 'estimation_procedure', '14'), (950, 'source_data', '94'), (950, 'target_feature', 'class'), (951, 'estimation_procedure', '13'), (951, 'source_data', '95'), (951, 'target_feature', 'band_type'), (952, 'estimation_procedure', '14'), (952, 'source_data', '95'), (952, 'target_feature', 'band_type'), (953, 'estimation_procedure', '13'), (953, 'source_data', '96'), (953, 'target_feature', 'TR'), (954, 'estimation_procedure', '14'), (954, 'source_data', '96'), (954, 'target_feature', 'TR'), (955, 'estimation_procedure', '13'), (955, 'source_data', '97'), (955, 'target_feature', 'Class'), (956, 'estimation_procedure', '14'), (956, 'source_data', '97'), (956, 'target_feature', 'Class'), (957, 'estimation_procedure', '13'), (957, 'source_data', '98'), (957, 'target_feature', 'Class'), (958, 'estimation_procedure', '14'), (958, 'source_data', '98'), (958, 'target_feature', 'Class'), (959, 'estimation_procedure', '13'), (959, 'source_data', '99'), (959, 'target_feature', 'Class'), (960, 'estimation_procedure', '14'), (960, 'source_data', '99'), (960, 'target_feature', 'Class'), (961, 'estimation_procedure', '13'), (961, 'source_data', '100'), (961, 'target_feature', 'Y'), (962, 'estimation_procedure', '14'), (962, 'source_data', '100'), (962, 'target_feature', 'Y'), (963, 'estimation_procedure', '13'), (963, 'source_data', '101'), (963, 'target_feature', 'user'), (964, 'estimation_procedure', '14'), (964, 'source_data', '101'), (964, 'target_feature', 'user'), (965, 'estimation_procedure', '13'), (965, 'source_data', '102'), (965, 'target_feature', 'class'), (966, 'estimation_procedure', '14'), (966, 'source_data', '102'), (966, 'target_feature', 'class'), (967, 'estimation_procedure', '15'), (967, 'source_data', '1'), (967, 'target_feature', 'class'), (968, 'estimation_procedure', '15'), (968, 'source_data', '2'), (968, 'target_feature', 'class'), (969, 'estimation_procedure', '15'), (969, 'source_data', '3'), (969, 'target_feature', 'class'), (970, 'estimation_procedure', '15'), (970, 'source_data', '4'), (970, 'target_feature', 'class'), (971, 'estimation_procedure', '15'), (971, 'source_data', '5'), (971, 'target_feature', 'class'), (972, 'estimation_procedure', '15'), (972, 'source_data', '6'), (972, 'target_feature', 'class'), (973, 'estimation_procedure', '15'), (973, 'source_data', '7'), (973, 'target_feature', 'Class'), (974, 'estimation_procedure', '15'), (974, 'source_data', '8'), (974, 'target_feature', 'class'), (975, 'estimation_procedure', '15'), (975, 'source_data', '9'), (975, 'target_feature', 'class'), (976, 'estimation_procedure', '15'), (976, 'source_data', '10'), (976, 'target_feature', 'class'), (977, 'estimation_procedure', '15'), (977, 'source_data', '11'), (977, 'target_feature', 'class'), (978, 'estimation_procedure', '15'), (978, 'source_data', '12'), (978, 'target_feature', 'class'), (979, 'estimation_procedure', '15'), (979, 'source_data', '13'), (979, 'target_feature', 'Contraceptive_method_used'), (980, 'estimation_procedure', '15'), (980, 'source_data', '14'), (980, 'target_feature', 'class'), (981, 'estimation_procedure', '15'), (981, 'source_data', '15'), (981, 'target_feature', 'class'), (982, 'estimation_procedure', '15'), (982, 'source_data', '16'), (982, 'target_feature', 'class'), (983, 'estimation_procedure', '15'), (983, 'source_data', '17'), (983, 'target_feature', 'class'), (984, 'estimation_procedure', '15'), (984, 'source_data', '18'), (984, 'target_feature', 'class'), (985, 'estimation_procedure', '15'), (985, 'source_data', '19'), (985, 'target_feature', 'class'), (986, 'estimation_procedure', '15'), (986, 'source_data', '20'), (986, 'target_feature', 'class'), (987, 'estimation_procedure', '15'), (987, 'source_data', '21'), (987, 'target_feature', 'Class'), (988, 'estimation_procedure', '15'), (988, 'source_data', '22'), (988, 'target_feature', 'class'), (989, 'estimation_procedure', '15'), (989, 'source_data', '23'), (989, 'target_feature', 'class'), (990, 'estimation_procedure', '15'), (990, 'source_data', '24'), (990, 'target_feature', 'Class'), (991, 'estimation_procedure', '15'), (991, 'source_data', '25'), (991, 'target_feature', 'Class'), (992, 'estimation_procedure', '15'), (992, 'source_data', '26'), (992, 'target_feature', 'Class'), (993, 'estimation_procedure', '15'), (993, 'source_data', '27'), (993, 'target_feature', 'class'), (994, 'estimation_procedure', '15'), (994, 'source_data', '28'), (994, 'target_feature', 'class'), (995, 'estimation_procedure', '15'), (995, 'source_data', '29'), (995, 'target_feature', 'class'), (996, 'estimation_procedure', '15'), (996, 'source_data', '30'), (996, 'target_feature', 'Class_number_of_rings'), (997, 'estimation_procedure', '15'), (997, 'source_data', '31'), (997, 'target_feature', 'Utility'), (998, 'estimation_procedure', '15'), (998, 'source_data', '32'), (998, 'target_feature', 'class'), (999, 'estimation_procedure', '15'), (999, 'source_data', '33'), (999, 'target_feature', 'Class'), (1000, 'estimation_procedure', '15'), (1000, 'source_data', '34'), (1000, 'target_feature', 'Urban'), (1001, 'estimation_procedure', '15'), (1001, 'source_data', '35'), (1001, 'target_feature', 'class'), (1002, 'estimation_procedure', '15'), (1002, 'source_data', '36'), (1002, 'target_feature', 'class'), (1003, 'estimation_procedure', '15'), (1003, 'source_data', '37'), (1003, 'target_feature', 'class'), (1004, 'estimation_procedure', '15'), (1004, 'source_data', '38'), (1004, 'target_feature', 'speaker'), (1005, 'estimation_procedure', '15'), (1005, 'source_data', '39'), (1005, 'target_feature', 'class'), (1006, 'estimation_procedure', '15'), (1006, 'source_data', '40'), (1006, 'target_feature', 'Leaving_Certificate'), (1007, 'estimation_procedure', '15'), (1007, 'source_data', '41'), (1007, 'target_feature', 'Author'), (1008, 'estimation_procedure', '15'), (1008, 'source_data', '42'), (1008, 'target_feature', 'Prevention'), (1009, 'estimation_procedure', '15'), (1009, 'source_data', '43'), (1009, 'target_feature', 'Home/Away'), (1010, 'estimation_procedure', '15'), (1010, 'source_data', '44'), (1010, 'target_feature', 'Corp.Genre'), (1011, 'estimation_procedure', '15'), (1011, 'source_data', '45'), (1011, 'target_feature', 'label'), (1012, 'estimation_procedure', '15'), (1012, 'source_data', '46'), (1012, 'target_feature', 'label'), (1013, 'estimation_procedure', '15'), (1013, 'source_data', '47'), (1013, 'target_feature', 'label'), (1014, 'estimation_procedure', '15'), (1014, 'source_data', '48'), (1014, 'target_feature', 'state'), (1015, 'estimation_procedure', '15'), (1015, 'source_data', '49'), (1015, 'target_feature', 'c'), (1016, 'estimation_procedure', '15'), (1016, 'source_data', '50'), (1016, 'target_feature', 'c'), (1017, 'estimation_procedure', '15'), (1017, 'source_data', '51'), (1017, 'target_feature', 'defects'), (1018, 'estimation_procedure', '15'), (1018, 'source_data', '52'), (1018, 'target_feature', 'problems'), (1019, 'estimation_procedure', '15'), (1019, 'source_data', '53'), (1019, 'target_feature', 'defects'), (1020, 'estimation_procedure', '15'), (1020, 'source_data', '54'), (1020, 'target_feature', 'defects'), (1021, 'estimation_procedure', '15'), (1021, 'source_data', '55'), (1021, 'target_feature', 'CHURN'), (1022, 'estimation_procedure', '15'), (1022, 'source_data', '56'), (1022, 'target_feature', 'UPSELLING'), (1023, 'estimation_procedure', '15'), (1023, 'source_data', '57'), (1023, 'target_feature', 'class'), (1024, 'estimation_procedure', '15'), (1024, 'source_data', '58'), (1024, 'target_feature', 'class:'), (1025, 'estimation_procedure', '15'), (1025, 'source_data', '59'), (1025, 'target_feature', 'class'), (1026, 'estimation_procedure', '15'), (1026, 'source_data', '60'), (1026, 'target_feature', 'click'), (1027, 'estimation_procedure', '15'), (1027, 'source_data', '61'), (1027, 'target_feature', 'Class'), (1028, 'estimation_procedure', '15'), (1028, 'source_data', '62'), (1028, 'target_feature', 'Class'), (1029, 'estimation_procedure', '15'), (1029, 'source_data', '63'), (1029, 'target_feature', 'Class'), (1030, 'estimation_procedure', '15'), (1030, 'source_data', '64'), (1030, 'target_feature', 'Class'), (1031, 'estimation_procedure', '15'), (1031, 'source_data', '65'), (1031, 'target_feature', 'Class'), (1032, 'estimation_procedure', '15'), (1032, 'source_data', '66'), (1032, 'target_feature', 'Class'), (1033, 'estimation_procedure', '15'), (1033, 'source_data', '67'), (1033, 'target_feature', 'Class'), (1034, 'estimation_procedure', '15'), (1034, 'source_data', '68'), (1034, 'target_feature', 'Class'), (1035, 'estimation_procedure', '15'), (1035, 'source_data', '69'), (1035, 'target_feature', 'Class'), (1036, 'estimation_procedure', '15'), (1036, 'source_data', '70'), (1036, 'target_feature', 'Class'), (1037, 'estimation_procedure', '15'), (1037, 'source_data', '71'), (1037, 'target_feature', 'Class'), (1038, 'estimation_procedure', '15'), (1038, 'source_data', '72'), (1038, 'target_feature', 'Class'), (1039, 'estimation_procedure', '15'), (1039, 'source_data', '73'), (1039, 'target_feature', 'Class'), (1040, 'estimation_procedure', '15'), (1040, 'source_data', '74'), (1040, 'target_feature', 'Class'), (1041, 'estimation_procedure', '15'), (1041, 'source_data', '75'), (1041, 'target_feature', 'Class'), (1042, 'estimation_procedure', '15'), (1042, 'source_data', '76'), (1042, 'target_feature', 'Class'), (1043, 'estimation_procedure', '15'), (1043, 'source_data', '77'), (1043, 'target_feature', 'Class'), (1044, 'estimation_procedure', '15'), (1044, 'source_data', '78'), (1044, 'target_feature', 'Class'), (1045, 'estimation_procedure', '15'), (1045, 'source_data', '79'), (1045, 'target_feature', 'Class'), (1046, 'estimation_procedure', '15'), (1046, 'source_data', '80'), (1046, 'target_feature', 'Class'), (1047, 'estimation_procedure', '15'), (1047, 'source_data', '81'), (1047, 'target_feature', 'Class'), (1048, 'estimation_procedure', '15'), (1048, 'source_data', '82'), (1048, 'target_feature', 'Class'), (1049, 'estimation_procedure', '15'), (1049, 'source_data', '83'), (1049, 'target_feature', 'Class'), (1050, 'estimation_procedure', '15'), (1050, 'source_data', '84'), (1050, 'target_feature', 'Class'), (1051, 'estimation_procedure', '15'), (1051, 'source_data', '85'), (1051, 'target_feature', 'Class'), (1052, 'estimation_procedure', '15'), (1052, 'source_data', '86'), (1052, 'target_feature', 'Class'), (1053, 'estimation_procedure', '15'), (1053, 'source_data', '87'), (1053, 'target_feature', 'Class'), (1054, 'estimation_procedure', '15'), (1054, 'source_data', '88'), (1054, 'target_feature', 'Class'), (1055, 'estimation_procedure', '15'), (1055, 'source_data', '89'), (1055, 'target_feature', 'class'), (1056, 'estimation_procedure', '15'), (1056, 'source_data', '90'), (1056, 'target_feature', 'target'), (1057, 'estimation_procedure', '15'), (1057, 'source_data', '91'), (1057, 'target_feature', 'target'), (1058, 'estimation_procedure', '15'), (1058, 'source_data', '92'), (1058, 'target_feature', 'Result'), (1059, 'estimation_procedure', '15'), (1059, 'source_data', '93'), (1059, 'target_feature', 'Phase'), (1060, 'estimation_procedure', '15'), (1060, 'source_data', '94'), (1060, 'target_feature', 'class'), (1061, 'estimation_procedure', '15'), (1061, 'source_data', '95'), (1061, 'target_feature', 'band_type'), (1062, 'estimation_procedure', '15'), (1062, 'source_data', '96'), (1062, 'target_feature', 'TR'), (1063, 'estimation_procedure', '15'), (1063, 'source_data', '97'), (1063, 'target_feature', 'Class'), (1064, 'estimation_procedure', '15'), (1064, 'source_data', '98'), (1064, 'target_feature', 'Class'), (1065, 'estimation_procedure', '15'), (1065, 'source_data', '99'), (1065, 'target_feature', 'Class'), (1066, 'estimation_procedure', '15'), (1066, 'source_data', '100'), (1066, 'target_feature', 'Y'), (1067, 'estimation_procedure', '15'), (1067, 'source_data', '101'), (1067, 'target_feature', 'user'), (1068, 'estimation_procedure', '15'), (1068, 'source_data', '102'), (1068, 'target_feature', 'class'), (1069, 'estimation_procedure', '26'), (1069, 'source_data', '1'), (1069, 'target_feature', 'class'), (1070, 'estimation_procedure', '26'), (1070, 'source_data', '2'), (1070, 'target_feature', 'class'), (1071, 'estimation_procedure', '26'), (1071, 'source_data', '3'), (1071, 'target_feature', 'class'), (1072, 'estimation_procedure', '26'), (1072, 'source_data', '4'), (1072, 'target_feature', 'class'), (1073, 'estimation_procedure', '26'), (1073, 'source_data', '5'), (1073, 'target_feature', 'class'), (1074, 'estimation_procedure', '26'), (1074, 'source_data', '6'), (1074, 'target_feature', 'class'), (1075, 'estimation_procedure', '26'), (1075, 'source_data', '7'), (1075, 'target_feature', 'Class'), (1076, 'estimation_procedure', '26'), (1076, 'source_data', '8'), (1076, 'target_feature', 'class'), (1077, 'estimation_procedure', '26'), (1077, 'source_data', '9'), (1077, 'target_feature', 'class'), (1078, 'estimation_procedure', '26'), (1078, 'source_data', '10'), (1078, 'target_feature', 'class'), (1079, 'estimation_procedure', '26'), (1079, 'source_data', '11'), (1079, 'target_feature', 'class'), (1080, 'estimation_procedure', '26'), (1080, 'source_data', '12'), (1080, 'target_feature', 'class'), (1081, 'estimation_procedure', '26'), (1081, 'source_data', '13'), (1081, 'target_feature', 'Contraceptive_method_used'), (1082, 'estimation_procedure', '26'), (1082, 'source_data', '14'), (1082, 'target_feature', 'class'), (1083, 'estimation_procedure', '26'), (1083, 'source_data', '15'), (1083, 'target_feature', 'class'), (1084, 'estimation_procedure', '26'), (1084, 'source_data', '16'), (1084, 'target_feature', 'class'), (1085, 'estimation_procedure', '26'), (1085, 'source_data', '17'), (1085, 'target_feature', 'class'), (1086, 'estimation_procedure', '26'), (1086, 'source_data', '18'), (1086, 'target_feature', 'class'), (1087, 'estimation_procedure', '26'), (1087, 'source_data', '19'), (1087, 'target_feature', 'class'), (1088, 'estimation_procedure', '26'), (1088, 'source_data', '20'), (1088, 'target_feature', 'class'), (1089, 'estimation_procedure', '26'), (1089, 'source_data', '21'), (1089, 'target_feature', 'Class'), (1090, 'estimation_procedure', '26'), (1090, 'source_data', '22'), (1090, 'target_feature', 'class'), (1091, 'estimation_procedure', '26'), (1091, 'source_data', '23'), (1091, 'target_feature', 'class'), (1092, 'estimation_procedure', '26'), (1092, 'source_data', '24'), (1092, 'target_feature', 'Class'), (1093, 'estimation_procedure', '26'), (1093, 'source_data', '25'), (1093, 'target_feature', 'Class'), (1094, 'estimation_procedure', '26'), (1094, 'source_data', '26'), (1094, 'target_feature', 'Class'), (1095, 'estimation_procedure', '26'), (1095, 'source_data', '27'), (1095, 'target_feature', 'class'), (1096, 'estimation_procedure', '26'), (1096, 'source_data', '28'), (1096, 'target_feature', 'class'), (1097, 'estimation_procedure', '26'), (1097, 'source_data', '29'), (1097, 'target_feature', 'class'), (1098, 'estimation_procedure', '26'), (1098, 'source_data', '30'), (1098, 'target_feature', 'Class_number_of_rings'), (1099, 'estimation_procedure', '26'), (1099, 'source_data', '31'), (1099, 'target_feature', 'Utility'), (1100, 'estimation_procedure', '26'), (1100, 'source_data', '32'), (1100, 'target_feature', 'class'), (1101, 'estimation_procedure', '26'), (1101, 'source_data', '33'), (1101, 'target_feature', 'Class'), (1102, 'estimation_procedure', '26'), (1102, 'source_data', '34'), (1102, 'target_feature', 'Urban'), (1103, 'estimation_procedure', '26'), (1103, 'source_data', '35'), (1103, 'target_feature', 'class'), (1104, 'estimation_procedure', '26'), (1104, 'source_data', '36'), (1104, 'target_feature', 'class'), (1105, 'estimation_procedure', '26'), (1105, 'source_data', '37'), (1105, 'target_feature', 'class'), (1106, 'estimation_procedure', '26'), (1106, 'source_data', '38'), (1106, 'target_feature', 'speaker'), (1107, 'estimation_procedure', '26'), (1107, 'source_data', '39'), (1107, 'target_feature', 'class'), (1108, 'estimation_procedure', '26'), (1108, 'source_data', '40'), (1108, 'target_feature', 'Leaving_Certificate'), (1109, 'estimation_procedure', '26'), (1109, 'source_data', '41'), (1109, 'target_feature', 'Author'), (1110, 'estimation_procedure', '26'), (1110, 'source_data', '42'), (1110, 'target_feature', 'Prevention'), (1111, 'estimation_procedure', '26'), (1111, 'source_data', '43'), (1111, 'target_feature', 'Home/Away'), (1112, 'estimation_procedure', '26'), (1112, 'source_data', '44'), (1112, 'target_feature', 'Corp.Genre'), (1113, 'estimation_procedure', '26'), (1113, 'source_data', '45'), (1113, 'target_feature', 'label'), (1114, 'estimation_procedure', '26'), (1114, 'source_data', '46'), (1114, 'target_feature', 'label'), (1115, 'estimation_procedure', '26'), (1115, 'source_data', '47'), (1115, 'target_feature', 'label'), (1116, 'estimation_procedure', '26'), (1116, 'source_data', '48'), (1116, 'target_feature', 'state'), (1117, 'estimation_procedure', '26'), (1117, 'source_data', '49'), (1117, 'target_feature', 'c'), (1118, 'estimation_procedure', '26'), (1118, 'source_data', '50'), (1118, 'target_feature', 'c'), (1119, 'estimation_procedure', '26'), (1119, 'source_data', '51'), (1119, 'target_feature', 'defects'), (1120, 'estimation_procedure', '26'), (1120, 'source_data', '52'), (1120, 'target_feature', 'problems'), (1121, 'estimation_procedure', '26'), (1121, 'source_data', '53'), (1121, 'target_feature', 'defects'), (1122, 'estimation_procedure', '26'), (1122, 'source_data', '54'), (1122, 'target_feature', 'defects'), (1123, 'estimation_procedure', '26'), (1123, 'source_data', '55'), (1123, 'target_feature', 'CHURN'), (1124, 'estimation_procedure', '26'), (1124, 'source_data', '56'), (1124, 'target_feature', 'UPSELLING'), (1125, 'estimation_procedure', '26'), (1125, 'source_data', '57'), (1125, 'target_feature', 'class'), (1126, 'estimation_procedure', '26'), (1126, 'source_data', '58'), (1126, 'target_feature', 'class:'), (1127, 'estimation_procedure', '26'), (1127, 'source_data', '59'), (1127, 'target_feature', 'class'), (1128, 'estimation_procedure', '26'), (1128, 'source_data', '60'), (1128, 'target_feature', 'click'), (1129, 'estimation_procedure', '26'), (1129, 'source_data', '61'), (1129, 'target_feature', 'Class'), (1130, 'estimation_procedure', '26'), (1130, 'source_data', '62'), (1130, 'target_feature', 'Class'), (1131, 'estimation_procedure', '26'), (1131, 'source_data', '63'), (1131, 'target_feature', 'Class'), (1132, 'estimation_procedure', '26'), (1132, 'source_data', '64'), (1132, 'target_feature', 'Class'), (1133, 'estimation_procedure', '26'), (1133, 'source_data', '65'), (1133, 'target_feature', 'Class'), (1134, 'estimation_procedure', '26'), (1134, 'source_data', '66'), (1134, 'target_feature', 'Class'), (1135, 'estimation_procedure', '26'), (1135, 'source_data', '67'), (1135, 'target_feature', 'Class'), (1136, 'estimation_procedure', '26'), (1136, 'source_data', '68'), (1136, 'target_feature', 'Class'), (1137, 'estimation_procedure', '26'), (1137, 'source_data', '69'), (1137, 'target_feature', 'Class'), (1138, 'estimation_procedure', '26'), (1138, 'source_data', '70'), (1138, 'target_feature', 'Class'), (1139, 'estimation_procedure', '26'), (1139, 'source_data', '71'), (1139, 'target_feature', 'Class'), (1140, 'estimation_procedure', '26'), (1140, 'source_data', '72'), (1140, 'target_feature', 'Class'), (1141, 'estimation_procedure', '26'), (1141, 'source_data', '73'), (1141, 'target_feature', 'Class'), (1142, 'estimation_procedure', '26'), (1142, 'source_data', '74'), (1142, 'target_feature', 'Class'), (1143, 'estimation_procedure', '26'), (1143, 'source_data', '75'), (1143, 'target_feature', 'Class'), (1144, 'estimation_procedure', '26'), (1144, 'source_data', '76'), (1144, 'target_feature', 'Class'), (1145, 'estimation_procedure', '26'), (1145, 'source_data', '77'), (1145, 'target_feature', 'Class'), (1146, 'estimation_procedure', '26'), (1146, 'source_data', '78'), (1146, 'target_feature', 'Class'), (1147, 'estimation_procedure', '26'), (1147, 'source_data', '79'), (1147, 'target_feature', 'Class'), (1148, 'estimation_procedure', '26'), (1148, 'source_data', '80'), (1148, 'target_feature', 'Class'), (1149, 'estimation_procedure', '26'), (1149, 'source_data', '81'), (1149, 'target_feature', 'Class'), (1150, 'estimation_procedure', '26'), (1150, 'source_data', '82'), (1150, 'target_feature', 'Class'), (1151, 'estimation_procedure', '26'), (1151, 'source_data', '83'), (1151, 'target_feature', 'Class'), (1152, 'estimation_procedure', '26'), (1152, 'source_data', '84'), (1152, 'target_feature', 'Class'), (1153, 'estimation_procedure', '26'), (1153, 'source_data', '85'), (1153, 'target_feature', 'Class'), (1154, 'estimation_procedure', '26'), (1154, 'source_data', '86'), (1154, 'target_feature', 'Class'), (1155, 'estimation_procedure', '26'), (1155, 'source_data', '87'), (1155, 'target_feature', 'Class'), (1156, 'estimation_procedure', '26'), (1156, 'source_data', '88'), (1156, 'target_feature', 'Class'), (1157, 'estimation_procedure', '26'), (1157, 'source_data', '89'), (1157, 'target_feature', 'class'), (1158, 'estimation_procedure', '26'), (1158, 'source_data', '90'), (1158, 'target_feature', 'target'), (1159, 'estimation_procedure', '26'), (1159, 'source_data', '91'), (1159, 'target_feature', 'target'), (1160, 'estimation_procedure', '26'), (1160, 'source_data', '92'), (1160, 'target_feature', 'Result'), (1161, 'estimation_procedure', '26'), (1161, 'source_data', '93'), (1161, 'target_feature', 'Phase'), (1162, 'estimation_procedure', '26'), (1162, 'source_data', '94'), (1162, 'target_feature', 'class'), (1163, 'estimation_procedure', '26'), (1163, 'source_data', '95'), (1163, 'target_feature', 'band_type'), (1164, 'estimation_procedure', '26'), (1164, 'source_data', '96'), (1164, 'target_feature', 'TR'), (1165, 'estimation_procedure', '26'), (1165, 'source_data', '97'), (1165, 'target_feature', 'Class'), (1166, 'estimation_procedure', '26'), (1166, 'source_data', '98'), (1166, 'target_feature', 'Class'), (1167, 'estimation_procedure', '26'), (1167, 'source_data', '99'), (1167, 'target_feature', 'Class'), (1168, 'estimation_procedure', '26'), (1168, 'source_data', '100'), (1168, 'target_feature', 'Y'), (1169, 'estimation_procedure', '26'), (1169, 'source_data', '101'), (1169, 'target_feature', 'user'), (1170, 'estimation_procedure', '27'), (1170, 'source_data', '102'), (1170, 'target_feature', 'class'), (1171, 'estimation_procedure', '27'), (1171, 'source_data', '103'), (1171, 'target_feature', 'y'), (1172, 'estimation_procedure', '27'), (1172, 'source_data', '104'), (1172, 'target_feature', 'grade_point_average'), (1173, 'estimation_procedure', '27'), (1173, 'source_data', '105'), (1173, 'target_feature', 'time'), (1174, 'estimation_procedure', '27'), (1174, 'source_data', '106'), (1174, 'target_feature', 'lugs_1991'), (1175, 'estimation_procedure', '27'), (1175, 'source_data', '107'), (1175, 'target_feature', 'T20BOLT'), (1176, 'estimation_procedure', '27'), (1176, 'source_data', '108'), (1176, 'target_feature', 'num'), (1177, 'estimation_procedure', '27'), (1177, 'source_data', '109'), (1177, 'target_feature', 'price'), (1178, 'estimation_procedure', '27'), (1178, 'source_data', '110'), (1178, 'target_feature', 'class'), (1179, 'estimation_procedure', '27'), (1179, 'source_data', '111'), (1179, 'target_feature', 'usr'), (1180, 'estimation_procedure', '27'), (1180, 'source_data', '112'), (1180, 'target_feature', 'Se'), (1181, 'estimation_procedure', '27'), (1181, 'source_data', '113'), (1181, 'target_feature', 'class'), (1182, 'estimation_procedure', '27'), (1182, 'source_data', '114'), (1182, 'target_feature', 'class'), (1183, 'estimation_procedure', '27'), (1183, 'source_data', '115'), (1183, 'target_feature', 'foo'), (1184, 'estimation_procedure', '27'), (1184, 'source_data', '116'), (1184, 'target_feature', 'class'), (1185, 'estimation_procedure', '27'), (1185, 'source_data', '117'), (1185, 'target_feature', 'class'), (1186, 'estimation_procedure', '27'), (1186, 'source_data', '118'), (1186, 'target_feature', 'chol'), (1187, 'estimation_procedure', '27'), (1187, 'source_data', '119'), (1187, 'target_feature', 'danger_index'), (1188, 'estimation_procedure', '27'), (1188, 'source_data', '120'), (1188, 'target_feature', 'activity'), (1189, 'estimation_procedure', '27'), (1189, 'source_data', '121'), (1189, 'target_feature', 'class'), (1190, 'estimation_procedure', '27'), (1190, 'source_data', '122'), (1190, 'target_feature', 'ASR'), (1191, 'estimation_procedure', '27'), (1191, 'source_data', '123'), (1191, 'target_feature', 'richter'), (1192, 'estimation_procedure', '27'), (1192, 'source_data', '124'), (1192, 'target_feature', 'TE'), (1193, 'estimation_procedure', '27'), (1193, 'source_data', '125'), (1193, 'target_feature', 'employed'), (1194, 'estimation_procedure', '27'), (1194, 'source_data', '126'), (1194, 'target_feature', 'c_peptide'), (1195, 'estimation_procedure', '27'), (1195, 'source_data', '127'), (1195, 'target_feature', 'class'), (1196, 'estimation_procedure', '1'), (1196, 'source_data', '128'), (1196, 'target_feature', 'class'), (1197, 'estimation_procedure', '2'), (1197, 'source_data', '128'), (1197, 'target_feature', 'class'), (1198, 'estimation_procedure', '3'), (1198, 'source_data', '128'), (1198, 'target_feature', 'class'), (1199, 'estimation_procedure', '4'), (1199, 'source_data', '128'), (1199, 'target_feature', 'class'), (1200, 'estimation_procedure', '5'), (1200, 'source_data', '128'), (1200, 'target_feature', 'class'), (1201, 'estimation_procedure', '6'), (1201, 'source_data', '128'), (1201, 'target_feature', 'class'), (1202, 'estimation_procedure', '26'), (1202, 'source_data', '128'), (1202, 'target_feature', 'class'), (1203, 'estimation_procedure', '13'), (1203, 'source_data', '128'), (1203, 'target_feature', 'class'), (1204, 'estimation_procedure', '14'), (1204, 'source_data', '128'), (1204, 'target_feature', 'class'), (1205, 'estimation_procedure', '15'), (1205, 'source_data', '128'), (1205, 'target_feature', 'class'), (1206, 'estimation_procedure', '28'), (1206, 'source_data', '1'), (1206, 'target_feature', 'class'), (1207, 'estimation_procedure', '28'), (1207, 'source_data', '2'), (1207, 'target_feature', 'class'), (1208, 'estimation_procedure', '28'), (1208, 'source_data', '3'), (1208, 'target_feature', 'class'), (1209, 'estimation_procedure', '28'), (1209, 'source_data', '4'), (1209, 'target_feature', 'class'), (1210, 'estimation_procedure', '28'), (1210, 'source_data', '5'), (1210, 'target_feature', 'class'), (1211, 'estimation_procedure', '28'), (1211, 'source_data', '6'), (1211, 'target_feature', 'class'), (1212, 'estimation_procedure', '28'), (1212, 'source_data', '7'), (1212, 'target_feature', 'Class'), (1213, 'estimation_procedure', '28'), (1213, 'source_data', '8'), (1213, 'target_feature', 'class'), (1214, 'estimation_procedure', '28'), (1214, 'source_data', '9'), (1214, 'target_feature', 'class'), (1215, 'estimation_procedure', '28'), (1215, 'source_data', '10'), (1215, 'target_feature', 'class'), (1216, 'estimation_procedure', '28'), (1216, 'source_data', '11'), (1216, 'target_feature', 'class'), (1217, 'estimation_procedure', '28'), (1217, 'source_data', '12'), (1217, 'target_feature', 'class'), (1218, 'estimation_procedure', '28'), (1218, 'source_data', '13'), (1218, 'target_feature', 'Contraceptive_method_used'), (1219, 'estimation_procedure', '28'), (1219, 'source_data', '14'), (1219, 'target_feature', 'class'), (1220, 'estimation_procedure', '28'), (1220, 'source_data', '15'), (1220, 'target_feature', 'class'), (1221, 'estimation_procedure', '28'), (1221, 'source_data', '16'), (1221, 'target_feature', 'class'), (1222, 'estimation_procedure', '28'), (1222, 'source_data', '17'), (1222, 'target_feature', 'class'), (1223, 'estimation_procedure', '28'), (1223, 'source_data', '18'), (1223, 'target_feature', 'class'), (1224, 'estimation_procedure', '28'), (1224, 'source_data', '19'), (1224, 'target_feature', 'class'), (1225, 'estimation_procedure', '28'), (1225, 'source_data', '20'), (1225, 'target_feature', 'class'), (1226, 'estimation_procedure', '28'), (1226, 'source_data', '21'), (1226, 'target_feature', 'Class'), (1227, 'estimation_procedure', '28'), (1227, 'source_data', '22'), (1227, 'target_feature', 'class'), (1228, 'estimation_procedure', '28'), (1228, 'source_data', '23'), (1228, 'target_feature', 'class'), (1229, 'estimation_procedure', '28'), (1229, 'source_data', '24'), (1229, 'target_feature', 'Class'), (1230, 'estimation_procedure', '28'), (1230, 'source_data', '25'), (1230, 'target_feature', 'Class'), (1231, 'estimation_procedure', '28'), (1231, 'source_data', '26'), (1231, 'target_feature', 'Class'), (1232, 'estimation_procedure', '28'), (1232, 'source_data', '27'), (1232, 'target_feature', 'class'), (1233, 'estimation_procedure', '28'), (1233, 'source_data', '28'), (1233, 'target_feature', 'class'), (1234, 'estimation_procedure', '28'), (1234, 'source_data', '29'), (1234, 'target_feature', 'class'), (1235, 'estimation_procedure', '28'), (1235, 'source_data', '30'), (1235, 'target_feature', 'Class_number_of_rings'), (1236, 'estimation_procedure', '28'), (1236, 'source_data', '31'), (1236, 'target_feature', 'Utility'), (1237, 'estimation_procedure', '28'), (1237, 'source_data', '32'), (1237, 'target_feature', 'class'), (1238, 'estimation_procedure', '28'), (1238, 'source_data', '33'), (1238, 'target_feature', 'Class'), (1239, 'estimation_procedure', '28'), (1239, 'source_data', '34'), (1239, 'target_feature', 'Urban'), (1240, 'estimation_procedure', '28'), (1240, 'source_data', '35'), (1240, 'target_feature', 'class'), (1241, 'estimation_procedure', '28'), (1241, 'source_data', '36'), (1241, 'target_feature', 'class'), (1242, 'estimation_procedure', '28'), (1242, 'source_data', '37'), (1242, 'target_feature', 'class'), (1243, 'estimation_procedure', '28'), (1243, 'source_data', '38'), (1243, 'target_feature', 'speaker'), (1244, 'estimation_procedure', '28'), (1244, 'source_data', '39'), (1244, 'target_feature', 'class'), (1245, 'estimation_procedure', '28'), (1245, 'source_data', '40'), (1245, 'target_feature', 'Leaving_Certificate'), (1246, 'estimation_procedure', '28'), (1246, 'source_data', '41'), (1246, 'target_feature', 'Author'), (1247, 'estimation_procedure', '28'), (1247, 'source_data', '42'), (1247, 'target_feature', 'Prevention'), (1248, 'estimation_procedure', '28'), (1248, 'source_data', '43'), (1248, 'target_feature', 'Home/Away'), (1249, 'estimation_procedure', '28'), (1249, 'source_data', '44'), (1249, 'target_feature', 'Corp.Genre'), (1250, 'estimation_procedure', '28'), (1250, 'source_data', '45'), (1250, 'target_feature', 'label'), (1251, 'estimation_procedure', '28'), (1251, 'source_data', '46'), (1251, 'target_feature', 'label'), (1252, 'estimation_procedure', '28'), (1252, 'source_data', '47'), (1252, 'target_feature', 'label'), (1253, 'estimation_procedure', '28'), (1253, 'source_data', '48'), (1253, 'target_feature', 'state'), (1254, 'estimation_procedure', '28'), (1254, 'source_data', '49'), (1254, 'target_feature', 'c'), (1255, 'estimation_procedure', '28'), (1255, 'source_data', '50'), (1255, 'target_feature', 'c'), (1256, 'estimation_procedure', '28'), (1256, 'source_data', '51'), (1256, 'target_feature', 'defects'), (1257, 'estimation_procedure', '28'), (1257, 'source_data', '52'), (1257, 'target_feature', 'problems'), (1258, 'estimation_procedure', '28'), (1258, 'source_data', '53'), (1258, 'target_feature', 'defects'), (1259, 'estimation_procedure', '28'), (1259, 'source_data', '54'), (1259, 'target_feature', 'defects'), (1260, 'estimation_procedure', '28'), (1260, 'source_data', '57'), (1260, 'target_feature', 'class'), (1261, 'estimation_procedure', '28'), (1261, 'source_data', '58'), (1261, 'target_feature', 'class:'), (1262, 'estimation_procedure', '28'), (1262, 'source_data', '56'), (1262, 'target_feature', 'UPSELLING'), (1263, 'estimation_procedure', '28'), (1263, 'source_data', '60'), (1263, 'target_feature', 'click'), (1264, 'estimation_procedure', '28'), (1264, 'source_data', '61'), (1264, 'target_feature', 'Class'), (1265, 'estimation_procedure', '28'), (1265, 'source_data', '62'), (1265, 'target_feature', 'Class'), (1266, 'estimation_procedure', '28'), (1266, 'source_data', '63'), (1266, 'target_feature', 'Class'), (1267, 'estimation_procedure', '28'), (1267, 'source_data', '64'), (1267, 'target_feature', 'Class'), (1268, 'estimation_procedure', '28'), (1268, 'source_data', '65'), (1268, 'target_feature', 'Class'), (1269, 'estimation_procedure', '28'), (1269, 'source_data', '66'), (1269, 'target_feature', 'Class'), (1270, 'estimation_procedure', '28'), (1270, 'source_data', '67'), (1270, 'target_feature', 'Class'), (1271, 'estimation_procedure', '28'), (1271, 'source_data', '68'), (1271, 'target_feature', 'Class'), (1272, 'estimation_procedure', '28'), (1272, 'source_data', '69'), (1272, 'target_feature', 'Class'), (1273, 'estimation_procedure', '28'), (1273, 'source_data', '70'), (1273, 'target_feature', 'Class'), (1274, 'estimation_procedure', '28'), (1274, 'source_data', '71'), (1274, 'target_feature', 'Class'), (1275, 'estimation_procedure', '28'), (1275, 'source_data', '72'), (1275, 'target_feature', 'Class'), (1276, 'estimation_procedure', '28'), (1276, 'source_data', '73'), (1276, 'target_feature', 'Class'), (1277, 'estimation_procedure', '28'), (1277, 'source_data', '74'), (1277, 'target_feature', 'Class'), (1278, 'estimation_procedure', '28'), (1278, 'source_data', '75'), (1278, 'target_feature', 'Class'), (1279, 'estimation_procedure', '28'), (1279, 'source_data', '76'), (1279, 'target_feature', 'Class'), (1280, 'estimation_procedure', '28'), (1280, 'source_data', '77'), (1280, 'target_feature', 'Class'), (1281, 'estimation_procedure', '28'), (1281, 'source_data', '78'), (1281, 'target_feature', 'Class'), (1282, 'estimation_procedure', '28'), (1282, 'source_data', '79'), (1282, 'target_feature', 'Class'), (1283, 'estimation_procedure', '28'), (1283, 'source_data', '80'), (1283, 'target_feature', 'Class'), (1284, 'estimation_procedure', '28'), (1284, 'source_data', '81'), (1284, 'target_feature', 'Class'), (1285, 'estimation_procedure', '28'), (1285, 'source_data', '82'), (1285, 'target_feature', 'Class'), (1286, 'estimation_procedure', '28'), (1286, 'source_data', '83'), (1286, 'target_feature', 'Class'), (1287, 'estimation_procedure', '28'), (1287, 'source_data', '84'), (1287, 'target_feature', 'Class'), (1288, 'estimation_procedure', '28'), (1288, 'source_data', '85'), (1288, 'target_feature', 'Class'), (1289, 'estimation_procedure', '28'), (1289, 'source_data', '86'), (1289, 'target_feature', 'Class'), (1290, 'estimation_procedure', '28'), (1290, 'source_data', '87'), (1290, 'target_feature', 'Class'), (1291, 'estimation_procedure', '28'), (1291, 'source_data', '88'), (1291, 'target_feature', 'Class'), (1292, 'estimation_procedure', '28'), (1292, 'source_data', '89'), (1292, 'target_feature', 'class'), (1293, 'estimation_procedure', '28'), (1293, 'source_data', '90'), (1293, 'target_feature', 'target'), (1294, 'estimation_procedure', '28'), (1294, 'source_data', '91'), (1294, 'target_feature', 'target'), (1295, 'estimation_procedure', '28'), (1295, 'source_data', '92'), (1295, 'target_feature', 'Result'), (1296, 'estimation_procedure', '28'), (1296, 'source_data', '93'), (1296, 'target_feature', 'Phase'), (1297, 'estimation_procedure', '28'), (1297, 'source_data', '94'), (1297, 'target_feature', 'class'), (1298, 'estimation_procedure', '28'), (1298, 'source_data', '95'), (1298, 'target_feature', 'band_type'), (1299, 'estimation_procedure', '28'), (1299, 'source_data', '96'), (1299, 'target_feature', 'TR'), (1300, 'estimation_procedure', '28'), (1300, 'source_data', '97'), (1300, 'target_feature', 'Class'), (1301, 'estimation_procedure', '28'), (1301, 'source_data', '98'), (1301, 'target_feature', 'Class'), (1302, 'estimation_procedure', '28'), (1302, 'source_data', '99'), (1302, 'target_feature', 'Class'), (1303, 'estimation_procedure', '28'), (1303, 'source_data', '100'), (1303, 'target_feature', 'Y');
USE TSQL2012 --WINDOWS --OVER SELECT empid,ordermonth,val --val here was defined as the value of the order/sale... ,SUM(val) OVER (PARTITION BY empid --All rows with the same empid ORDER BY ordermonth ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS runval--filter [subset of the window] --NB: All the above are optional --In theory I should be able to add another function operating on a different --window [See now the diffference to GROUP BY] FROM Sales.EmpOrders --Test SELECT empid,ordermonth,val --val here was defined as the value of the order/sale... ,SUM(val) OVER (PARTITION BY empid --All rows with the same empid ORDER BY ordermonth ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) --filter [subset of the window]) AS runval FROM Sales.EmpOrders SELECT empid,ordermonth,val --val here was defined as the value of the order/sale... ,SUM(val) OVER (PARTITION BY empid --All rows with the same empid ORDER BY ordermonth ASC ) --filter [subset of the window]) AS runval FROM Sales.EmpOrders --WINDOW FUNCTIONS --Ranking window functions --Example SELECT orderid,custid,val, ROW_NUMBER() OVER (ORDER BY val ASC) AS rownum, RANK() OVER (ORDER BY val ASC) AS [rank], DENSE_RANK() OVER (ORDER BY val ASC) AS [dense_rank], NTILE(100) OVER (ORDER BY val) AS [ntile] FROM Sales.ordervalues ORDER BY val; --Assign row numbers to each row in per empid SELECT empid,hiredate,lastname, ROW_NUMBER() OVER (PARTITION BY empid --Incorrect, I used a Primary key --(its suppose to be unique for each row), hence I get all the empid and a rank of 1 ORDER BY hiredate DESC) AS ExperienceRank FROM HR.Employees SELECT orderid, orderid, orderdate, ROW_NUMBER() OVER (PARTITION BY custid --Do not partition by the primary key(All are unique after all) ORDER BY orderdate DESC) AS OrderRank FROM Sales.Orders ORDER BY custid --orderid : creates amibiquity(there are two results sets after all) --ROW_NUMBER() and DISTINCT --NB: DISTINCT is evaluated after window functions. /*In the example below, DISTINCT is useless because after ROW_NUMBER executes all the rows will uniquE(i.e the unique sequential row number assigned by ROW_NUMER()*/ --best practice is to not use DISTINCT with ROW_NUMBER() SELECT DISTINCT val,ROW_NUMBER() OVER(ORDER BY val) AS rownum FROM Sales.OrderValues --if we actually wanted to do this use GROUPS --Offset window functions --LAG and LEAD --Per customer --Orderinformation from OrderValues view --Per order return --the previous order --the next order SELECT custid,orderid,val, LAG (val,1,NULL) OVER ( PARTITION BY custid ORDER BY orderdate ASC) AS PREVORDRVALUE, LEAD (val,1,NULL) OVER ( PARTITION BY custid ORDER BY orderdate ASC) AS NEXTODRDVALUE FROM Sales.OrderValues --Difference in order values SELECT custid,orderid,val, LAG (val,1,0) OVER ( PARTITION BY custid ORDER BY orderdate ASC) AS PREVORDRVALUE, val - LAG (val,1,0) OVER ( PARTITION BY custid ORDER BY orderdate ASC) AS DIFF_FROM_PREV, LEAD (val,1,0) OVER ( PARTITION BY custid ORDER BY orderdate ASC) AS NEXTODRDVALUE, val - LEAD (val,1,0) OVER ( PARTITION BY custid ORDER BY orderdate ASC) AS DIFF_FROM_NEXT FROM Sales.OrderValues --FIRST_VALUE and LAST_VALUE --Return value of customer's first order --Return value of customer's last order --my solution SELECT custid, orderid,val,orderdate, FIRST_VALUE(val) OVER(PARTITION BY custid ORDER BY orderdate DESC ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING ) AS FIRSTORDERVALUE, LAST_VALUE(val) OVER(PARTITION BY custid ORDER BY orderdate DESC ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING ) AS LASTORDERVALUE FROM Sales.OrderValues --My solution revised SELECT custid, orderid,val,orderdate, FIRST_VALUE(val) OVER(PARTITION BY custid ORDER BY orderdate ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW ) --Assign the first value to everything before it AS FIRSTORDERVALUE, LAST_VALUE(val) OVER(PARTITION BY custid ORDER BY orderdate ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING ) AS LASTORDERVALUE FROM Sales.OrderValues --book solution SELECT custid, orderid,val,orderdate, FIRST_VALUE(val)OVER(PARTITION BY custid ORDER BY orderdate, orderid --orderis is just a tie breaker ROWS BETWEEN CURRENT ROW AND UNBOUNDED PRECEDING) AS FIRSTORDERVALUE, LAST_VALUE(val) OVER(PARTITION BY custid ORDER BY orderdate, orderid ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS LASTORDERVALUE FROM Sales.OrderValues --book solution changed SELECT custid, orderid,val,orderdate, FIRST_VALUE(val)OVER(PARTITION BY custid ORDER BY orderdate, orderid ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) --Everything before the current row AS FIRSTORDERVALUE, LAST_VALUE(val) OVER(PARTITION BY custid ORDER BY orderdate, orderid ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS LASTORDERVALUE FROM Sales.OrderValues --Aggregate window functions --Return orders --Foreach order --grand total of all orders --customers total SELECT orderid, SUM(val) AS GrandTotal, SUM(val) OVER(PARTITION BY custid) AS CustTotal FROM Sales.OrderValues GROUP BY orderid, custid --PIVOTING USE TSQL2012; IF OBJECT_ID('dbo.Orders', 'U') IS NOT NULL DROP TABLE dbo.Orders; CREATE TABLE dbo.Orders ( orderid INT NOT NULL, orderdate DATE NOT NULL, empid INT NOT NULL, custid VARCHAR(5) NOT NULL, qty INT NOT NULL, CONSTRAINT PK_Orders PRIMARY KEY(orderid) ); --Sample Data INSERT INSERT INTO dbo.Orders(orderid, orderdate, empid, custid, qty) VALUES (30001, '20070802', 3, 'A', 10), (10001, '20071224', 2, 'A', 12), (10005, '20071224', 1, 'B', 20), (40001, '20080109', 2, 'A', 40), (10006, '20080118', 1, 'C', 14), (20001, '20080212', 2, 'B', 12), (40005, '20090212', 3, 'A', 10), (20002, '20090216', 1, 'C', 20), (30003, '20090418', 2, 'B', 15), (30004, '20070418', 3, 'C', 22), (30007, '20090907', 3, 'D', 30); SELECT * FROM dbo.Orders; --Total order quantity for each customer and employee SELECT empid,custid,SUM(qty) AS Total FROM dbo.Orders GROUP BY custid,empid; SELECT * FROM dbo.Orders --Pivot --Standard SQL PIVOT SELECT empid, SUM(CASE WHEN custid = 'A' THEN qty END) AS A, SUM(CASE WHEN custid = 'B' THEN qty END) AS B, SUM(CASE WHEN custid = 'C' THEN qty END) AS C, SUM(CASE WHEN custid = 'D' THEN qty END) AS D FROM dbo.Orders GROUP BY empid --TSQL PIVOT SELECT empid,[A] AS CustomerA,[B] AS CustomerB,[C] AS CustomerC,[D] AS CustomerD -- From [A] are the columns you want pivoted(row values --turned to colums FROM (SELECT empid,custid,qty FROM dbo.Orders) AS SourceTable PIVOT ( SUM(qty) --sum qty per custid FOR custid IN ([A],[B],[C],[D]) ) AS TOTAL_QTY_PER_EMP_PER_CUST_PIVOT --TEST ---added orderdate as a non pivoted field SELECT empid,orderdate,[A] AS CustomerA,[B] AS CustomerB,[C] AS CustomerC,[D] AS CustomerD FROM (SELECT empid,custid,orderdate,qty FROM dbo.Orders) AS SourceTable PIVOT ( SUM(qty) --sum qty per custid FOR custid IN ([A],[B],[C],[D]) ) AS TOTAL_QTY_PER_EMP_PER_CUST_PIVOT --SELECT ORDRS.custid, ORDRS.empid, SUM(ORDDTLS.qty) AS "Total Order Quantity" --FROM Sales.Orders ORDRS -- INNER JOIN Sales.OrderDetails ORDDTLS -- ON ORDRS.orderid = ORDDTLS.orderid --GROUP BY ORDRS.custid, ORDRS.empid --NB: Using incorrect table. Boook uses a sample table called dbo.Orders
create table ways_addresses ( "id" int primary key not null, "housenumber" text, "city" text, "postcode" text, "state" text, "country" text, "street" text, "housename" text, "inclusion" text, "unit" text, "interpolation" text, "full" text, "place" text, "suite" text, "flats" text, "shortZip" text, "streetPrefix" text, "streetName" text, "streetType" text, "streetPostfix" text, "streetSoundex" text, "shortAddress" text, "joinAddress" text, "suggestedAddress" text, "suggestedZip" text, "suggestedCity" text );
<gh_stars>0 -- GUID fnGetGuid1Cv2 SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [fnGetGuid1Cv2] (@ID BINARY(16)) RETURNS NCHAR(36) BEGIN DECLARE @ID_STRING NCHAR(32); SET @ID_STRING = SUBSTRING(SYS.FN_SQLVARBASETOSTR(@ID),3,32); RETURN( SUBSTRING(@ID_STRING,25,8) + '-' + SUBSTRING(@ID_STRING,21,4) + '-' + SUBSTRING(@ID_STRING,17,4) + '-' + SUBSTRING(@ID_STRING,1,4) + '-' + SUBSTRING(@ID_STRING,5,12) ); END;
CREATE TABLE users.AspNetUsers ( Id int IDENTITY(1, 1) NOT NULL, UserName nvarchar(256) NOT NULL, NormalizedUserName nvarchar(256) NOT NULL, Email nvarchar(256) NOT NULL, NormalizedEmail nvarchar(256) NOT NULL, EmailConfirmed bit CONSTRAINT DF_AspNetUsers_EmailConfirmed DEFAULT 0 NOT NULL, PasswordHash nvarchar(max) NULL, SecurityStamp nvarchar(max) NULL, ConcurrencyStamp nvarchar(max) NULL, PhoneNumber nvarchar(35) NULL, PhoneNumberConfirmed bit CONSTRAINT DF_AspNetUsers_PhoneNumberConfirmed DEFAULT 0 NOT NULL, TwoFactorEnabled bit NOT NULL, LockoutEnd datetimeoffset(7) NULL, LockoutEnabled bit NOT NULL, AccessFailedCount int NOT NULL, PrimaryOrganisationId int NOT NULL, OrganisationFunction nvarchar(50) NOT NULL, [Disabled] bit NOT NULL, CatalogueAgreementSigned bit CONSTRAINT DF_AspNetUsers_CatalogueAgreementSigned DEFAULT 0 NOT NULL, FirstName nvarchar(100) NOT NULL, LastName nvarchar(100) NOT NULL, LastUpdated datetime2(7) DEFAULT GETUTCDATE() NOT NULL, LastUpdatedBy int NULL, SysStartTime datetime2(0) GENERATED ALWAYS AS ROW START NOT NULL, SysEndTime datetime2(0) GENERATED ALWAYS AS ROW END NOT NULL, PERIOD FOR SYSTEM_TIME (SysStartTime, SysEndTime), CONSTRAINT PK_AspNetUsers PRIMARY KEY (Id), CONSTRAINT AK_AspNetUsers_NormalizedUserName UNIQUE (NormalizedUserName), CONSTRAINT AK_AspNetUsers_NormalizedEmail UNIQUE (NormalizedEmail), CONSTRAINT FK_AspNetUsers_OrganisationId FOREIGN KEY (PrimaryOrganisationId) REFERENCES organisations.Organisations (Id), CONSTRAINT FK_AspNetUsers_LastUpdatedBy FOREIGN KEY (LastUpdatedBy) REFERENCES users.AspNetUsers(Id), ) WITH (SYSTEM_VERSIONING = ON (HISTORY_TABLE = users.AspNetUsers_History));
CREATE TABLE empresa ( id bigint NOT NULL IDENTITY(1,1) PRIMARY KEY, cnpj varchar(255) NOT NULL, data_atualizacao datetime NOT NULL, data_criacao datetime NOT NULL, razao_social varchar(255) NOT NULL ); CREATE TABLE funcionario ( id bigint NOT NULL IDENTITY(1,1) PRIMARY KEY, cpf varchar(255) NOT NULL, data_atualizacao datetime NOT NULL, data_criacao datetime NOT NULL, email varchar(255) NOT NULL, nome varchar(255) NOT NULL, perfil varchar(255) NOT NULL, qtd_horas_almoco float DEFAULT NULL, qtd_horas_trabalho_dia float DEFAULT NULL, senha varchar(255) NOT NULL, valor_hora decimal(19,2) DEFAULT NULL, empresa_id bigint FOREIGN KEY REFERENCES empresa(id) ); CREATE TABLE lancamento ( id bigint NOT NULL IDENTITY(1,1) PRIMARY KEY, data datetime NOT NULL, data_atualizacao datetime NOT NULL, data_criacao datetime NOT NULL, descricao varchar(255) DEFAULT NULL, localizacao varchar(255) DEFAULT NULL, tipo varchar(255) NOT NULL, funcionario_id bigint FOREIGN KEY REFERENCES funcionario(id) );
<gh_stars>0 CREATE TABLE users ( id SERIAL PRIMARY KEY NOT NULL , created_at TIMESTAMP NULL DEFAULT NULL , updated_at TIMESTAMP NULL DEFAULT NULL , sort_order INT2 , last_name_kana VARCHAR(64) , first_name_kana VARCHAR(64) , last_name VARCHAR(64) , first_name VARCHAR(64) , password VARCHAR(256) , tmp_password VARCHAR(256) , email VARCHAR(256) UNIQUE , tel FLOAT8 , birthday_at TIMESTAMP NULL DEFAULT NULL , gender VARCHAR(8) , memo TEXT ); CREATE TABLE admins ( id SERIAL PRIMARY KEY NOT NULL , created_at TIMESTAMP NULL DEFAULT NULL , updated_at TIMESTAMP NULL DEFAULT NULL , sort_order INT2 , login_name VARCHAR(256) UNIQUE , email VARCHAR(256) UNIQUE , last_name VARCHAR(64) , first_name VARCHAR(64) , password VARCHAR(256) , tmp_password VARCHAR(256) , memo TEXT );
<filename>Database/Views/BLOG_V_ALL_COMMENTS.sql -------------------------------------------------------- -- DDL for View BLOG_V_COMMENTS -------------------------------------------------------- CREATE OR REPLACE FORCE VIEW "BLOG_V_ALL_COMMENTS" ("ID", "ROW_VERSION", "CREATED_ON", "CREATED_BY", "CHANGED_ON", "CHANGED_BY", "IS_ACTIVE", "POST_ID", "PARENT_ID", "POST_TITLE", "BODY_HTML", "COMMENT_BY", "STATUS", "FLAG", "USER_ICON", "ICON_MODIFIER") AS select t1.id as id ,t1.row_version as row_version ,t1.created_on as created_on ,t1.created_by as created_by ,t1.changed_on as changed_on ,t1.changed_by as changed_by ,t1.is_active as is_active ,t1.post_id as post_id ,t1.parent_id as parent_id ,( select title from blog_posts l1 where 1 = 1 and l1.id = t1.post_id ) as post_title ,t1.body_html as body_html ,t1.comment_by as comment_by ,case when exists( select 1 from blog_comment_flags f1 where 1 = 1 and f1.comment_id = t1.id and f1.flag = 'MODERATE' ) then 'MODERATE' else case t1.is_active when 1 then 'ENABLED' else 'DISABLED' end end as status ,case when exists( select 1 from blog_comment_flags f1 where 1 = 1 and f1.comment_id = t1.id and f1.flag = 'NEW' ) then 'NEW' when exists( select 1 from blog_comment_flags f1 where 1 = 1 and f1.comment_id = t1.id and f1.flag = 'UNREAD' ) then 'UNREAD' when t1.parent_id is not null then 'REPLY' else 'READ' end as flag ,apex_string.get_initials( t1.comment_by ) as user_icon ,'u-color-' || ( ora_hash( lower( t1.comment_by ), 44 ) + 1 ) as icon_modifier from blog_comments t1 where 1 = 1 /
-- phpMyAdmin SQL Dump -- version 4.1.6 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Aug 01, 2017 at 12:07 PM -- Server version: 5.6.16 -- PHP Version: 5.5.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `db_news247` -- CREATE DATABASE IF NOT EXISTS `db_news247` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `db_news247`; -- -------------------------------------------------------- -- -- Table structure for table `categories` -- CREATE TABLE IF NOT EXISTS `categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `keyword` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `parent_id` int(11) NOT NULL, `hassub` int(11) NOT NULL, `status` int(11) NOT NULL, `user_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `categories_user_id_foreign` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=12 ; -- -- Dumping data for table `categories` -- INSERT INTO `categories` (`id`, `name`, `alias`, `title`, `keyword`, `description`, `parent_id`, `hassub`, `status`, `user_id`, `created_at`, `updated_at`) VALUES (2, 'LIFESTYLE', 'lifestyle', 'News247 - News Magazine Newspaper - LIFESTYLE title', 'News247 - News Magazine Newspaper - LIFESTYLE keyword', 'News247 - News Magazine Newspaper - LIFESTYLE description', 0, 0, 1, 1, '2017-07-22 01:18:29', '2017-07-22 01:18:29'), (3, 'Sport', 'sport', 'News247 - News Magazine Newspaper - Sport title', 'News247 - News Magazine Newspaper - Sport keyword', 'News247 - News Magazine Newspaper - Sport description', 0, 1, 1, 1, '2017-07-22 01:18:29', '2017-07-28 02:18:14'), (4, 'Football', 'football', 'News247 - News Magazine Newspaper - Football title', 'News247 - News Magazine Newspaper - Football keyword', 'News247 - News Magazine Newspaper - Football description', 3, 0, 1, 1, '2017-07-22 01:18:29', '2017-07-22 01:18:29'), (8, 'Basketball', 'basketball', 'News247 - News Magazine Newspaper - Basketball title', 'News247 - News Magazine Newspaper - Basketball keyword', 'News247 - News Magazine Newspaper - Basketball description', 3, 0, 1, 1, '2017-07-28 02:18:55', '2017-07-28 02:18:55'), (9, 'Fashion', 'fashion', 'Title of fashion category', 'Keyword of fashion category', 'Description of fashion category', 0, 0, 1, 1, '2017-07-31 06:33:12', '2017-07-31 06:33:12'), (10, 'Technology', 'technology', 'Title of fashion technology category', 'Keyword of technology category', 'Description of technology category', 0, 0, 1, 1, '2017-07-31 06:38:17', '2017-07-31 06:38:17'), (11, 'Health', 'health', 'Title of fashion health category', 'Keyword of health category', 'Description of health category', 0, 0, 1, 1, '2017-07-31 06:39:00', '2017-07-31 06:39:00'); -- -------------------------------------------------------- -- -- Table structure for table `comments` -- CREATE TABLE IF NOT EXISTS `comments` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `content` longtext COLLATE utf8_unicode_ci NOT NULL, `website` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `configs` -- CREATE TABLE IF NOT EXISTS `configs` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `configs_user_id_foreign` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE IF NOT EXISTS `migrations` ( `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`migration`, `batch`) VALUES ('2014_10_12_000000_create_users_table', 1), ('2014_10_12_100000_create_password_resets_table', 1), ('2017_07_21_032112_create_configs_table', 1), ('2017_07_21_032234_create_posttypes_table', 1), ('2017_07_21_032509_create_videos_table', 1), ('2017_07_21_033334_create_posts_table', 1), ('2017_07_21_034227_create_tags_table', 1), ('2017_07_21_034313_create_post_tags_table', 1), ('2017_07_21_034446_create_comments_table', 1), ('2017_07_21_034613_create_post_comments_table', 1), ('2017_07_21_042031_create_categories_table', 1); -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- CREATE TABLE IF NOT EXISTS `password_resets` ( `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, KEY `password_resets_email_index` (`email`), KEY `password_resets_token_index` (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `posts` -- CREATE TABLE IF NOT EXISTS `posts` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `intro` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `alias` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `title` longtext COLLATE utf8_unicode_ci NOT NULL, `description` longtext COLLATE utf8_unicode_ci NOT NULL, `keyword` longtext COLLATE utf8_unicode_ci NOT NULL, `content` longtext COLLATE utf8_unicode_ci NOT NULL, `status` int(11) NOT NULL, `image` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `posttype_id` int(10) unsigned NOT NULL, `category_id` int(11) NOT NULL, `user_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `posts_posttype_id_foreign` (`posttype_id`), KEY `posts_user_id_foreign` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ; -- -- Dumping data for table `posts` -- INSERT INTO `posts` (`id`, `name`, `intro`, `alias`, `title`, `description`, `keyword`, `content`, `status`, `image`, `posttype_id`, `category_id`, `user_id`, `created_at`, `updated_at`) VALUES (2, 'Samsung Gear S3 review: A whimper, when smartwatches need a bang', 'Samsung Gear S3 review: A whimper, when smartwatches need a bang. Awesome', 'samsung-gear-s3-review:-a-whimper,-when-smartwatches-need-a-bang', 'Title of Samsung Gear S3 review: A whimper, when smartwatches need a bang', 'Description of Samsung Gear S3 review: A whimper, when smartwatches need a bang', 'Keyword of Samsung Gear S3 review: A whimper, when smartwatches need a bang', '<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">\r\n<figcaption class="caption caption--inline" style="box-sizing: inherit; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; margin-top: 5px;">\r\n<p style="box-sizing: inherit; margin: 0px; text-align: left;"><span class="caption__credit" style="box-sizing: inherit; margin-left: 0.3em;"><span style="color: #aaaaaa; font-family: MarrSans, Helvetica, ''Arial Black'', Arial, sans-serif;"><span style="line-height: 21px;">New Atlas reviews the Samsung Gear S3, a very solid smartwatch that doesn''t improve in many ways over its predecessor (Credit: <NAME>/New Atlas)</span></span></span></p>\r\n<p style="box-sizing: inherit; margin: 0px 0px 1.8em; line-height: 1.8; color: #333333; font-family: PublicoText, ''Helvetica Neue'', Arial; font-size: 18px; text-align: start;">When a company has spent the last three years aggressively churning out smartwatches on a yearly or twice-yearly basis, trying to kickstart the "Next Big Thing," what does it do when demand sputters? If you''re Samsung, the answer is apparently: not much. The Gear S3 is a solid smartwatch with an intuitive input system, but barely improves over its 2015 predecessor.</p>\r\n<ul class="gallery-preview" style="box-sizing: inherit; margin: 0px 0px 1.3em; list-style: none; padding: 0px; color: #333333; font-family: PublicoText, ''Helvetica Neue'', Arial; font-size: 18px; line-height: 27px; text-align: start;">\r\n<li style="box-sizing: inherit; margin: 0px 16.375px 16.375px 0px; float: left; width: 141.672px; background: transparent;"><a style="box-sizing: inherit; cursor: pointer; text-decoration: none; background-color: transparent;" href="http://newatlas.com/gear-s3-review/46576/#gallery?thumb=true#picture1" data-tracking="gallery-preview_thumbnail_top" data-image-hash="#p437140"><img style="box-sizing: inherit; border-style: none; max-width: 100%; vertical-align: middle;" title="Continuing a concerning trend, timers are currently&nbsp;broken on the Gear S3: They won''t notify you when completed" src="https://img.newatlas.com/gear-s3-review-1.jpg?auto=format%2Ccompress&amp;fit=crop&amp;h=200&amp;q=60&amp;w=200&amp;s=f1d95713c86a8e177ecf9c0473380006" srcset="https://img.newatlas.com/gear-s3-review-1.jpg?auto=format%2Ccompress&amp;dpr=2&amp;fit=crop&amp;h=200&amp;q=40&amp;w=200&amp;s=5321255c732e44978a3cacef23e66351 2x" alt="Continuing a concerning trend, timers are currently&nbsp;broken on the Gear S3: They won''t notify you when completed" /></a></li>\r\n<li style="box-sizing: inherit; margin: 0px 16.375px 16.375px 0px; float: left; width: 141.672px; background: transparent;"><a style="box-sizing: inherit; cursor: pointer; text-decoration: none; background-color: transparent;" href="http://newatlas.com/gear-s3-review/46576/#gallery?thumb=true#picture3" data-tracking="gallery-preview_thumbnail_top" data-image-hash="#p437142"><img style="box-sizing: inherit; border-style: none; max-width: 100%; vertical-align: middle;" title="Reminders are finally fixed in the S3" src="https://img.newatlas.com/gear-s3-review-3.jpg?auto=format%2Ccompress&amp;fit=crop&amp;h=200&amp;q=60&amp;w=200&amp;s=131b85b8a21bc148354c1d58e5b66c65" srcset="https://img.newatlas.com/gear-s3-review-3.jpg?auto=format%2Ccompress&amp;dpr=2&amp;fit=crop&amp;h=200&amp;q=40&amp;w=200&amp;s=c5edf61556ce413a945d9486d77a17bf 2x" alt="Reminders are finally fixed in the S3" /></a></li>\r\n<li style="box-sizing: inherit; margin: 0px 16.375px 16.375px 0px; float: left; width: 141.672px; background: transparent;"><a style="box-sizing: inherit; cursor: pointer; text-decoration: none; background-color: transparent;" href="http://newatlas.com/gear-s3-review/46576/#gallery?thumb=true#picture4" data-tracking="gallery-preview_thumbnail_top" data-image-hash="#p437143"><img style="box-sizing: inherit; border-style: none; max-width: 100%; vertical-align: middle;" title="The Gear''s rotating bezel is still its killer feature" src="https://img.newatlas.com/gear-s3-review-4.jpg?auto=format%2Ccompress&amp;fit=crop&amp;h=200&amp;q=60&amp;w=200&amp;s=4ceb75a4dc3afbcc9d885bd0ca205595" srcset="https://img.newatlas.com/gear-s3-review-4.jpg?auto=format%2Ccompress&amp;dpr=2&amp;fit=crop&amp;h=200&amp;q=40&amp;w=200&amp;s=5b32006f0b07472d6d68431b69511ac7 2x" alt="The Gear''s rotating bezel is still its killer feature" /></a></li>\r\n<li style="box-sizing: inherit; margin: 0px 0px 16.375px; float: left; width: 141.672px; background: transparent;"><a style="box-sizing: inherit; cursor: pointer; text-decoration: none; background-color: transparent;" href="http://newatlas.com/gear-s3-review/46576/#gallery?thumb=true#picture5" data-tracking="gallery-preview_thumbnail_top" data-image-hash="#p437144"><img style="box-sizing: inherit; border-style: none; max-width: 100%; vertical-align: middle;" title="We like the look of this Frontier model, though the watch is large" src="https://img.newatlas.com/gear-s3-review-5.jpg?auto=format%2Ccompress&amp;fit=crop&amp;h=200&amp;q=60&amp;w=200&amp;s=1dba979837f90f889a5adeb6859cd00f" srcset="https://img.newatlas.com/gear-s3-review-5.jpg?auto=format%2Ccompress&amp;dpr=2&amp;fit=crop&amp;h=200&amp;q=40&amp;w=200&amp;s=214ba82b01583a4f6bb45a5be4df4f85 2x" alt="We like the look of this Frontier model, though the watch is large" /></a></li>\r\n</ul>\r\n<p style="box-sizing: inherit; margin: 0px; text-align: left;">&nbsp;</p>\r\n<p style="box-sizing: inherit; margin: 0px 0px 1.8em; line-height: 1.8; color: #333333; font-family: PublicoText, ''Helvetica Neue'', Arial; font-size: 18px; text-align: start;">One of the most unsightly features of the earliest smartwatches was a tendency towards gargantuan sizes that announced to anyone in sight: "I''m a tech product." After a year or two, those sizes &ndash; thankfully &ndash; started shrinking down to better blend in with their timekeeping watch ancestors. The popular assumption was that smartwatches would continue in that trajectory towards inconspicuousness.</p>\r\n</figcaption>\r\n</figure>', 1, '/photos/1/post/gadget2.jpg', 4, 10, 1, '2017-07-31 06:47:52', '2017-07-31 06:47:52'), (3, 'Hynopedia helps female travelers find health care in Maldivs', 'Hynopedia helps female travelers find health care in Maldivs, it''s very beautyful', 'hynopedia-helps-female-travelers-find-health-care-in-maldivs', 'Title of Hynopedia helps female travelers find health care in Maldivs', 'Description of Hynopedia helps female travelers find health care in Maldivs', 'Keyword of Hynopedia helps female travelers find health care in Maldivs', '<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">Visit your health professional at least 4 to 6 weeks before your trip to check whether you need any vaccinations or other preventive measures. Country specific information and advice is published by the National Travel Health Network and Centre on the TravelHealthPro website and by NHS (Scotland) on the fitfortravel website. Useful information and advice about healthcare abroad is also available on the NHS Choices website.</figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;"></figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">UK health authorities have classified Maldives as having a risk of Zika virus transmission. For more information and advice visit the National Travel Health Network and Centre website</figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;"></figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">Medical facilities are limited. There are only 2 hospitals and these are on the capital island, Mal&eacute;. Neither has a trauma unit. Although most resort islands are within easy reach of a doctor, many are several hours&rsquo; travel away from the hospital facilities on Mal&eacute;. Many resort islands are more than an hour away from the nearest decompression chamber.</figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;"></figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">Make sure you have adequate travel health insurance and accessible funds to cover the cost of any medical treatment abroad and repatriation.</figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;"></figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">If you need emergency medical assistance during your trip, dial 102 and ask for an ambulance. You should contact your insurance/medical assistance company promptly if you are referred to a medical facility for treatment.</figure>\r\n<figure class="inline-item" style="box-sizing: inherit; margin: 0px auto 1.8em; text-align: center; position: relative;">\r\n<figcaption class="caption caption--inline" style="box-sizing: inherit; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; margin-top: 5px;">\r\n<p style="border: none; margin: 20px 0px; padding: 0px; font-size: 19px; font-family: nta, Arial, sans-serif; line-height: 1.31579; color: #0b0c0c; text-align: start;">&nbsp;</p>\r\n</figcaption>\r\n</figure>', 1, '/photos/1/post/travel1.jpg', 3, 2, 1, '2017-07-31 06:56:49', '2017-07-31 06:56:49'), (5, 'Soaring through Southern Patagonia with the Premium Byrd drone', 'Soaring through Southern Patagonia with the Premium Byrd drone hmm', 'soaring-through-southern-patagonia-with-the-premium-byrd-drone', 'Title of Soaring through Southern Patagonia with the Premium Byrd drone', 'Description of Soaring through Southern Patagonia with the Premium Byrd drone', 'Keyword of Soaring through Southern Patagonia with the Premium Byrd drone', '<div class="itemIntroText" style="box-sizing: border-box; color: #333333; font-family: ''Open Sans'', sans-serif; line-height: 24px;">\r\n<p style="box-sizing: border-box; margin: 0px 0px 10px;">Pityful a rethoric question ran over her cheek When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane.</p>\r\n</div>\r\n<div class="itemFullText" style="box-sizing: border-box; color: #333333; font-family: ''Open Sans'', sans-serif; line-height: 24px;">\r\n<p style="box-sizing: border-box; margin: 0px 0px 15px;">Throw myself down teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees, and but a few stray gleams steal into the inner sanctuary grow familiar with the countless indescribable forms of the insects and flies, then I feel the presence of the Almighty, who formed us in his own image, and the breath</p>\r\n<p style="box-sizing: border-box; margin: 0px 0px 15px;">Lo-fi cred gastropub, brunch aliquip stumptown culpa. Banh mi eiusmod tattooed, freegan Schlitz master cleanse pug. Eu 8-bit id PBR Pinterest taxidermy, swag church-key Echo Park commodo yr. Adipisicing leggings enim laboris wayfarers, cliche Carles placeat typewriter mixtape cold-pressed. Etsy Pitchfork Austin, selvage beard reprehenderit ea ugh.</p>\r\n<p style="box-sizing: border-box; margin: 0px 0px 15px;">Pitchfork kitsch plaid forage aliquip, sustainable taxidermy deserunt health goth stumptown cred VHS butcher. Mixtape fap Intelligentsia small batch placeat labore, bitters swag chia Echo Park. Four loko aliquip id, delectus beard Bushwick bespoke Blue Bottle eu keytar veniam ethical High Life pour-over.</p>\r\n<h3 style="box-sizing: border-box; font-family: Arimo, sans-serif; line-height: 30px; margin: 0px; font-size: 22px; padding: 15px;">When, while the lovely valley teems with vapour around me, and the meridian sun strikes.</h3>\r\n<p style="box-sizing: border-box; margin: 0px 0px 15px;">Art party photo booth deserunt exercitation plaid squid. Minim Austin 3 wolf moon scenester aesthetic, umami odio pariatur bitters. Pop-up occaecat taxidermy street art, tattooed beard literally duis photo booth Thundercats shabby chic. Velit non seitan, tilde art party minim Thundercats viral.</p>\r\n<ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;">\r\n<li style="box-sizing: border-box;">Plaid fashion axe semiotics skateboard</li>\r\n<li style="box-sizing: border-box;">Mixtape fap Intelligentsia small batch placeat labore</li>\r\n<li style="box-sizing: border-box;">Gleams steal into the inner sanctuary grow</li>\r\n<li style="box-sizing: border-box;">Like these sweet mornings of spring which</li>\r\n</ul>\r\n<p style="box-sizing: border-box; margin: 0px 0px 15px;">High Life tempor retro Truffaut. Tofu mixtape twee, assumenda quinoa flexitarian aesthetic artisan vinyl pug. Chambray et Carles Thundercats cardigan actually, magna bicycle rights. Plaid fashion axe semiotics skateboard, try-hard food truck aesthetic biodiesel exercitation. Accusamus VHS Wes <NAME> food truck vero. Farm-to-table selfies labore, leggings cupidatat sunt taxidermy umami fanny pack typewriter hoodie art party voluptate cardigan banjo. Listicle meditation paleo, drinking vinegar sint direct trade vegan 3 wolf moon.</p>\r\n</div>', 1, '/photos/1/gadget4.jpg', 3, 2, 1, '2017-08-01 00:24:47', '2017-08-01 00:24:47'), (6, 'Early tourists choices to the sea of Maldives in fancy dresses and suits', 'Pityful a rethoric question ran over her cheek When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lan', 'early-tourists-choices-to-the-sea-of-maldives-in-fancy-dresses-and-suits', 'Title of Early tourists choices to the sea of Maldives in fancy dresses and suits', 'Description of Early tourists choices to the sea of Maldives in fancy dresses and suits', 'Keyword of Early tourists choices to the sea of Maldives in fancy dresses and suits', '<p>&nbsp;<span style="color: #333333; font-family: ''Open Sans'', sans-serif; line-height: 24px;">Pityful a rethoric question ran over her cheek When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane.</span></p>\r\n<div class="itemFullText" style="box-sizing: border-box; color: #333333; font-family: ''Open Sans'', sans-serif; line-height: 24px;">\r\n<p style="box-sizing: border-box; margin: 0px 0px 15px;">Throw myself down teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees, and but a few stray gleams steal into the inner sanctuary grow familiar with the countless indescribable forms of the insects and flies, then I feel the presence of the Almighty, who formed us in his own image, and the breath</p>\r\n</div>', 1, '/photos/1/post/travel2.jpg', 3, 2, 1, '2017-08-01 00:34:44', '2017-08-01 00:34:44'); -- -------------------------------------------------------- -- -- Table structure for table `posttypes` -- CREATE TABLE IF NOT EXISTS `posttypes` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `posttypes_user_id_foreign` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=6 ; -- -- Dumping data for table `posttypes` -- INSERT INTO `posttypes` (`id`, `name`, `user_id`, `created_at`, `updated_at`) VALUES (1, 'Popular post', 1, NULL, NULL), (2, 'Review', 1, NULL, NULL), (3, 'Hot news', 1, '2017-07-31 06:30:32', '2017-07-31 06:30:32'), (4, 'Hot new in top homepage', 1, '2017-07-31 06:41:21', '2017-07-31 06:41:21'), (5, 'Normal news', 1, '2017-07-31 06:41:21', '2017-07-31 06:41:21'); -- -------------------------------------------------------- -- -- Table structure for table `post_comments` -- CREATE TABLE IF NOT EXISTS `post_comments` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `post_id` int(11) NOT NULL, `comment_id` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `post_tags` -- CREATE TABLE IF NOT EXISTS `post_tags` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `post_id` int(11) NOT NULL, `tag_id` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=23 ; -- -- Dumping data for table `post_tags` -- INSERT INTO `post_tags` (`id`, `post_id`, `tag_id`, `created_at`, `updated_at`) VALUES (10, 1, 1, '2017-07-28 00:16:57', '2017-07-28 00:16:57'), (11, 1, 2, '2017-07-28 00:16:57', '2017-07-28 00:16:57'), (12, 1, 3, '2017-07-28 00:16:57', '2017-07-28 00:16:57'), (13, 1, 4, '2017-07-28 00:16:57', '2017-07-28 00:16:57'), (14, 1, 5, '2017-07-28 00:16:57', '2017-07-28 00:16:57'), (15, 2, 6, '2017-07-31 06:47:52', '2017-07-31 06:47:52'), (16, 2, 7, '2017-07-31 06:47:52', '2017-07-31 06:47:52'), (17, 2, 8, '2017-07-31 06:47:52', '2017-07-31 06:47:52'), (18, 3, 9, '2017-07-31 06:56:49', '2017-07-31 06:56:49'), (19, 3, 10, '2017-07-31 06:56:49', '2017-07-31 06:56:49'), (20, 5, 11, '2017-08-01 00:24:48', '2017-08-01 00:24:48'), (21, 6, 9, '2017-08-01 00:34:44', '2017-08-01 00:34:44'), (22, 6, 10, '2017-08-01 00:34:44', '2017-08-01 00:34:44'); -- -------------------------------------------------------- -- -- Table structure for table `tags` -- CREATE TABLE IF NOT EXISTS `tags` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `tags_name_unique` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=12 ; -- -- Dumping data for table `tags` -- INSERT INTO `tags` (`id`, `created_at`, `updated_at`, `alias`, `name`) VALUES (1, '2017-07-27 23:45:16', '2017-07-27 23:45:16', 'test1', 'Test1'), (2, '2017-07-27 23:45:17', '2017-07-27 23:45:17', 'test2', 'Test2'), (3, '2017-07-27 23:45:17', '2017-07-27 23:45:17', 'test3', 'Test3'), (4, '2017-07-27 23:45:17', '2017-07-27 23:45:17', 'test4', 'Test4'), (5, '2017-07-28 00:16:08', '2017-07-28 00:16:08', 'test5', 'Test5'), (6, '2017-07-31 06:47:52', '2017-07-31 06:47:52', 'samsung', 'Samsung'), (7, '2017-07-31 06:47:52', '2017-07-31 06:47:52', 's3', ' S3'), (8, '2017-07-31 06:47:52', '2017-07-31 06:47:52', 'gear', ' Gear'), (9, '2017-07-31 06:56:49', '2017-07-31 06:56:49', 'travel', 'Travel'), (10, '2017-07-31 06:56:49', '2017-07-31 06:56:49', 'maldive', 'Maldive'), (11, '2017-08-01 00:24:48', '2017-08-01 00:24:48', 'soaring', 'Soaring'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `image` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `about` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `facebook` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `twitter` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `google` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `image`, `about`, `facebook`, `twitter`, `google`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'hominh', '', '', '', '', '', '<EMAIL>', <PASSWORD>Y7JMp2K', NULL, '2017-07-20 21:29:27', '2017-07-20 21:29:27'); -- -------------------------------------------------------- -- -- Table structure for table `videos` -- CREATE TABLE IF NOT EXISTS `videos` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `intro` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `keyword` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `thumb` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) unsigned NOT NULL, `status` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `videos_user_id_foreign` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `videos` -- INSERT INTO `videos` (`id`, `name`, `alias`, `intro`, `title`, `description`, `keyword`, `url`, `thumb`, `user_id`, `status`, `created_at`, `updated_at`) VALUES (1, 'Test name video', 'test-name-video', 'Day la video de test', 'Title of video', 'Description of video', '', 'https://www.youtube.com/watch?v=cU7v3eqR6Ho', '', 1, 1, '2017-07-30 20:37:13', '2017-07-31 01:21:23'); -- -- Constraints for dumped tables -- -- -- Constraints for table `categories` -- ALTER TABLE `categories` ADD CONSTRAINT `categories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `configs` -- ALTER TABLE `configs` ADD CONSTRAINT `configs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `posts` -- ALTER TABLE `posts` ADD CONSTRAINT `posts_posttype_id_foreign` FOREIGN KEY (`posttype_id`) REFERENCES `posttypes` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `posts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `posttypes` -- ALTER TABLE `posttypes` ADD CONSTRAINT `posttypes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `videos` -- ALTER TABLE `videos` ADD CONSTRAINT `videos_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<filename>sewa-alat-camping.sql -- phpMyAdmin SQL Dump -- version 4.8.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 12 Feb 2020 pada 14.27 -- Versi server: 10.1.34-MariaDB -- Versi PHP: 7.2.8 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: `sewa-alat-camping` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `barang` -- CREATE TABLE `barang` ( `id` bigint(20) UNSIGNED NOT NULL, `nama_barang` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `harga_sewa` int(11) DEFAULT NULL, `stock` enum('ada','tidak_ada') COLLATE utf8mb4_unicode_ci NOT NULL, `image` 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 `barang` -- INSERT INTO `barang` (`id`, `nama_barang`, `harga_sewa`, `stock`, `image`, `created_at`, `updated_at`) VALUES (1, 'Handy_Talky', 30000, 'ada', 'Handy_Talky', '2020-01-25 02:50:42', '2020-01-25 06:26:20'); -- -------------------------------------------------------- -- -- 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 (13, '2020_01_23_145021_add_image_to_barang_table', 4), (15, '2020_01_22_065030_create_barang_table', 5), (16, '2020_01_22_065121_create_users_table', 5), (17, '2020_01_22_065147_create_penyewa_table', 5), (18, '2020_01_22_065203_create_sewa_table', 5), (19, '2020_01_22_065216_create_pembayaran_table', 5), (20, '2020_01_22_092031_add_stock_to_barang_table', 5), (21, '2020_01_22_102519_add_role_to_users_table', 5), (22, '2020_01_23_152557_add_image_to_barang_table', 5), (23, '2020_01_25_065048_create_sewa_table', 6); -- -------------------------------------------------------- -- -- Struktur dari tabel `pembayaran` -- CREATE TABLE `pembayaran` ( `id` bigint(20) UNSIGNED NOT NULL, `sewa_id` int(11) NOT NULL, `total` int(11) DEFAULT NULL, `bayar` int(11) DEFAULT NULL, `status` enum('lunas','belum_lunas') COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `pembayaran` -- INSERT INTO `pembayaran` (`id`, `sewa_id`, `total`, `bayar`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 400000, 400000, 'lunas', '2020-01-25 07:06:36', '2020-01-25 07:07:28'); -- -------------------------------------------------------- -- -- Struktur dari tabel `penyewa` -- CREATE TABLE `penyewa` ( `id` bigint(20) UNSIGNED NOT NULL, `nama_penyewa` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `alamat_penyewa` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL, `no_telp` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `penyewa` -- INSERT INTO `penyewa` (`id`, `nama_penyewa`, `alamat_penyewa`, `no_telp`, `created_at`, `updated_at`) VALUES (1, '<NAME>', 'Cimahi Utara', '089673267647', '2020-01-25 06:36:10', '2020-01-25 06:36:10'); -- -------------------------------------------------------- -- -- Struktur dari tabel `sewa` -- CREATE TABLE `sewa` ( `id` bigint(20) UNSIGNED NOT NULL, `user_id` int(11) NOT NULL, `penyewa_id` int(11) NOT NULL, `barang_id` int(11) NOT NULL, `tanggal_sewa` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `tanggal_pengembalian` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `sewa` -- INSERT INTO `sewa` (`id`, `user_id`, `penyewa_id`, `barang_id`, `tanggal_sewa`, `tanggal_pengembalian`, `created_at`, `updated_at`) VALUES (1, 1, 1, 1, '19 agustus 2021', '20 agustus 2021', '2020-01-25 06:54:47', '2020-01-25 06:57:17'); -- -------------------------------------------------------- -- -- Struktur dari tabel `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `role` enum('admin','petugas') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'petugas', `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`, `password`, `role`, `created_at`, `updated_at`) VALUES (1, 'admin', '<EMAIL>', <PASSWORD>', 'admin', '2020-01-25 02:32:13', '2020-01-25 02:32:13'), (2, 'petugas', '<EMAIL>', <PASSWORD>', 'petugas', '2020-01-25 03:04:51', '2020-01-25 03:04:51'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `barang` -- ALTER TABLE `barang` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `pembayaran` -- ALTER TABLE `pembayaran` ADD PRIMARY KEY (`id`), ADD KEY `sewa_id_foreign` (`sewa_id`); -- -- Indeks untuk tabel `penyewa` -- ALTER TABLE `penyewa` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `sewa` -- ALTER TABLE `sewa` ADD PRIMARY KEY (`id`), ADD KEY `user_id_foreign` (`user_id`), ADD KEY `penyewa_id_foreign` (`penyewa_id`), ADD KEY `barang_id_foreign` (`barang_id`); -- -- Indeks untuk tabel `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email_unique` (`email`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `barang` -- ALTER TABLE `barang` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24; -- -- AUTO_INCREMENT untuk tabel `pembayaran` -- ALTER TABLE `pembayaran` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `penyewa` -- ALTER TABLE `penyewa` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `sewa` -- ALTER TABLE `sewa` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; 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 <<<<<<< HEAD -- version 4.4.15.9 -- https://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 25, 2020 at 08:46 PM -- Server version: 5.6.37 -- PHP Version: 5.6.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+02:00"; ======= -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jul 12, 2020 at 12:13 PM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.2.29 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce /*!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: `cinema_db` -- -- -------------------------------------------------------- -- <<<<<<< HEAD -- Table structure for table `bookingTable` -- CREATE TABLE IF NOT EXISTS `bookingTable` ( ======= -- Table structure for table `bookingtable` -- CREATE TABLE `bookingtable` ( >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce `bookingID` int(11) NOT NULL, `movieName` varchar(100) DEFAULT NULL, `bookingTheatre` varchar(100) NOT NULL, `bookingType` varchar(100) DEFAULT NULL, `bookingDate` varchar(50) NOT NULL, `bookingTime` varchar(50) NOT NULL, `bookingFName` varchar(100) NOT NULL, `bookingLName` varchar(100) DEFAULT NULL, `bookingPNumber` varchar(12) NOT NULL <<<<<<< HEAD ) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1; -- -- Dumping data for table `bookingTable` -- INSERT INTO `bookingTable` (`bookingID`, `movieName`, `bookingTheatre`, `bookingType`, `bookingDate`, `bookingTime`, `bookingFName`, `bookingLName`, `bookingPNumber`) VALUES (19, 'Bad Boys For Life', 'main-hall', '3d', '13-3', '15-00', 'Bardh', 'Korca', '38345873399'), (22, 'Jumanji', 'vip-hall', 'imax', '13-3', '18-00', 'Lirigzona', 'Rexha', '38349256256'); -- -- Table structure for table `feedbackTable` -- CREATE TABLE IF NOT EXISTS `feedbackTable` ( ======= ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `bookingtable` -- INSERT INTO `bookingtable` (`bookingID`, `movieName`, `bookingTheatre`, `bookingType`, `bookingDate`, `bookingTime`, `bookingFName`, `bookingLName`, `bookingPNumber`) VALUES (19, 'Bad Boys For Life', 'main-hall', '3d', '13-3', '15-00', 'Bardh ', 'Korca', '38345873399'), (22, 'Jumanji', 'vip-hall', 'imax', '13-3', '18-00', 'Lirigzona', 'Rexha', '38349256256'), (24, 'VENOM', 'vip-hall', 'imax', '14-3', '18-00', 'Nderim', 'Murati', ' '), (25, 'VENOM', 'main-hall', '3d', '12-3', '15-00', 'Qendrim', 'Rexhepi', '+38349200200'), (26, 'VENOM', 'main-hall', '3d', '12-3', '15-00', 'Qendrim', 'Rexhepi', '+38349200200'), (28, 'Bad Boys For Life 2', 'main-hall', '2d', '12-3', '12-00', 'HASAN', 'PRISHTINA', '+38344100100'); -- -------------------------------------------------------- -- -- Table structure for table `feedbacktable` -- CREATE TABLE `feedbacktable` ( >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce `msgID` int(12) NOT NULL, `senderfName` varchar(50) NOT NULL, `senderlName` varchar(50) DEFAULT NULL, `sendereMail` varchar(100) NOT NULL, `senderfeedback` varchar(500) DEFAULT NULL <<<<<<< HEAD ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; -- -- Dumping data for table `feedbackTable` -- INSERT INTO `feedbackTable` (`msgID`, `senderfName`, `senderlName`, `sendereMail`, `senderfeedback`) VALUES (1, 'Nderim', 'Murati', '<EMAIL>', 'Tungjatjeta'), (2, 'Besar', 'Tasholli', '<EMAIL>', 'Pershendetje'); (3, 'Qendrim', 'Rexhepi', '<EMAIL>', 'Pershendetje'), ======= ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `feedbacktable` -- INSERT INTO `feedbacktable` (`msgID`, `senderfName`, `senderlName`, `sendereMail`, `senderfeedback`) VALUES (1, 'Besar', 'Tasholli', '<EMAIL>', 'Hello '), (2, 'Nderim ', 'Murati', '<EMAIL>', 'Pershendetje'), (3, 'Qendrim', 'Rexhepi', '<EMAIL>', 'Pershendetje te nderuar'), (4, 'Besar', 'sada', '<EMAIL>', 'Ndreqe problemin'); >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce -- -------------------------------------------------------- -- <<<<<<< HEAD -- Table structure for table `movieTable` -- CREATE TABLE IF NOT EXISTS `movieTable` ( ======= -- Table structure for table `movietable` -- CREATE TABLE `movietable` ( >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce `movieID` int(11) NOT NULL, `movieImg` varchar(150) NOT NULL, `movieTitle` varchar(100) NOT NULL, `movieGenre` varchar(50) NOT NULL, `movieDuration` int(11) NOT NULL, `movieRelDate` date NOT NULL, `movieDirector` varchar(50) NOT NULL, `movieActors` varchar(150) NOT NULL <<<<<<< HEAD ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; -- -- Dumping data for table `movieTable` -- INSERT INTO `movieTable` (`movieID`, `movieImg`, `movieTitle`, `movieGenre`, `movieDuration`, `movieRelDate`, `movieDirector`, `movieActors`) VALUES (1, 'img/movie1-poster-badboysforlife.jpg', 'Bad Boys For Life 2', ' Action, Adventure ', 220, '2020-02-10', '<NAME>', '<NAME>'), (2, 'img/movie2-poster-007.jpg', 'No Time To Die - 007 ', 'Action', 110, '2020-02-18', '<NAME>'), (3, 'img/movie3-poster-jumanji.jpg', 'JUMANJI 2 ', 'Comedy, Action, Adventure', 110, '2020-01-29', '<NAME>, <NAME>', '<NAME>, <NAME>'), (4, 'img/movie4-poster-extraction.jpg', 'EXTRACTION ', 'Action', 105, '2020-04-24', ' <NAME>', '<NAME>, <NAME>, <NAME>'), (5, 'img/movie5-poster-venom.jpg', 'Venom', 'Fantasy,Action', 132, '2018-10-05', '<NAME>', '<NAME>, <NAME>, <NAME>'), (6, 'img/movie6-poster-endgame.jpg', 'AVANGERS Endgame', 'Fantasy, Action, Thriller', 107, '2020-01-04', '<NAME> Jr.', '<NAME>, <NAME>, <NAME>, <NAME> '); (7, 'img/movie7-poster-capone.jpg', 'AL CAPONE ', 'Action', 110, '2020-03-18', '<NAME>'), (8, 'img/movie8-poster-madmaxfuryroad.jpg', 'MAD MAX FURY ROAD ', 'Action, Fantasy', 110, '2015-04-12', '<NAME>'), (9, 'img/movie9-poster-johnwick3.jpg', '<NAME> 3 ', 'Action', 110, '2019-10-27', 'Keanu Reeves'), ======= ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `movietable` -- INSERT INTO `movietable` (`movieID`, `movieImg`, `movieTitle`, `movieGenre`, `movieDuration`, `movieRelDate`, `movieDirector`, `movieActors`) VALUES (1, 'img/movie1-poster-badboysforlife.jpg', 'Bad Boys For Life 2', ' Action, Adventure', 220, '2020-02-10', '<NAME>, <NAME>', '<NAME>\', \'<NAME>'), (2, 'img/movie2-poster-007.jpg', 'No Time To Die - 007', 'Action', 110, '2020-02-18', '<NAME>', '<NAME>'), (3, 'img/movie3-poster-jumanji.jpg', 'JUMANJI 2', 'Comedy, Action, Adventure', 110, '2020-01-29', '<NAME>', '<NAME>, <NAME>\', \'<NAME>, <NAME>'), (4, 'img/movie4-poster-extraction.jpg', 'EXTRACTION', 'Action', 105, '2019-01-23', '<NAME>', '<NAME>sworth\', \'Russo Brothers, <NAME>, <NAME>'), (5, 'img/movie5-poster-venom.jpg', 'VENOM', 'Fantasy,Action', 132, '2018-10-05', '<NAME>', '<NAME>\', \'<NAME>, <NAME>, Jenny Slate'), (6, 'img/movie6-poster-endgame.jpg', 'AVANGERS Endgame', 'Fantasy, Action, Thriller', 107, '2020-01-04', '<NAME>', '<NAME> Jr.\', \'<NAME>, <NAME>, <NAME>, <NAME>'), (7, 'img/movie7-poster-capone.jpg', 'AL CAPONE', 'Action', 110, '2020-03-18', '<NAME>', '<NAME>'), (8, 'mg/movie8-poster-madmaxfuryroad.jpg', 'MAD MAX FURY ROAD', 'Action,Fantasy', 110, '2015-04-12', '<NAME>', '<NAME>'), (9, 'img/movie9-poster-johnwick3.jpg', '<NAME>', 'Action', 110, '2019-10-27', '<NAME>', 'Keanu Reeves'), (12, 'img/movie9-poster-johnwick3.jpg', '<NAME>', 'Action', 190, '2020-10-27', '<NAME>', 'Keanu Reeves'); >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce -- -- Indexes for dumped tables -- -- <<<<<<< HEAD -- Indexes for table `bookingTable` -- ALTER TABLE `bookingTable` ======= -- Indexes for table `bookingtable` -- ALTER TABLE `bookingtable` >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce ADD PRIMARY KEY (`bookingID`), ADD UNIQUE KEY `bookingID` (`bookingID`), ADD KEY `bookingID_2` (`bookingID`), ADD KEY `bookingID_3` (`bookingID`), ADD KEY `bookingID_4` (`bookingID`); -- <<<<<<< HEAD -- Indexes for table `feedbackTable` -- ALTER TABLE `feedbackTable` ======= -- Indexes for table `feedbacktable` -- ALTER TABLE `feedbacktable` >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce ADD PRIMARY KEY (`msgID`), ADD UNIQUE KEY `msgID` (`msgID`); -- <<<<<<< HEAD -- Indexes for table `movieTable` -- ALTER TABLE `movieTable` ======= -- Indexes for table `movietable` -- ALTER TABLE `movietable` >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce ADD PRIMARY KEY (`movieID`), ADD UNIQUE KEY `movieID` (`movieID`); -- -- AUTO_INCREMENT for dumped tables -- -- <<<<<<< HEAD -- AUTO_INCREMENT for table `bookingTable` -- ALTER TABLE `bookingTable` MODIFY `bookingID` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=23; -- -- AUTO_INCREMENT for table `feedbackTable` -- ALTER TABLE `feedbackTable` MODIFY `msgID` int(12) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `movieTable` -- ALTER TABLE `movieTable` MODIFY `movieID` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=12; /*!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 */; ======= -- AUTO_INCREMENT for table `bookingtable` -- ALTER TABLE `bookingtable` MODIFY `bookingID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- AUTO_INCREMENT for table `feedbacktable` -- ALTER TABLE `feedbacktable` MODIFY `msgID` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `movietable` -- ALTER TABLE `movietable` MODIFY `movieID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; >>>>>>> 56e28225efc6601222c72206dff1f01f20fc07ce
<reponame>platzimaster-wedeal/wescripts SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[employees]( id INT NOT NULL IDENTITY(1,1), [id_user] [int] NOT NULL, id_work_area INT NOT NULL, avg_score DECIMAL(2,1) NOT NULL DEFAULT 0, quealifications DECIMAL(2,1) NOT NULL, CONSTRAINT [PK_EMPLOYEES_ID] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] GO ALTER TABLE [dbo].[employees] WITH CHECK ADD CONSTRAINT [FK_USERS_ID] FOREIGN KEY([id_user]) REFERENCES [dbo].[users] ([id]) GO ALTER TABLE [dbo].[employees] CHECK CONSTRAINT [FK_USERS_ID] GO
-- name: UserSignup :one INSERT INTO USERS ("email", "password", "nickname") VALUES ($1, $2, $3) RETURNING id, firstname, lastname, email, password, deleted, nickname, created_at; -- name: UserGetByEmail :one SELECT id, firstname, lastname, email, password, deleted, nickname, created_at FROM USERS WHERE email = $1; -- name: UserGetAll :many SELECT id, firstname, lastname, email, password, deleted, nickname, created_at FROM USERS; -- name: UserGetEmails :many SELECT id, email FROM USERS; -- name: UserGetById :one SELECT id, firstname, lastname, email, password, deleted, nickname, created_at FROM USERS WHERE id = $1;
<reponame>nyacore/svuup -- MariaDB dump 10.17 Distrib 10.4.13-MariaDB, for Linux (x86_64) -- -- Host: localhost Database: svuup -- ------------------------------------------------------ -- Server version 10.4.13-MariaDB /*!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 `attachments` -- DROP TABLE IF EXISTS `attachments`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `attachments` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `message_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `attachments_message_id_foreign` (`message_id`), CONSTRAINT `attachments_message_id_foreign` FOREIGN KEY (`message_id`) REFERENCES `messages` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `attachments` -- LOCK TABLES `attachments` WRITE; /*!40000 ALTER TABLE `attachments` DISABLE KEYS */; INSERT INTO `attachments` VALUES (1,'files/mBNsE9PStwoszSAap5ZigTseXEvbsW0T9EtVAqXb.png',2,'2020-06-15 10:41:15','2020-06-15 10:41:15'),(2,'files/cstU517jhnJCmgGeYUOKEx34q6uOG0jzjk13RlGx.png',3,'2020-06-15 11:23:26','2020-06-15 11:23:26'),(3,'files/lzW0YanrlbsyJVVg6hUFVa9TPxRGQsCpMRxrfBUa.png',4,'2020-06-15 11:30:51','2020-06-15 11:30:51'),(4,'files/qAb0JLtvikAXLEU9lF25REo69FXRcxiRJEJDQy0p.docx',7,'2020-06-15 12:26:11','2020-06-15 12:26:11'),(5,'files/0CdfltpkeChcs7656MG3yZ6RNycwkwGl7d0rT7MJ.png',9,'2020-06-15 12:51:31','2020-06-15 12:51:31'),(6,'files/tNpDxUlhZUaZFcnkxgViA2Ivv8WTz86zBuA8gyCP.png',9,'2020-06-15 12:51:31','2020-06-15 12:51:31'),(7,'files/Drm2ASxSHDH1RfdCIcPmmElyRr5XnKMwOAc3ghvd.png',9,'2020-06-15 12:51:31','2020-06-15 12:51:31'),(8,'files/ffvAzP9vyiCXgXghkNLdNpG9xtfHIqFqtoUWWqW6.png',9,'2020-06-15 12:51:31','2020-06-15 12:51:31'); /*!40000 ALTER TABLE `attachments` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `disciplines` -- DROP TABLE IF EXISTS `disciplines`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `disciplines` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `semester` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `disciplines_user_id_foreign` (`user_id`), CONSTRAINT `disciplines_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `disciplines` -- LOCK TABLES `disciplines` WRITE; /*!40000 ALTER TABLE `disciplines` DISABLE KEYS */; INSERT INTO `disciplines` VALUES (1,'Иностранный язык',5,'2020-06-07 15:13:26','2020-06-07 15:13:26',1),(2,'Информатика',5,'2020-06-07 15:13:41','2020-06-07 15:13:41',1),(3,'История',5,'2020-06-07 15:13:45','2020-06-07 15:13:45',1),(4,'Математика',5,'2020-06-07 15:14:50','2020-06-07 15:14:50',1); /*!40000 ALTER TABLE `disciplines` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `events` -- DROP TABLE IF EXISTS `events`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `events` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `max` int(10) unsigned NOT NULL, `discipline_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `events_discipline_id_foreign` (`discipline_id`), CONSTRAINT `events_discipline_id_foreign` FOREIGN KEY (`discipline_id`) REFERENCES `disciplines` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `events` -- LOCK TABLES `events` WRITE; /*!40000 ALTER TABLE `events` DISABLE KEYS */; INSERT INTO `events` VALUES (1,'Рубежный контроль 1',20,1,'2020-06-08 04:53:32','2020-06-08 04:53:32'),(2,'Контрольная работа',15,1,'2020-06-08 04:54:12','2020-06-08 04:54:12'),(3,'Рубежный контроль 2',15,1,'2020-06-08 05:26:42','2020-06-08 05:26:42'),(4,'Экзамен',50,1,'2020-06-08 06:32:29','2020-06-08 06:32:29'); /*!40000 ALTER TABLE `events` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `faculties` -- DROP TABLE IF EXISTS `faculties`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `faculties` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `faculties` -- LOCK TABLES `faculties` WRITE; /*!40000 ALTER TABLE `faculties` DISABLE KEYS */; INSERT INTO `faculties` VALUES (1,'Атомная энергетика и технологии','2020-06-07 10:39:48','2020-06-07 10:39:48'),(2,'Факультет повышения квалификации и профессиональной переподготовки кадров','2020-06-07 10:41:47','2020-06-07 10:41:47'); /*!40000 ALTER TABLE `faculties` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `failed_jobs` -- DROP TABLE IF EXISTS `failed_jobs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `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=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `failed_jobs` -- LOCK TABLES `failed_jobs` WRITE; /*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */; /*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `groups` -- DROP TABLE IF EXISTS `groups`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `groups` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `speciality_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `groups_speciality_id_foreign` (`speciality_id`), CONSTRAINT `groups_speciality_id_foreign` FOREIGN KEY (`speciality_id`) REFERENCES `specialities` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `groups` -- LOCK TABLES `groups` WRITE; /*!40000 ALTER TABLE `groups` DISABLE KEYS */; INSERT INTO `groups` VALUES (1,'ИФСТ-41',3,'2020-06-08 03:27:16','2020-06-08 03:27:16'); /*!40000 ALTER TABLE `groups` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `marks` -- DROP TABLE IF EXISTS `marks`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `marks` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `mark` int(10) unsigned NOT NULL, `user_id` bigint(20) unsigned NOT NULL, `event_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `marks_user_id_foreign` (`user_id`), KEY `marks_event_id_foreign` (`event_id`), CONSTRAINT `marks_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`), CONSTRAINT `marks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `marks` -- LOCK TABLES `marks` WRITE; /*!40000 ALTER TABLE `marks` DISABLE KEYS */; INSERT INTO `marks` VALUES (1,0,8,1,'2020-06-08 04:53:32','2020-06-08 04:53:32'),(2,15,9,1,'2020-06-08 04:53:32','2020-06-21 16:32:16'),(3,15,10,1,'2020-06-08 04:53:32','2020-06-08 04:53:32'),(4,0,8,2,'2020-06-08 04:54:12','2020-06-08 04:54:12'),(5,5,9,2,'2020-06-08 04:54:12','2020-06-21 16:32:42'),(6,0,10,2,'2020-06-08 04:54:12','2020-06-08 04:54:12'),(7,0,8,3,'2020-06-08 05:26:42','2020-06-08 05:26:42'),(8,3,9,3,'2020-06-08 05:26:42','2020-06-21 16:32:43'),(9,0,10,3,'2020-06-08 05:26:42','2020-06-08 05:26:42'),(10,0,8,4,'2020-06-08 06:32:29','2020-06-08 06:32:29'),(11,40,9,4,'2020-06-08 06:32:29','2020-06-21 17:09:08'),(12,0,10,4,'2020-06-08 06:32:29','2020-06-08 06:32:29'); /*!40000 ALTER TABLE `marks` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `messages` -- DROP TABLE IF EXISTS `messages`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `messages` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `text` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `from` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `thread_id` bigint(20) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `messages_thread_id_foreign` (`thread_id`), CONSTRAINT `messages_thread_id_foreign` FOREIGN KEY (`thread_id`) REFERENCES `threads` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `messages` -- LOCK TABLES `messages` WRITE; /*!40000 ALTER TABLE `messages` DISABLE KEYS */; INSERT INTO `messages` VALUES (2,'ВКР на проверку',5,'2020-06-15 10:41:15','2020-06-15 10:41:15',3),(3,'тест',5,'2020-06-15 11:23:26','2020-06-15 11:23:26',5),(4,'Тестовое сообщение',5,'2020-06-15 11:30:51','2020-06-15 11:30:51',6),(5,'Тест сообщения без вложений',5,'2020-06-15 12:23:49','2020-06-15 12:23:49',6),(6,'Тест сообщений без вложений 2',5,'2020-06-15 12:24:16','2020-06-15 12:24:16',6),(7,'Тест сообщения с вложениями',5,'2020-06-15 12:26:11','2020-06-15 12:26:11',6),(8,'Тест сообщения без вложений',9,'2020-06-15 12:50:43','2020-06-15 12:50:43',6),(9,'Тест сообщения с вложениями',9,'2020-06-15 12:51:31','2020-06-15 12:51:31',6); /*!40000 ALTER TABLE `messages` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `migrations` -- DROP TABLE IF EXISTS `migrations`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `migrations` -- LOCK TABLES `migrations` WRITE; /*!40000 ALTER TABLE `migrations` DISABLE KEYS */; INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2019_08_19_000000_create_failed_jobs_table',1),(3,'2020_06_07_113006_create_roles_table',2),(4,'2020_06_07_113018_add_role_column_to_users_table',3),(5,'2020_06_07_141846_create_faculties_table',4),(6,'2020_06_07_144707_create_specialities_table',5),(7,'2020_06_07_175243_create_disciplines_table',6),(8,'2020_06_07_191129_add_semester_column_to_disciplines_table',7),(9,'2020_06_08_065018_create_speciality_discipline_table',8),(10,'2020_06_08_065314_delete_speciality_id_column_from_disciplines_table',9),(11,'2020_06_08_071407_create_groups_table',10),(12,'2020_06_08_071506_add_group_id_to_users_table',10),(13,'2020_06_08_081508_create_events_table',11),(14,'2020_06_08_081608_create_marks_table',12),(15,'2020_06_15_130651_create_threads_table',13),(16,'2020_06_15_130700_create_messages_table',13),(17,'2020_06_15_130707_create_attachments_table',13),(18,'2020_06_15_131320_create_user_thread_table',13),(19,'2020_06_15_140349_add_thread_id_column_to_messages_table',14),(20,'2020_06_15_140409_remove_to_column_from_messages_table',15),(21,'2020_06_15_143511_drop_to_column_from_threads_table',16),(22,'2020_06_16_184433_add_speciality_foreign_key_to_groups_table',17); /*!40000 ALTER TABLE `migrations` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `roles` -- DROP TABLE IF EXISTS `roles`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `roles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `stub` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `roles` -- LOCK TABLES `roles` WRITE; /*!40000 ALTER TABLE `roles` DISABLE KEYS */; INSERT INTO `roles` VALUES (3,'admin','Администратор',NULL,NULL),(4,'teacher','Преподаватель',NULL,NULL),(5,'student','Студент',NULL,NULL); /*!40000 ALTER TABLE `roles` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `specialities` -- DROP TABLE IF EXISTS `specialities`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `specialities` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `semesters` int(10) unsigned NOT NULL, `faculty_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `specialities_faculty_id_foreign` (`faculty_id`), CONSTRAINT `specialities_faculty_id_foreign` FOREIGN KEY (`faculty_id`) REFERENCES `faculties` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `specialities` -- LOCK TABLES `specialities` WRITE; /*!40000 ALTER TABLE `specialities` DISABLE KEYS */; INSERT INTO `specialities` VALUES (2,'Строительство',8,1,'2020-06-07 11:39:16','2020-06-07 11:39:16'),(3,'Информационные системы и технологии',8,1,'2020-06-07 11:50:28','2020-06-07 11:50:28'),(4,'Теплоэнергетика и теплотехника',8,1,'2020-06-07 11:50:40','2020-06-07 11:50:40'),(5,'Атомные станции: проектирование, эксплуатация и инжиниринг',8,1,'2020-06-07 11:50:45','2020-06-07 11:50:45'),(6,'Машиностроение',8,1,'2020-06-07 11:50:49','2020-06-07 11:50:49'),(7,'Химическая технология',8,1,'2020-06-07 11:50:54','2020-06-07 11:50:54'),(8,'Управление в технических системах',8,1,'2020-06-07 11:50:59','2020-06-07 11:50:59'),(9,'Экономика',8,1,'2020-06-07 11:51:03','2020-06-07 11:51:03'),(10,'Электроэнергетика и электротехника',8,1,'2020-06-07 11:51:12','2020-06-07 11:51:12'); /*!40000 ALTER TABLE `specialities` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `speciality_discipline` -- DROP TABLE IF EXISTS `speciality_discipline`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `speciality_discipline` ( `speciality_id` bigint(20) unsigned NOT NULL, `discipline_id` bigint(20) unsigned NOT NULL, KEY `speciality_discipline_speciality_id_foreign` (`speciality_id`), KEY `speciality_discipline_discipline_id_foreign` (`discipline_id`), CONSTRAINT `speciality_discipline_discipline_id_foreign` FOREIGN KEY (`discipline_id`) REFERENCES `disciplines` (`id`), CONSTRAINT `speciality_discipline_speciality_id_foreign` FOREIGN KEY (`speciality_id`) REFERENCES `specialities` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `speciality_discipline` -- LOCK TABLES `speciality_discipline` WRITE; /*!40000 ALTER TABLE `speciality_discipline` DISABLE KEYS */; INSERT INTO `speciality_discipline` VALUES (3,1),(3,2),(4,2),(4,1),(4,3),(4,4),(3,3),(3,4),(2,2),(2,1),(2,3),(2,4),(5,1),(5,2),(5,3),(5,4); /*!40000 ALTER TABLE `speciality_discipline` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `threads` -- DROP TABLE IF EXISTS `threads`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `threads` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_by` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `threads` -- LOCK TABLES `threads` WRITE; /*!40000 ALTER TABLE `threads` DISABLE KEYS */; INSERT INTO `threads` VALUES (3,'ВКР',5,'2020-06-15 10:41:15','2020-06-15 10:41:15'),(4,'ВКР 2',5,'2020-06-15 11:22:38','2020-06-15 11:22:38'),(5,'ВКР 2',5,'2020-06-15 11:23:26','2020-06-15 11:23:26'),(6,'ВКР',5,'2020-06-15 11:30:50','2020-06-15 11:30:50'); /*!40000 ALTER TABLE `threads` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user_thread` -- DROP TABLE IF EXISTS `user_thread`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user_thread` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` bigint(20) unsigned NOT NULL, `thread_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_thread_user_id_foreign` (`user_id`), KEY `user_thread_thread_id_foreign` (`thread_id`), CONSTRAINT `user_thread_thread_id_foreign` FOREIGN KEY (`thread_id`) REFERENCES `threads` (`id`), CONSTRAINT `user_thread_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user_thread` -- LOCK TABLES `user_thread` WRITE; /*!40000 ALTER TABLE `user_thread` DISABLE KEYS */; INSERT INTO `user_thread` VALUES (3,8,3,NULL,NULL),(4,9,5,NULL,NULL),(5,5,5,NULL,NULL),(6,9,6,NULL,NULL),(7,10,6,NULL,NULL),(8,5,6,NULL,NULL); /*!40000 ALTER TABLE `user_thread` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `users` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(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, `role_id` bigint(20) unsigned NOT NULL, `group_id` bigint(20) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`), KEY `users_role_id_foreign` (`role_id`), KEY `users_group_id_foreign` (`group_id`), CONSTRAINT `users_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`), CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `users` -- LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; INSERT INTO `users` VALUES (4,'Администратор','<EMAIL>',NULL,'$2y$10$6s3.zHnVpGvTjpMjxjiMsOrHpEX.jNssoWYrcaIiDRIQ1evaPWd52',NULL,'2020-06-07 09:51:34','2020-06-07 09:51:34',3,NULL),(5,'<NAME>','<EMAIL>',NULL,'$2y$10$UwlkqeLQ98yVpQmKpXvaBOo5OCFet5RamVZ9CBBL0UN1lnvpvjv6G',NULL,'2020-06-07 13:51:11','2020-06-07 13:51:11',4,NULL),(6,'<NAME>','<EMAIL>',NULL,'$2y$10$HrfjwbgkkOMGlRJUGX4Q/.p1P.tNv//9wf7834m3aGaPRHkp0YCSO',NULL,'2020-06-07 13:51:47','2020-06-07 13:51:47',4,NULL),(7,'<NAME>','<EMAIL>',NULL,'$2y$10$1.k4mpN79SigIA8SvIKw4uOCelJ29msVX4pW0kQ3CKT5XwR6nwlqm',NULL,'2020-06-07 13:52:14','2020-06-07 13:52:14',4,NULL),(8,'<NAME>','<EMAIL>',NULL,'$2y$10$2MBQmPc12/XR6lwiNrJRB.H03i6skvCqY5S3QSvu1CL2XEkkRRvWW',NULL,'2020-06-08 03:22:01','2020-06-08 03:55:11',5,1),(9,'<NAME>','<EMAIL>',NULL,'$2y$10$4RcFqjYGQN183wK4sVTMkO3tmAI9PHjbWfIXFgmHoWZu.owKhX/w6',NULL,'2020-06-08 03:22:16','2020-06-08 03:55:08',5,1),(10,'<NAME>','<EMAIL>',NULL,'$2y$10$wYccqNgx8G5RwZVdL2r/d.2GRj79/VJAB04h1WHhQz2ohTQjtytom',NULL,'2020-06-08 03:22:34','2020-06-08 03:55:13',5,1); /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2020-06-22 13:45:17
-- colname.test -- -- db eval {PRAGMA short_column_names} PRAGMA short_column_names
<filename>src/hg/lib/ncbiRefLink.sql # ncbiRefLink.sql was originally generated by the autoSql program, which also # generated ncbiRefLink.c and ncbiRefLink.h. This creates the database representation of # an object which can be loaded and saved from RAM in a fairly # automatic way. #Metadata for NCBI RefSeq Genes CREATE TABLE ncbiRefLink ( id varchar(255) not null, # transcript id gbKey varchar(255) not null, # molecule type gene varchar(255) not null, # gene name dbXref varchar(255) not null, # database cross reference product varchar(255) not null, # product #Indices PRIMARY KEY(id) );
USE mysql; CREATE FUNCTION lib_mysqludf_amqp_info RETURNS STRING SONAME 'lib_mysqludf_amqp.so'; CREATE FUNCTION lib_mysqludf_amqp_sendjson RETURNS STRING SONAME 'lib_mysqludf_amqp.so'; CREATE FUNCTION lib_mysqludf_amqp_sendstring RETURNS STRING SONAME 'lib_mysqludf_amqp.so';
SELECT COALESCE(gt.rolname, 'PUBLIC') AS grantee, g.rolname AS grantor, array_agg(privilege_type) AS privileges, array_agg(is_grantable) AS grantable FROM (SELECT (d).grantee AS grantee, (d).grantor AS grantor, (d).is_grantable AS is_grantable, CASE (d).privilege_type WHEN 'EXECUTE' THEN 'X' ELSE 'UNKNOWN' END AS privilege_type FROM (SELECT u_grantor.oid AS grantor, grantee.oid AS grantee, pr.type AS privilege_type, aclcontains(c.proacl, makeaclitem(grantee.oid, u_grantor.oid, pr.type, true)) AS is_grantable FROM pg_proc c, pg_namespace nc, pg_authid u_grantor, ( SELECT pg_authid.oid, pg_authid.rolname FROM pg_authid UNION ALL SELECT 0::oid AS oid, 'PUBLIC') grantee(oid, rolname), (SELECT 'EXECUTE') pr(type) WHERE c.pronamespace = nc.oid AND ( c.proacl is NULL OR aclcontains(c.proacl, makeaclitem(grantee.oid, u_grantor.oid, pr.type, false)) ) AND (pg_has_role(u_grantor.oid, 'USAGE'::text) OR pg_has_role(grantee.oid, 'USAGE'::text) OR grantee.rolname = 'PUBLIC'::name) AND c.oid = {{ fnid }}::OID ) d ) d LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid) LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid) GROUP BY g.rolname, gt.rolname;
<filename>src/test/resources/sql/create_table/2d326ceb.sql -- file:inherit.sql ln:636 expect:true create table part_21_30_ab partition of part_21_30 for values in ('ab')
DECLARE @string nvarchar(max) = N''; SELECT m.object_id, o.name, o.type_desc as [type], o.create_date FROM sys.sql_modules m JOIN sys.objects o ON m.object_id = o.object_id WHERE m.definition LIKE CONCAT(N'%', @string, N'%');
<filename>migrations/2021-08-17-111610_add_timeouted_to_room/up.sql -- Your SQL goes here ALTER TABLE room ADD COLUMN timed_out boolean not null default false;
<filename>examples/prepare-query/select-accounts.sql select * from account where email like !PG{emailMatch} and id >= $PG{idStart}
-- only insert role if doesn't exist already INSERT INTO roles (role_id, role_code, role_name) SELECT NEWID(), 'PF_POLICE', 'Pathfinder Police' FROM roles WHERE role_code = 'GLOBAL_SEARCH' AND NOT exists(SELECT role_code FROM roles WHERE role_code = 'PF_POLICE'); INSERT INTO groups (group_id, group_code, group_name) VALUES (NEWID(), 'PF_NATIONAL', 'Pathfinder Police - National'); INSERT INTO group_assignable_role (role_id, group_id, automatic) VALUES ((select role_id from roles where role_code = 'PF_POLICE'), (select group_id from groups where group_code = 'PF_NATIONAL'), 1);
PRAGMA foreign_keys=off drop table if exists new_client CREATE TABLE 'new_client' ( 'id' INTEGER NOT NULL, 'version' INTEGER NOT NULL, 'name' VARCHAR(255) NOT NULL, 'disabled' INTEGER NOT NULL REFERENCES 'yes_no' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'raceId' INTEGER NOT NULL REFERENCES 'race' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'birthYear' INTEGER NOT NULL, 'genderId' INTEGER NOT NULL REFERENCES 'gender' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'refugeeImmigrantStatus' INTEGER NOT NULL REFERENCES 'yes_no' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'speaksEnglish' INTEGER NOT NULL REFERENCES 'yes_no' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'militaryStatusId' INTEGER NOT NULL REFERENCES 'militaryStatus' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'ethnicityId' INTEGER NOT NULL REFERENCES 'ethnicity' ('id') ON DELETE RESTRICT ON UPDATE RESTRICT, 'householdId' INTEGER NOT NULL, PRIMARY KEY(id, version) ) insert into new_client select client.id, 1, client.name, disabled, raceId, birthYear, genderId, refugeeImmigrantStatus, speaksEnglish, militaryStatusId, ethnicityId, householdId from client drop table client alter table new_client rename to client DROP TABLE IF EXISTS 'new_household' CREATE TABLE 'new_household' ( 'id' INTEGER NOT NULL, 'version' INTEGER NOT NULL, 'address1' VARCHAR(255), 'address2' VARCHAR(255), 'cityId' INTEGER NOT NULL REFERENCES 'city' ('id') ON DELETE SET NULL ON UPDATE CASCADE, 'zip' VARCHAR(255), 'note' VARCHAR(255), 'incomeLevelId' INTEGER NOT NULL REFERENCES 'income_level' ('id') ON DELETE SET NULL ON UPDATE CASCADE, PRIMARY KEY(id, version) ) INSERT INTO new_household SELECT h.id, 1, h.address1, h.address2, h.cityId, h.zip, h.note, h.incomeLevelId FROM household h DROP TABLE household ALTER TABLE new_household RENAME TO household drop table if exists new_visit CREATE TABLE 'new_visit' ( 'id' INTEGER NOT NULL PRIMARY KEY, 'date' VARCHAR(255) NOT NULL, 'householdId' INTEGER NOT NULL, 'householdVersion' INTEGER NOT NULL, FOREIGN KEY(householdId, householdVersion) references household(id, version) ON DELETE SET NULL ON UPDATE CASCADE ) INSERT INTO new_visit SELECT v.id, v.date, v.householdId, 1 FROM visit v DROP TABLE visit ALTER TABLE new_visit RENAME TO visit CREATE INDEX `visit_household_id` ON `visit` (`householdId`) DROP TABLE IF EXISTS household_client_list CREATE TABLE 'household_client_list' ( householdId INTEGER NOT NULL, householdVersion INTEGER NOT NULL, clientId INTEGER NOT NULL, clientVersion INTEGER NOT NULL, PRIMARY KEY(householdId, householdVersion, clientId, clientVersion), FOREIGN KEY(householdId, householdVersion) references household(id, version) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY(clientId, clientVersion) references client(id, version) ON DELETE SET NULL ON UPDATE CASCADE ) insert into household_client_list select h.id, h.version, c.id, c.version from household h join client c on c.householdId = h.id
<reponame>nicode-io/The_Junior_Way<gh_stars>1-10 -- phpMyAdmin SQL Dump -- version 4.9.3 -- https://www.phpmyadmin.net/ -- -- Host: localhost:8889 -- Generation Time: Sep 09, 2020 at 02:20 PM -- Server version: 5.7.26 -- PHP Version: 7.4.2 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -- -- Database: `cogip` -- -- -------------------------------------------------------- -- -- Table structure for table `companies` -- CREATE TABLE `companies` ( `id` int(11) NOT NULL, `company_name` varchar(100) NOT NULL, `country` varchar(60) NOT NULL, `company_vat` varchar(12) NOT NULL, `company_type` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `companies` -- INSERT INTO `companies` (`id`, `company_name`, `country`, `company_vat`, `company_type`) VALUES (1, 'BeCode', 'Belgium', 'BE1234567890', 3), (2, 'PHPlayer', 'France', 'FR9872309212', 4), (3, 'Pythongore', 'United Kingdom', 'GB8223612', 3), (6, 'HTML Toys', 'Germany', 'DE1238654923', 3), (7, 'CSS Fun', 'Belgium', 'BE0123648234', 4); -- -------------------------------------------------------- -- -- Table structure for table `company_type` -- CREATE TABLE `company_type` ( `id` int(11) NOT NULL, `type` varchar(8) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `company_type` -- INSERT INTO `company_type` (`id`, `type`) VALUES (3, 'client'), (4, 'provider'); -- -------------------------------------------------------- -- -- Table structure for table `invoices` -- CREATE TABLE `invoices` ( `id` int(11) NOT NULL, `invoice_number` int(11) NOT NULL, `invoice_date` datetime NOT NULL, `user_id` int(11) NOT NULL, `company_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `invoices` -- INSERT INTO `invoices` (`id`, `invoice_number`, `invoice_date`, `user_id`, `company_id`) VALUES (1, 12345, '2020-09-07 13:56:38', 7, 2), (2, 34294, '2016-09-04 15:56:38', 8, 7), (3, 139484, '2019-12-18 15:58:20', 5, 1), (4, 49284, '2019-08-21 15:58:20', 4, 3), (5, 94284, '2020-04-10 15:59:21', 5, 6), (6, 927482, '2019-06-19 15:59:21', 6, 6); -- -------------------------------------------------------- -- -- Table structure for table `registration` -- CREATE TABLE `registration` ( `id` int(11) NOT NULL, `username` varchar(100) NOT NULL, `email` varchar(100) NOT NULL, `password` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `first_name` varchar(50) NOT NULL, `last_name` varchar(50) NOT NULL, `email` varchar(100) NOT NULL, `company_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `first_name`, `last_name`, `email`, `company_id`) VALUES (1, 'Jean', 'PeuxplusduPHP', '<EMAIL>', 2), (2, 'Mike', 'Hiway', '<EMAIL>', 1), (3, 'Pit', 'Hagore', '<EMAIL>', 3), (4, 'Marie', 'DouxJesus', '<EMAIL>', 3), (5, 'Harry', 'Powder', '<EMAIL>', 6), (6, 'Sheldon', 'Cooper', '<EMAIL>', 1), (7, 'Aude', 'Javel', '<EMAIL>', 7), (8, 'Nick', 'Santete', '<EMAIL>', 7), (9, 'Chuck', 'Norris', '<EMAIL>', 2); -- -- Indexes for dumped tables -- -- -- Indexes for table `companies` -- ALTER TABLE `companies` ADD PRIMARY KEY (`id`), ADD KEY `cogip_index` (`company_type`); -- -- Indexes for table `company_type` -- ALTER TABLE `company_type` ADD PRIMARY KEY (`id`); -- -- Indexes for table `invoices` -- ALTER TABLE `invoices` ADD PRIMARY KEY (`id`), ADD KEY `user_invoices` (`user_id`), ADD KEY `invoices_company` (`company_id`); -- -- Indexes for table `registration` -- ALTER TABLE `registration` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD KEY `user_companies` (`company_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `companies` -- ALTER TABLE `companies` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `company_type` -- ALTER TABLE `company_type` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `invoices` -- ALTER TABLE `invoices` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `registration` -- ALTER TABLE `registration` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- Constraints for dumped tables -- -- -- Constraints for table `companies` -- ALTER TABLE `companies` ADD CONSTRAINT `companies_ibfk_1` FOREIGN KEY (`company_type`) REFERENCES `company_type` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `invoices` -- ALTER TABLE `invoices` ADD CONSTRAINT `invoices_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `invoices_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `users` -- ALTER TABLE `users` ADD CONSTRAINT `users_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
<filename>DB-Files/seed.sql USE employee_trackerDB; -- Department Names INSERT INTO department (name) VALUES ("Engineering"); INSERT INTO department (name) VALUES ("Sales"); INSERT INTO department (name) VALUES ("Finance"); INSERT INTO department (name) VALUES ("Legal"); INSERT INTO department (name) VALUES ("Marketing"); INSERT INTO department (name) VALUES ("Support"); INSERT INTO department (name) VALUES ("Clerical"); -- Engineering Roles INSERT INTO roles (title, salary, department_id) VALUES ("Engineering Intern", 35000, 1); INSERT INTO roles (title, salary, department_id) VALUES ( "Software Engineer", 65000, 1); INSERT INTO roles (title, salary, department_id) VALUES ("Senior Software Engineer", 135000, 1); -- Sales Roles INSERT INTO roles (title, salary, department_id) VALUES ("Sales Associate", 28000, 2); INSERT INTO roles (title, salary, department_id) VALUES ("Sales Lead", 29500, 2); -- Finance Roles INSERT INTO roles (title, salary, department_id) VALUES ("Accountant", 45000, 3); INSERT INTO roles (title, salary, department_id) VALUES ("Lead Accountant", 55000, 3); -- Legal Roles INSERT INTO roles (title, salary, department_id) VALUES ("Lawyer", 85000, 4); INSERT INTO roles (title, salary, department_id) VALUES ("Legal Team Lead", 145000, 4); -- Marketing Roles INSERT INTO roles (title, salary, department_id) VALUES ("Marketing Associate", 37000, 5); INSERT INTO roles (title, salary, department_id) VALUES ("Marketing Team Lead", 40000, 5); -- Support Roles INSERT INTO roles (title, salary, department_id) VALUES ("Support Rep", 32000, 6); INSERT INTO roles (title, salary, department_id) VALUES ("Support Team Lead", 36000, 6); -- Clerical Roles INSERT INTO roles (title, salary, department_id) VALUES ("Secretary", 32000, 7); INSERT INTO roles (title, salary, department_id) VALUES ("Office Manager", 32000, 7); -- Employees INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Henry", "Ford", 1, "<NAME>"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Silly", "Sally", 3, "N/A"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Sesame", "Chicken", 5, "N/A"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Donald", "Trump", 6, "<NAME>"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Harry", "Potter", 7, "N/A"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Johny", "Cash", 9, "N/A"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Waka", "Flaka", 10, "W<NAME>"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Willy", "Nelsom", 11, "N/A"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Jack", "Jill", 13, "N/A"); INSERT INTO employee (first_name, last_name, role_id, manager_name) VALUES ("Hannah", "Montana", 15, "N/A");
<filename>backend/de.metas.edi/src/main/sql/postgresql/system/80-de.metas.edi/5575490_cli_gh10483_invoice_aggregation_isedienabled.sql -- 2021-01-04T07:22:08.349Z -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO C_AggregationItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,C_Aggregation_ID,C_AggregationItem_ID,Created,CreatedBy,EntityType,IsActive,Type,Updated,UpdatedBy) VALUES (1000000,552599,1000000,1000000,540033,TO_TIMESTAMP('2021-01-04 08:22:08','YYYY-MM-DD HH24:MI:SS'),100,'de.metas.esb.edi','Y','COL',TO_TIMESTAMP('2021-01-04 08:22:08','YYYY-MM-DD HH24:MI:SS'),100) ;
<filename>database/atualizador/src/main/resources/db/migration/postgresql/client/V0001/V0000/V0001_0000_00000066__CreateTable_Configuration.sql CREATE TABLE configurations ( id chave NOT NULL, id_shop_group chave, id_shop chave, name character varying(254) NOT NULL, value text, date_add timestamp with time zone NOT NULL, date_upd timestamp with time zone NOT NULL, CONSTRAINT pk_configuration PRIMARY KEY (id) );
CREATE TABLE system.cron ( "class" character varying(255) NOT NULL, "min" integer DEFAULT NULL, "hour" integer DEFAULT NULL, "day" integer DEFAULT NULL, "day_week" integer DEFAULT NULL, "month" integer DEFAULT NULL, "last_run" timestamp with time zone DEFAULT NULL, "status" integer NOT NULL DEFAULT 0, PRIMARY KEY ("class") ) WITH ( OIDS=FALSE ); ALTER TABLE system.log OWNER TO dasense;
INSERT INTO user(user_id, username, email, pw) VALUES (1, 'test_user','<EMAIL>','$2a$10$knIL0inTiW/u8Sf1KFtkH.XSp1jz/90JXcKJdVrb7ZYUeAnmZj2G2');
select Quote_delete('IBM', date('02-Nov-2013')); select Quote_count('IBM'); select Day from Quote_get('IBM'); select Quote_delete('ABB', date('03-Nov-2013'), date('06-Nov-2013')); select Quote_truncate(); select Quote_count('IBM'); select Quote_count('ABB'); select * from Quote_get('IBM'); select * from Quote_get('ABB'); select CrashLog_delete('2014-04-14 11:54', '2014-04-14 11:56'); select Quote_drop(); select CrashLog_drop();
CREATE USER test PASSWORD '<PASSWORD>'; CREATE SCHEMA test; CREATE TABLE test.test ( id INTEGER PRIMARY KEY ); INSERT INTO test.test VALUES ( generate_series(0, 99999) ); GRANT ALL ON SCHEMA test TO test; GRANT ALL ON test.test TO test;
<filename>util_sql/mview_issues.sql create materialized view current_state.issues as WITH issue_latest AS ( SELECT issues.id, issues.dup_repo_id AS repo_id, issues.dup_repo_name AS repo_name, issues.number, issues.is_pull_request, issues.milestone_id, milestones.milestone, issues.state, issues.title, issues.user_id AS creator_id, issues.assignee_id, issues.created_at AS created_at, issues.updated_at, issues.closed_at, issues.body, issues.comments, row_number() OVER (PARTITION BY issues.id ORDER BY issues.updated_at DESC, issues.event_id DESC) AS rank FROM (gha_issues issues LEFT JOIN current_state.milestones ON issues.milestone_id = milestones.id) ) SELECT issue_latest.id, issue_latest.repo_id, issue_latest.repo_name, issue_latest.number, issue_latest.is_pull_request, issue_latest.milestone_id, issue_latest.milestone, issue_latest.state, issue_latest.title, issue_latest.creator_id, issue_latest.assignee_id, issue_latest.created_at, issue_latest.updated_at, issue_latest.closed_at, issue_latest.body, issue_latest.comments FROM issue_latest WHERE (issue_latest.rank = 1) ORDER BY issue_latest.repo_name, issue_latest.number;
<filename>tests/queries/0_stateless/00412_logical_expressions_optimizer.sql DROP TABLE IF EXISTS merge_tree; CREATE TABLE merge_tree (x UInt64, date Date) ENGINE = MergeTree(date, x, 1); INSERT INTO merge_tree VALUES (1, '2000-01-01'); SELECT x AS y, y FROM merge_tree; DROP TABLE IF EXISTS merge_tree;
-- -- Licensed to the Apache Software Foundation (ASF) under one or more -- contributor license agreements. See the NOTICE file distributed with -- this work for additional information regarding copyright ownership. -- The ASF licenses this file to You under the Apache License, Version 2.0 -- (the "License"); you may not use this file except in compliance with -- the License. You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- q86 -- select sum(ws_net_paid) as total_sum, i_category, i_class, grouping (i_category) + grouping (i_class) as lochierarchy, rank() over ( partition by grouping (i_category) + grouping (i_class), case when grouping (i_class) = 0 then i_category end order by sum(ws_net_paid) desc ) as rank_within_parent from web_sales, date_dim d1, item where d1.d_month_seq between 1212 and 1212 + 11 and d1.d_date_sk = ws_sold_date_sk and i_item_sk = ws_item_sk group by rollup (i_category, i_class) order by lochierarchy desc, case when lochierarchy = 0 then i_category end, rank_within_parent limit 100;
<filename>ita.sql /* Navicat MySQL Data Transfer Source Server : XAMPP Source Server Version : 50505 Source Host : localhost:3306 Source Database : ita Target Server Type : MYSQL Target Server Version : 50505 File Encoding : 65001 Date: 2020-03-16 12:05:53 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for group -- ---------------------------- DROP TABLE IF EXISTS `group`; CREATE TABLE `group` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID หมวดหมู่', `name` varchar(255) NOT NULL COMMENT 'หมวดหมู่', `create_date` date NOT NULL COMMENT 'วันที่สร้าง', `cat_id` int(11) DEFAULT NULL COMMENT 'id ha_category', PRIMARY KEY (`id`), KEY `cat_id` (`cat_id`) USING BTREE, CONSTRAINT `group_ibfk_1` FOREIGN KEY (`cat_id`) REFERENCES `ha_category` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=137 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of group -- ---------------------------- INSERT INTO `group` VALUES ('111', 'EB 1 หน่วยงานมีการวิเคราะห์ผลการจัดซื้อจัดจ้างประจำปี (ที่ผ่านมา)', '2020-03-16', '14'); INSERT INTO `group` VALUES ('112', 'EB 2 หน่วยงานมีการกำหนดมาตรการ กลไก หรือการวางระบบในการดำเนินการ เพื่อส่งเสริมความโปร่งใสในการจัดซื้อจัดจ้าง', '2020-03-16', '14'); INSERT INTO `group` VALUES ('113', 'EB 3 หน่วยงานมีการเผยแพร่แผนการจัดซื้อจัดจ้างประจำปี', '2020-03-16', '14'); INSERT INTO `group` VALUES ('114', 'EB 4 หน่วยงานมีการเผยแพร่บันทึกรายละเอียดวิธีการ และขั้นตอนการจัดซื้อจัดจ้างอย่างเป็นระบบ', '2020-03-16', '14'); INSERT INTO `group` VALUES ('115', 'EB 5 หน่วยงานของท่านเปิดโอกาสให้ผู้มีส่วนได้ส่วนเสีย มีโอกาสเข้ามามีส่วนร่วมในการดำเนินงานตามภารกิจหลักของหน่วยงานอย่างไร', '2020-03-16', '14'); INSERT INTO `group` VALUES ('116', 'EB 6 ผู้มีส่วนได้ส่วนเสียเข้ามามีส่วนร่วมในการจัดทำแผนงาน/โครงการ ตามภารกิจหลักของหน่วยงาน หรือไม่', '2020-03-16', '14'); INSERT INTO `group` VALUES ('117', 'EB 7 ผู้มีส่วนได้ส่วนเสียเข้ามามีส่วนร่วมในการดำเนินการโครงการตามภารกิจ หลักของหน่วยงานหรือไม่', '2020-03-16', '14'); INSERT INTO `group` VALUES ('118', 'EB 8 หน่วยงานมีการกำหนดมาตรการ กลไก หรือการวางระบบในการเผยแพร่ ข้อมูลต่อสาธารณะผ่านเว็บไซต์ของหน่วยงาน', '2020-03-16', '14'); INSERT INTO `group` VALUES ('119', 'EB 9 หน่วยงานมีการเปิดเผยข้อมูลข่าวสารที่เป็นปัจจุบัน', '2020-03-16', '14'); INSERT INTO `group` VALUES ('120', 'EB 10 หน่วยงานมีการเผยแพร่แผนปฏิบัติราชการประจำปี', '2020-03-16', '15'); INSERT INTO `group` VALUES ('121', 'EB 11 หน่วยงานมีการเผยแพร่รายงานการประเมินผลการปฏิบัติงาน ตามแผนปฏิบัติราชการประจำปี(ที่ผ่านมา)', '2020-03-16', '15'); INSERT INTO `group` VALUES ('122', 'EB 12 หน่วยงานมีการเผยแพร่การกำกับติดตามการดำเนินงาน ตามแผนปฏิบัติราชการประจำปี', '2020-03-16', '15'); INSERT INTO `group` VALUES ('123', 'EB 13 หน่วยงานมีการกำหนดมาตรการ กลไก หรือการวางระบบในการบริหารผล การปฏิบัติงานและการดำเนินการกับเจ้าหน้าที่ผู้มีผลสัมฤทธิ์การปฏิบัติงานต่ำ', '2020-03-16', '15'); INSERT INTO `group` VALUES ('124', 'EB 14 หน่วยงานมีการรายงานการประเมินผลเกี่ยวกับการประเมินผลการปฏิบัติราชการ ประจำปีของบุคลากรในหน่วยงาน และเปิดเผยผลการปฏิบัติราชการอยู่ในระดับดีเด่น และดีมากในที่เปิดเผยให้ทราบ ในรอบปีงบประมาณ', '2020-03-16', '15'); INSERT INTO `group` VALUES ('125', 'EB 15 หน่วยงานมีการเผยแพร่เจตจำนงสุจริตของผู้บริหารต่อสาธารณชน', '2020-03-16', '15'); INSERT INTO `group` VALUES ('126', 'EB 16 หน่วยงานมีการกำหนดมาตรการ กลไก หรือการวางระบบในการจัดการ เรื่องร้องเรียนของหน่วยงาน', '2020-03-16', '15'); INSERT INTO `group` VALUES ('127', 'EB 17 หน่วยงานมีการกำหนดมาตรการ กลไก หรือการวางระบบในการป้องกันการรับสินบน', '2020-03-16', '16'); INSERT INTO `group` VALUES ('128', 'EB 18 หน่วยงานมีการเสริมสร้างวัฒนธรรมและค่านิยมสุจริตและการต่อต้านการทุจริตในหน่วยงาน', '2020-03-16', '17'); INSERT INTO `group` VALUES ('129', 'EB 19 หน่วยงานมีการรวมกลุ่มของเจ้าหน้าที่เพื่อการบริหารงานที่โปร่งใสหรือไม่ และกลุ่มดังกล่าวมีกิจกรรมที่แสดงถึงความพยายามที่จะปรับปรุงการบริหารงาน ของหน่วยงานให้มีความโปร่งใสยิ่งขึ้น หรือไม่', '2020-03-16', '17'); INSERT INTO `group` VALUES ('130', 'EB 20 หน่วยงานมีการวิเคราะห์ความเสี่ยงเกี่ยวกับผลประโยชน์ทับซ้อนในหน่วยงาน', '2020-03-16', '17'); INSERT INTO `group` VALUES ('131', 'EB 21 หน่วยงานมีการจัดการความเสี่ยงเกี่ยวกับผลประโยชน์ทับซ้อน โดยการกำหนดมาตรการ กลไก หรือการวางระบบในการป้องกันผลประโยชน์ทับซ้อน ในหน่วยงาน', '2020-03-16', '17'); INSERT INTO `group` VALUES ('132', 'EB 22 หน่วยงานมีการประชุม หรืออบรม/สัมมนา หรือแลกเปลี่ยนความรู้ ภายในหน่วยงานในการให้ความรู้เรื่องการป้องกันผลประโยชน์ทับซ้อน จิตพอเพียงต้านทุจริต แก่เจ้าหน้าที่ในหน่วยงานหรือไม่', '2020-03-16', '17'); INSERT INTO `group` VALUES ('133', 'EB 23 หน่วยงานมีการจัดทำแผนป้องกันและปราบปรามการทุจริตหรือแผนที่เกี่ยวข้อง', '2020-03-16', '17'); INSERT INTO `group` VALUES ('134', 'EB 24 หน่วยงานมีการกำกับติดตามการดำเนินงานตามแผนป้องกัน และปราบปรามการทุจริตหรือแผนที่เกี่ยวข้อง', '2020-03-16', '17'); INSERT INTO `group` VALUES ('135', 'EB 25 หน่วยงานมีการกำหนดมาตรการ กลไก หรือการวางระบบในการตรวจสอบ การปฏิบัติงานของเจ้าหน้าที่ตามคู่มือหรือมาตรฐานการปฏิบัติงาน', '2020-03-16', '18'); INSERT INTO `group` VALUES ('136', 'EB 26 หน่วยงานมีการเผยแพร่กระบวนการอำนวยความสะดวก หรือการให้บริการประชาชน ด้วยการแสดงขั้นตอน ระยะเวลาที่ใช้', '2020-03-16', '18'); -- ---------------------------- -- Table structure for ha_category -- ---------------------------- DROP TABLE IF EXISTS `ha_category`; CREATE TABLE `ha_category` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID หมวดหมู่', `name` varchar(255) NOT NULL COMMENT 'หมวดหมู่', `create_date` date NOT NULL COMMENT 'วันที่สร้าง', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of ha_category -- ---------------------------- INSERT INTO `ha_category` VALUES ('14', 'ดัชนีความโปร่งใส (EB 1 - EB 9)', '2020-03-16'); INSERT INTO `ha_category` VALUES ('15', 'ดัชนีความพร้อมรับผิด (EB 10 - EB 16)', '2020-03-16'); INSERT INTO `ha_category` VALUES ('16', 'ดัชนีความปลอดจากการทุจริตในการปฏิบัติงาน', '2020-03-16'); INSERT INTO `ha_category` VALUES ('17', 'ดัชนีวัฒนธรรมคุณธรรมในองค์กร', '2020-03-16'); INSERT INTO `ha_category` VALUES ('18', 'ดัชนีคุณธรรมการทำงานในหน่วยงาน', '2020-03-16'); -- ---------------------------- -- Table structure for ha_documents -- ---------------------------- DROP TABLE IF EXISTS `ha_documents`; CREATE TABLE `ha_documents` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ref` varchar(50) DEFAULT NULL COMMENT 'หลายเลข referent สำหรับอัพโหลดไฟล์ ajax', `title` varchar(255) DEFAULT NULL COMMENT 'ชื่องาน', `description` text COMMENT 'รายละเอียด', `covenant` varchar(255) DEFAULT NULL COMMENT 'file', `docs` text COMMENT 'เอกสารประกอบ', `create_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'สร้างวันที่', `cat_id` int(11) DEFAULT NULL COMMENT 'ID หมวดหมู่หลัก', `group_id` int(11) DEFAULT NULL COMMENT 'ID หมวดหมู่ย่อย', PRIMARY KEY (`id`), KEY `cat_id` (`cat_id`) USING BTREE, KEY `group_id` (`group_id`) USING BTREE, CONSTRAINT `ha_documents_ibfk_1` FOREIGN KEY (`group_id`) REFERENCES `group` (`id`), CONSTRAINT `ha_documents_ibfk_2` FOREIGN KEY (`cat_id`) REFERENCES `ha_category` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of ha_documents -- ---------------------------- INSERT INTO `ha_documents` VALUES ('1', 'ZMPfXcPRNUOX69BxTumDyo', 'หน่วยงานมีการวิเคราะห์ผลการจัดซื้อจัดจ้างประจำปี (ที่ผ่านมา)', 'หน่วยงานมีการวิเคราะห์ผลการจัดซื้อจัดจ้างประจำปี (ที่ผ่านมา)', null, '{\"10cc8047591a700ebf7544bbbf0aa889.pdf\":\"หน่วยงานมีการวิเคราะห์ผลการจัดซื้อจัดจ้างประจำปี (ที่ผ่านมา).pdf\"}', '2020-03-16 11:55:37', '14', '111'); -- ---------------------------- -- Table structure for migration -- ---------------------------- DROP TABLE IF EXISTS `migration`; CREATE TABLE `migration` ( `version` varchar(180) NOT NULL, `apply_time` int(11) DEFAULT NULL, PRIMARY KEY (`version`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of migration -- ---------------------------- INSERT INTO `migration` VALUES ('m000000_000000_base', '1429928899'); INSERT INTO `migration` VALUES ('m000000_000001_CreateRbacTables', '1429929043'); INSERT INTO `migration` VALUES ('m000000_000002_CreateUserTables', '1429941926'); INSERT INTO `migration` VALUES ('m000000_000003_ChangeTokenColumn', '1429941926'); INSERT INTO `migration` VALUES ('m140209_132017_init', '1435203411'); INSERT INTO `migration` VALUES ('m140403_174025_create_account_table', '1435203411'); INSERT INTO `migration` VALUES ('m140504_113157_update_tables', '1435203411'); INSERT INTO `migration` VALUES ('m140504_130429_create_token_table', '1435203411'); INSERT INTO `migration` VALUES ('m140830_171933_fix_ip_field', '1435203411'); INSERT INTO `migration` VALUES ('m140830_172703_change_account_table_name', '1435203411'); INSERT INTO `migration` VALUES ('m141222_110026_update_ip_field', '1435203411'); INSERT INTO `migration` VALUES ('m141222_135246_alter_username_length', '1552026516'); INSERT INTO `migration` VALUES ('m150614_103145_update_social_account_table', '1552026516'); INSERT INTO `migration` VALUES ('m150623_212711_fix_username_notnull', '1552026516'); INSERT INTO `migration` VALUES ('m151218_234654_add_timezone_to_profile', '1552026516'); INSERT INTO `migration` VALUES ('m160929_103127_add_last_login_at_to_user_table', '1552026516'); -- ---------------------------- -- Table structure for profile -- ---------------------------- DROP TABLE IF EXISTS `profile`; CREATE TABLE `profile` ( `user_id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `public_email` varchar(255) DEFAULT NULL, `gravatar_email` varchar(255) DEFAULT NULL, `gravatar_id` varchar(32) DEFAULT NULL, `location` varchar(255) DEFAULT NULL, `website` varchar(255) DEFAULT NULL, `bio` text, `timezone` varchar(40) DEFAULT NULL, PRIMARY KEY (`user_id`), CONSTRAINT `fk_user_profile` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of profile -- ---------------------------- INSERT INTO `profile` VALUES ('1', 'นรินทร์ จุลทัศน์', '', '<EMAIL>', '678d2e240fa3f326524f38859770f0f5', 'โรงพยาบาลน้ำยืน', 'http://namyuenhosp.in.th/', 'IT', null); INSERT INTO `profile` VALUES ('2', 'u27967', '', '<EMAIL>', '5f<PASSWORD>c7d<PASSWORD>', 'sawangweerawong', '', '', null); -- ---------------------------- -- Table structure for social_account -- ---------------------------- DROP TABLE IF EXISTS `social_account`; CREATE TABLE `social_account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) DEFAULT NULL, `provider` varchar(255) NOT NULL, `client_id` varchar(255) NOT NULL, `data` text, `code` varchar(32) DEFAULT NULL, `created_at` int(11) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `username` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `account_unique` (`provider`,`client_id`), UNIQUE KEY `account_unique_code` (`code`), KEY `fk_user_account` (`user_id`), CONSTRAINT `fk_user_account` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of social_account -- ---------------------------- -- ---------------------------- -- Table structure for token -- ---------------------------- DROP TABLE IF EXISTS `token`; CREATE TABLE `token` ( `user_id` int(11) NOT NULL, `code` varchar(32) NOT NULL, `created_at` int(11) NOT NULL, `type` smallint(6) NOT NULL, UNIQUE KEY `token_unique` (`user_id`,`code`,`type`), CONSTRAINT `fk_user_token` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of token -- ---------------------------- INSERT INTO `token` VALUES ('1', 'NMdk4T8YFgDwEpGzu5q_YUKiR5ikpM5d', '<PASSWORD>', '0'); -- ---------------------------- -- Table structure for uploads -- ---------------------------- DROP TABLE IF EXISTS `uploads`; CREATE TABLE `uploads` ( `upload_id` int(11) NOT NULL AUTO_INCREMENT, `ref` varchar(50) DEFAULT NULL, `file_name` varchar(150) DEFAULT NULL COMMENT 'ชื่อไฟล์', `real_filename` varchar(150) DEFAULT NULL COMMENT 'ชื่อไฟล์จริง', `create_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `type` int(11) DEFAULT NULL COMMENT 'ประเภท', PRIMARY KEY (`upload_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of uploads -- ---------------------------- -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password_hash` varchar(60) NOT NULL, `auth_key` varchar(32) NOT NULL, `confirmed_at` int(11) DEFAULT NULL, `unconfirmed_email` varchar(255) DEFAULT NULL, `blocked_at` int(11) DEFAULT NULL, `registration_ip` varchar(45) 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, PRIMARY KEY (`id`), UNIQUE KEY `user_unique_username` (`username`), UNIQUE KEY `user_unique_email` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of user -- ---------------------------- INSERT INTO `user` VALUES ('1', 'admin', '<EMAIL>', '$2y$12$hU70CUB58TllUf3ssooPOet40uyPPemTwrcCIvTEwM./MG0dkYUhK', 'cvHiM7kFUIajP2Bvnw4MgvBvyY7h0xbs', '1552026751', null, null, '127.0.0.1', '1435206956', '1580959070', '0', '1584334188'); INSERT INTO `user` VALUES ('2', 'u27967', 's<EMAIL>', <PASSWORD>', 'AQyMXt4bf8YYY1IXlWwsoGp-ZMVJNMVa', '1557281733', '', null, '::1', '1557281733', '1580964641', '0', '1582878407');
-- Verify nz-buildings:buildings_reference/functions/reference_update_log on pg BEGIN; SELECT has_function_privilege('buildings_reference.reference_update_log_insert_log(varchar[])', 'execute'); ROLLBACK;
<gh_stars>0 ALTER TABLE `goods` ADD `dealer_id` INT(10) NULL DEFAULT NULL COMMENT '交易员id' AFTER `rank`; ALTER TABLE `demand` ADD `dealer_id` INT(10) NULL DEFAULT NULL COMMENT '交易员id' AFTER `updated_at`;
DROP INDEX IF EXISTS index_announcement_engagements_announcement_id_user_id; DROP INDEX IF EXISTS index_announcement_engagements_user_id; DROP TABLE IF EXISTS announcement_engagements; DROP INDEX IF EXISTS index_announcements_organization_id; DROP TABLE IF EXISTS announcements;
<reponame>OasisLMF/OEDtransform DELETE FROM B; DELETE FROM C; INSERT INTO B (c, d) VALUES (:id, :c); INSERT INTO C (e, f) VALUES (:id, :d);
-- phpMyAdmin SQL Dump -- version 4.8.2 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 29-08-2018 a las 01:41:07 -- Versión del servidor: 10.1.34-MariaDB -- Versión de PHP: 7.2.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 */; -- -- Base de datos: `laravel_project` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `capitales` -- CREATE TABLE `capitales` ( `id` int(255) NOT NULL, `capital` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `capitales` -- INSERT INTO `capitales` (`id`, `capital`) VALUES (1, 'Montgomery'), (2, 'Juneau'), (3, 'Phoenix'), (4, 'Little Rock'), (5, 'Sacramento'), (6, 'Raleigh'), (7, 'Columbia'), (8, 'Denver'), (9, 'Hartford'), (10, 'Bismarck'), (11, 'Pierre'), (12, 'Dover'), (13, 'Tallahassee'), (14, 'Atlanta'), (15, 'Honolulu'), (16, 'Boise'), (17, 'Springfield'), (18, 'Indianápolis'), (19, '<NAME>'), (20, 'Topeka'), (21, 'Frankfort'), (22, ' <NAME>'), (23, 'Augusta'), (24, 'Annapolis'), (25, 'Boston'), (26, 'Lansing'), (27, '<NAME>'), (28, 'Jackson'), (29, '<NAME>'), (30, 'Helena'), (31, 'Lincoln'), (32, '<NAME>'), (33, 'Trenton'), (34, 'Albany'), (35, 'Concord'), (36, '<NAME>'), (37, 'Columbus'), (38, 'Oklahoma City'), (39, 'Salem'), (40, 'Harrisburg'), (41, 'Providence'), (42, 'Nashville'), (43, 'Austin'), (44, '<NAME> City'), (45, 'Montpelier'), (46, 'Richmond'), (47, ' Charleston'), (48, 'Olympia'), (49, 'Madison'), (50, 'Cheyenne'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `comentarios` -- CREATE TABLE `comentarios` ( `id` int(255) NOT NULL, `nombre` varchar(255) NOT NULL, `comentario` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `comentarios` -- INSERT INTO `comentarios` (`id`, `nombre`, `comentario`) VALUES (1, 'jonathan', 'agregando funcionalidad'), (2, 'jose', 'ok excelente'), (4, 'maria', 'ok,buen cms'), (5, 'joseito', 'buena'), (6, '<NAME>', 'El sistema me parece muy eficaz lo recomiendo'), (7, 'camilo', 'buenas.amigos'), (8, 'petra', 'ok,chevere'), (9, 'pancho', 'ok esta bueno'), (10, 'karla', 'dfdf'), (11, 'maria', 'ok,buenas admin'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `customers` -- CREATE TABLE `customers` ( `id` int(255) NOT NULL, `customer` varchar(255) NOT NULL, `nombre` varchar(255) NOT NULL, `apellido` varchar(255) NOT NULL, `fecha` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `customers` -- INSERT INTO `customers` (`id`, `customer`, `nombre`, `apellido`, `fecha`) VALUES (1, 'maykel', 'john', 'smith', '10-05-2018'), (2, 'robert', 'maria', 'williams', '10-01-2018'), (10, 'fg', 'fg', 'fg', '10-10-2018'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `estados` -- CREATE TABLE `estados` ( `id` int(255) NOT NULL, `estado` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `estados` -- INSERT INTO `estados` (`id`, `estado`) VALUES (1, 'Alabama'), (2, 'Alaska'), (3, 'Arizona'), (4, 'Arkansas'), (5, 'California'), (6, 'Carolina del Norte'), (7, 'Carolina del Sur'), (8, 'Colorado'), (9, 'Connecticut'), (10, 'Dakota del Norte'), (11, 'Dakota del Sur'), (12, 'Delaware'), (13, 'Florida'), (14, 'Georgia'), (15, 'Hawái'), (16, 'Idaho'), (17, 'Illinois'), (18, 'Illinois'), (19, 'Iowa'), (20, 'Kansas'), (21, 'Kentucky'), (22, 'Luisiana'), (23, 'Maine'), (24, 'Maryland'), (25, 'Massachusetts'), (26, 'Míchigan'), (27, 'Minnesota'), (28, 'Misisipi'), (29, 'Misuri'), (30, 'Montana'), (31, 'Nebraska'), (32, 'Nevada'), (33, 'Nueva Jersey'), (34, 'Nueva York'), (35, 'Nuevo Hampshire'), (36, 'Nuevo México'), (37, 'Ohio'), (38, 'Oklahoma'), (39, 'Oregón'), (40, 'Pensilvania'), (41, 'Rhode Island'), (42, 'Tennessee'), (43, 'Texas'), (44, 'Utah'), (45, 'Vermont'), (46, 'Virginia'), (47, 'Virginia Occidental'), (48, 'Washington'), (49, 'Washington'), (50, 'Wyoming'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `projects` -- CREATE TABLE `projects` ( `id` int(255) NOT NULL, `id_project` int(255) NOT NULL, `nombre_project` varchar(255) NOT NULL, `fecha` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `projects` -- INSERT INTO `projects` (`id`, `id_project`, `nombre_project`, `fecha`) VALUES (1, 1, 'kitchen parts', '10-02-2018'), (2, 2, 'garden', '10-03-2018'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `roles` -- CREATE TABLE `roles` ( `id` int(255) NOT NULL, `role` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `roles` -- INSERT INTO `roles` (`id`, `role`) VALUES (1, 'admin'), (2, 'usuario'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usuarios` -- CREATE TABLE `usuarios` ( `id` int(255) NOT NULL, `ruta` varchar(255) NOT NULL, `nombre` varchar(255) NOT NULL, `apellido` varchar(255) NOT NULL, `fecha` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `estado` varchar(255) NOT NULL, `capital` varchar(255) NOT NULL, `parroquia` varchar(255) NOT NULL, `usuario` varchar(255) NOT NULL, `contrasena` varchar(255) NOT NULL, `role` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `usuarios` -- INSERT INTO `usuarios` (`id`, `ruta`, `nombre`, `apellido`, `fecha`, `email`, `estado`, `capital`, `parroquia`, `usuario`, `contrasena`, `role`) VALUES (1, 'user.png', 'jonathan', 'castro', '11-05-2018', '<EMAIL>', 'Distrito Capital', 'Caracas', 'El Valle', 'admin', 'admin', 'admin'), (39, 'user.png', 'jonh', 'smith', '01-08-2018', '<EMAIL>', 'Delaware', 'Dover', '', 'smith', '$2y$10$eFFRNFWqw2dJzGdGKFjCJ.trNPGqPNg2RVo6OwownBNnhu5kBVf8S', 'usuario'), (41, 'user.png', 'pedro', 'chacon', '04-08-2018', '<EMAIL>', 'Hawái', 'Honolulu', '', 'pedro', '$2y$10$aggCaI4euGVjNGbjTSAQb.rReONN8vBbOsiL7We1cQAhoG2rSEZBu', 'usuario'), (43, 'user.png', 'ramon', 'quincyn', '05-08-2018', '<EMAIL>', 'Alaska', 'Juneau', '', '<EMAIL>', '$2y$10$GgpVoKjM6CnKCS4OGsjm4uKuhF9GA6YOGI1ofgNzuY7CpmuEvxCE.', 'usuario'), (44, 'user.png', 'maykol', 'chorbez', '04-08-2018', '<EMAIL>', 'Illinois', 'Springfield', '', 'maykol', '$2y$10$HgqAXgrAjqnAfIqQVIvwrO.wrYdziEOvXKjtYXXMGnTb4zb0DXsDa', 'usuario'), (45, 'user.png', 'jonathan', 'castro', '24-08-2018', '<EMAIL>', 'Arizona', 'Phoenix', '', 'jonathan', '$2y$10$SuvAS4iakt8mQ8yTwcWgeuvLwRTy/HauIIhD2BdJrFWR1Edh.xu92', 'usuario'); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `capitales` -- ALTER TABLE `capitales` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `comentarios` -- ALTER TABLE `comentarios` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `customers` -- ALTER TABLE `customers` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `estados` -- ALTER TABLE `estados` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `projects` -- ALTER TABLE `projects` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `roles` -- ALTER TABLE `roles` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `usuarios` -- ALTER TABLE `usuarios` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `capitales` -- ALTER TABLE `capitales` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51; -- -- AUTO_INCREMENT de la tabla `comentarios` -- ALTER TABLE `comentarios` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT de la tabla `customers` -- ALTER TABLE `customers` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT de la tabla `estados` -- ALTER TABLE `estados` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51; -- -- AUTO_INCREMENT de la tabla `projects` -- ALTER TABLE `projects` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT de la tabla `roles` -- ALTER TABLE `roles` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT de la tabla `usuarios` -- ALTER TABLE `usuarios` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Hôte : 127.0.0.1 -- Généré le : Dim 25 oct. 2020 à 14:31 -- Version du serveur : 10.1.38-MariaDB -- Version de PHP : 7.3.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 */; -- -- Base de données : `dgi_immatriculation_db` -- -- -------------------------------------------------------- -- -- Structure de la table `tb_dgi_clients` -- CREATE TABLE `tb_dgi_clients` ( `client_id` int(11) NOT NULL, `noms_complet` varchar(75) DEFAULT NULL, `telephone` varchar(25) DEFAULT NULL, `email` varchar(75) DEFAULT NULL, `profession` varchar(75) DEFAULT NULL, `adresse` text ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Déchargement des données de la table `tb_dgi_clients` -- INSERT INTO `tb_dgi_clients` (`client_id`, `noms_complet`, `telephone`, `email`, `profession`, `adresse`) VALUES (1, '<NAME>', '+243853385285', '<EMAIL>', 'Medecin', '25, savonnier, bel-air, kampemba, rdc'); -- -------------------------------------------------------- -- -- Structure de la table `tb_dgi_fiches` -- CREATE TABLE `tb_dgi_fiches` ( `fiche_id` int(11) NOT NULL, `numero_fiche` varchar(75) DEFAULT NULL, `date_creation` datetime DEFAULT NULL, `date_validation` datetime DEFAULT NULL, `plaque_vehicule_sid` int(11) DEFAULT NULL, `nombre_kilometrage` int(11) DEFAULT NULL, `date_entree_vehicule` date DEFAULT NULL, `statut_declaration` varchar(75) DEFAULT NULL, `observation` text ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `tb_dgi_notes` -- CREATE TABLE `tb_dgi_notes` ( `note_id` int(11) NOT NULL, `numero_reference_note` varchar(25) DEFAULT NULL, `date_creation` datetime DEFAULT NULL, `date_validation` datetime DEFAULT NULL, `numero_impot` varchar(75) DEFAULT NULL, `numero_compte_bancaire` varchar(75) DEFAULT NULL, `nom_banque` varchar(75) DEFAULT NULL, `devise_compte` varchar(75) DEFAULT NULL, `pourcentage_impot` varchar(10) DEFAULT NULL, `montant_impot_du` float DEFAULT NULL, `observation` text, `fiche_sid` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `tb_dgi_paiements` -- CREATE TABLE `tb_dgi_paiements` ( `paiement_id` int(11) NOT NULL, `date_paiement` datetime DEFAULT NULL, `date_validation` datetime DEFAULT NULL, `montant_verser` float DEFAULT NULL, `statut_paiement` varchar(75) DEFAULT NULL, `observation` text, `numero_note_sid` int(11) DEFAULT NULL, `client_sid` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `tb_dgi_vehicules` -- CREATE TABLE `tb_dgi_vehicules` ( `vehicule_id` int(11) NOT NULL, `client_sid` int(11) DEFAULT NULL, `chasis` varchar(75) DEFAULT NULL, `num_plaque` varchar(25) DEFAULT NULL, `marque_vehicule` varchar(75) DEFAULT NULL, `type_vehicule` varchar(75) DEFAULT NULL, `poids_vehicule` varchar(75) DEFAULT NULL, `couleur_vehicule` varchar(75) DEFAULT NULL, `nombre_place_passagers` int(11) DEFAULT NULL, `annee_fabrication_vehicule` varchar(75) DEFAULT NULL, `type_pays_provenance` varchar(75) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Structure de la table `tb_im_users` -- CREATE TABLE `tb_im_users` ( `id_asset` int(11) NOT NULL, `asset_fullname` varchar(75) NOT NULL, `asset_username` varchar(50) DEFAULT NULL, `asset_password` varchar(60) DEFAULT NULL, `asset_email` varchar(50) DEFAULT NULL, `asset_sexe` varchar(10) DEFAULT NULL, `asset_phone` varchar(50) DEFAULT NULL, `asset_type` varchar(20) DEFAULT 'agent', `date_ajout` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `date_connected` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `account_activated` varchar(25) DEFAULT 'active', `asset_avatar` varchar(75) DEFAULT NULL, `date_update` datetime DEFAULT NULL, `asset_fonction` varchar(75) NOT NULL, `asset_matricule` varchar(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Déchargement des données de la table `tb_im_users` -- INSERT INTO `tb_im_users` (`id_asset`, `asset_fullname`, `asset_username`, `asset_password`, `asset_email`, `asset_sexe`, `asset_phone`, `asset_type`, `date_ajout`, `date_connected`, `account_activated`, `asset_avatar`, `date_update`, `asset_fonction`, `asset_matricule`) VALUES (21, '<NAME>', 'eliemwez', '$2y$12$lgSZ78FDfw7MUBBIrMgsfOB2BEBDapoD4jIJEtr.arj6dSYRoBDZG', '<EMAIL>', 'Masculin', '+243858533285', 'admin', '2020-09-11 10:08:58', '2020-09-21 10:02:11', 'active', 'global/img/avatars/avatar-eliemwez2.jpg', '2020-09-19 14:07:30', 'admin', '11220'), (26, '<NAME>', 'tshinenge', '$2y$12$iYgPuYl0T3Xn6HBQgocdeuFu1ZGN0qGfvzPexk60RU6l.q9YdS9Ju', '<EMAIL>', 'masculin', '0993076047', 'user', '2020-09-21 09:59:39', '2020-09-21 10:42:27', 'active', NULL, NULL, 'guichetier', '202005'), (27, 'Administrateur', 'admin', '$2y$12$bGYGbrhUKpkUVun35wVyq.E3xoHKEsztWso0Hw6xlP4pRPrhNqxpu', '<EMAIL>', 'Homme', '+243+243903774951', 'admin', '2020-09-21 10:01:52', '2020-10-25 12:27:05', 'active', 'global/img/avatars/12f5af7aaaaf19c688cbddeb0cac45a5.jpg', '2020-10-25 14:26:54', 'admin', '2020010'); -- -- Index pour les tables déchargées -- -- -- Index pour la table `tb_dgi_clients` -- ALTER TABLE `tb_dgi_clients` ADD PRIMARY KEY (`client_id`); -- -- Index pour la table `tb_dgi_fiches` -- ALTER TABLE `tb_dgi_fiches` ADD PRIMARY KEY (`fiche_id`), ADD KEY `plaque_vehicule_sid` (`plaque_vehicule_sid`); -- -- Index pour la table `tb_dgi_notes` -- ALTER TABLE `tb_dgi_notes` ADD PRIMARY KEY (`note_id`), ADD KEY `fiche_sid` (`fiche_sid`); -- -- Index pour la table `tb_dgi_paiements` -- ALTER TABLE `tb_dgi_paiements` ADD PRIMARY KEY (`paiement_id`), ADD KEY `client_sid` (`client_sid`), ADD KEY `numero_note_sid` (`numero_note_sid`); -- -- Index pour la table `tb_dgi_vehicules` -- ALTER TABLE `tb_dgi_vehicules` ADD PRIMARY KEY (`vehicule_id`), ADD KEY `client_sid` (`client_sid`); -- -- Index pour la table `tb_im_users` -- ALTER TABLE `tb_im_users` ADD PRIMARY KEY (`id_asset`), ADD UNIQUE KEY `asset_username` (`asset_username`,`asset_email`); -- -- AUTO_INCREMENT pour les tables déchargées -- -- -- AUTO_INCREMENT pour la table `tb_dgi_clients` -- ALTER TABLE `tb_dgi_clients` MODIFY `client_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT pour la table `tb_dgi_fiches` -- ALTER TABLE `tb_dgi_fiches` MODIFY `fiche_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT pour la table `tb_dgi_notes` -- ALTER TABLE `tb_dgi_notes` MODIFY `note_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT pour la table `tb_dgi_paiements` -- ALTER TABLE `tb_dgi_paiements` MODIFY `paiement_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT pour la table `tb_dgi_vehicules` -- ALTER TABLE `tb_dgi_vehicules` MODIFY `vehicule_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT pour la table `tb_im_users` -- ALTER TABLE `tb_im_users` MODIFY `id_asset` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28; -- -- Contraintes pour les tables déchargées -- -- -- Contraintes pour la table `tb_dgi_fiches` -- ALTER TABLE `tb_dgi_fiches` ADD CONSTRAINT `tb_dgi_fiches_ibfk_1` FOREIGN KEY (`plaque_vehicule_sid`) REFERENCES `tb_dgi_vehicules` (`vehicule_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `tb_dgi_notes` -- ALTER TABLE `tb_dgi_notes` ADD CONSTRAINT `tb_dgi_notes_ibfk_1` FOREIGN KEY (`fiche_sid`) REFERENCES `tb_dgi_fiches` (`fiche_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `tb_dgi_paiements` -- ALTER TABLE `tb_dgi_paiements` ADD CONSTRAINT `tb_dgi_paiements_ibfk_1` FOREIGN KEY (`client_sid`) REFERENCES `tb_dgi_clients` (`client_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `tb_dgi_paiements_ibfk_2` FOREIGN KEY (`numero_note_sid`) REFERENCES `tb_dgi_notes` (`note_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `tb_dgi_vehicules` -- ALTER TABLE `tb_dgi_vehicules` ADD CONSTRAINT `tb_dgi_vehicules_ibfk_1` FOREIGN KEY (`client_sid`) REFERENCES `tb_dgi_clients` (`client_id`) 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 */;
USE `BarnesAndIgnoble`; -- Question 7.1 - Books per author SELECT A.*, COUNT(DISTINCT(BA.ISBN)) AS `Total Books Written` FROM Authors A JOIN BookAuthors BA ON A.AuthorID = BA.AuthorID GROUP BY BA.AuthorID; -- Question 7.2 - Authors per book SELECT B.*, COUNT(DISTINCT(BA.AuthorID)) AS `Number of Authors` FROM Books B JOIN BookAuthors BA ON B.ISBN = BA.ISBN GROUP BY B.ISBN; -- Question 7.3 - Author roylaties on a book SELECT B.ISBN, B.Title, SUM(BA.Royalty) AS `Total Royalties` FROM Books B JOIN BookAuthors BA ON B.ISBN = BA.ISBN GROUP BY B.ISBN; -- Question 7.3 - Book royalties per author SELECT A.*, SUM(BA.Royalty) AS `Total Royalties` FROM Authors A JOIN BookAuthors BA ON A.AuthorID = BA.AuthorID GROUP BY A.AuthorID; -- Question 7.5 - Books in a genre SELECT B.Genre, COUNT(B.Genre) AS `Books per Genre` FROM Books B GROUP BY B.Genre; -- Question 7.6 - Books published by a publisher SELECT P.PublisherID, P.Name, COUNT(DISTINCT(B.ISBN)) AS `Books Published` FROM Publishers P JOIN Books B ON B.PublisherID = P.PublisherID GROUP BY B.PublisherID; -- Question 7.7 - Editors per book SELECT B.*, COUNT(DISTINCT(BE.EditorID)) AS `Editors` FROM Books B JOIN BookEditors BE ON B.ISBN = BE.ISBN GROUP BY B.ISBN; -- Question 7.8 - Books per editor SELECT E.EditorID, E.Name, COUNT(DISTINCT(BE.ISBN)) AS `Books Edited` FROM Editors E JOIN BookEditors BE ON E.EditorID = BE.EditorID GROUP BY E.EditorID; -- Question 7.9 - Books in an order SELECT O.*, COUNT(DISTINCT(S.ISBN)) AS `Books per Order` FROM Orders O JOIN Shipments S ON O.OrderID = S.OrderID GROUP BY O.OrderID; -- Question 7.10 - Orders for a book SELECT B.*, COUNT(DISTINCT(S.OrderID)) AS `Copies Ordered` FROM Books B JOIN Shipments S ON B.ISBN = S.ISBN GROUP BY B.ISBN; -- Question 7.11 - Customer Orders SELECT O.*, O.Total, O.CustomerID FROM Orders O GROUP BY O.OrderID; -- Question 7.12 - Orders per customer SELECT C.*, COUNT(DISTINCT(O.OrderID)) AS `Orders Placed` FROM Customers C JOIN Orders O ON C.CustomerID = O.OrderID GROUP BY C.CustomerID;
CREATE PROCEDURE [tCodeQuality].[test const Functions must have WITH SCHEMABINDING] AS BEGIN -- Declaring pattern DECLARE @Pattern_Context TCONTEXT = dspUtil.String_RemoveWhitespaces('WITH SCHEMABINDING'); DECLARE @msg TSTRING; DECLARE @FunctionName TSTRING; -- Getting list all procedures with pagination EXEC dspUtil.LogTrace @ProcId = @@PROCID, @Message = N'Getting list all functions with const schema'; DECLARE @t TABLE (SchemaName TSTRING, FunctionName TSTRING, Script TBIGSTRING); INSERT INTO @t SELECT PD.SchemaName, PD.ObjectName, PD.Script FROM dspUtil.Metadata_ProceduresDefination() AS PD WHERE PD.SchemaName = 'const'; -- Looking for "@Context TCONTEXT OUT" phrase EXEC dspUtil.LogTrace @ProcId = @@PROCID, @Message = N'Looking for "WITH SCHEMABINDING" phrase'; SELECT @FunctionName = SchemaName + '.' + FunctionName FROM @t WHERE CHARINDEX(@Pattern_Context, Script) < 1 AND CHARINDEX('TSTRING', Script) = 0; IF (@FunctionName IS NOT NULL) BEGIN SET @msg = '"WITH SCHEMABINDING" phrase was not found in Function: ' + @FunctionName; EXEC tSQLt.Fail @Message0 = @msg; END; END;