(29320,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033783912658691','2020-03-13 03:05:40'),(29321,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033879280090332','2020-03-13 03:05:40'),(29322,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033688545227051','2020-03-13 03:05:40'),(29323,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003359317779541','2020-03-13 03:05:40'),(29324,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003349781036377','2020-03-13 03:05:40'),(29325,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0046470165252686','2020-03-13 03:05:40'),(29326,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0015699863433838','2020-03-13 03:05:40'),(29327,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054869651794434','2020-03-13 03:05:40'),(29328,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0014729499816895','2020-03-13 03:05:40'),(29329,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 235','http://salihin.noip.me/mgs/login/setSession','0.00047588348388672','2020-03-13 03:58:42'),(29330,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00057697296142578','2020-03-13 03:58:45'),(29331,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0055298805236816','2020-03-13 03:58:45'),(29332,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00048112869262695','2020-03-13 03:58:45'),(29333,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0082659721374512','2020-03-13 03:58:45'),(29334,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049710273742676','2020-03-13 03:58:45'),(29335,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.006972074508667','2020-03-13 03:58:45'),(29336,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052404403686523','2020-03-13 03:58:45'),(29337,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0056569576263428','2020-03-13 03:58:45'),(29338,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046610832214355','2020-03-13 03:58:45'),(29339,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.010879993438721','2020-03-13 03:58:45'),(29340,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.036303997039795','2020-03-13 03:58:45'),(29341,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.010217189788818','2020-03-13 03:58:45'),(29342,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0060200691223145','2020-03-13 03:58:45'),(29343,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.079127073287964','2020-03-13 03:58:45'),(29344,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.071148872375488','2020-03-13 03:58:45'),(29345,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012481927871704','2020-03-13 03:58:45'),(29346,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0022289752960205','2020-03-13 03:58:45'),(29347,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012393951416016','2020-03-13 03:58:45'),(29348,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0022380352020264','2020-03-13 03:58:45'),(29349,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.64983105659485','2020-03-13 03:58:45'),(29350,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.23481392860413','2020-03-13 03:58:45'),(29351,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.44277906417847','2020-03-13 03:58:45'),(29352,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.16371703147888','2020-03-13 03:58:45'),(29353,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'235\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019676923751831','2020-03-13 03:58:45'),(29354,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'235\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01977801322937','2020-03-13 03:58:45'),(29355,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00095200538635254','2020-03-13 03:58:45'),(29356,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'235\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.017741918563843','2020-03-13 03:58:45'),(29357,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00067806243896484','2020-03-13 03:58:45'),(29358,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035619735717773','2020-03-13 03:58:45'),(29359,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033807754516602','2020-03-13 03:58:45'),(29360,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032615661621094','2020-03-13 03:58:45'),(29361,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033283233642578','2020-03-13 03:58:45'),(29362,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003349781036377','2020-03-13 03:58:45'),(29363,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003349781036377','2020-03-13 03:58:45'),(29364,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033092498779297','2020-03-13 03:58:45'),(29365,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033092498779297','2020-03-13 03:58:45'),(29366,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033211708068848','2020-03-13 03:58:45'),(29367,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033187866210938','2020-03-13 03:58:45'),(29368,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032401084899902','2020-03-13 03:58:45'),(29369,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003349781036377','2020-03-13 03:58:45'),(29370,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051329135894775','2020-03-13 03:58:45'),(29371,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013329982757568','2020-03-13 03:58:46'),(29372,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0048999786376953','2020-03-13 03:58:46'),(29373,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012829303741455','2020-03-13 03:58:46'),(29374,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049688816070557','2020-03-13 03:58:46'),(29375,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012860298156738','2020-03-13 03:58:46'),(29376,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'235\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0051319599151611','2020-03-13 03:58:51'),(29377,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'235\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0041859149932861','2020-03-13 03:58:51'),(29378,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'235\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.010601043701172','2020-03-13 03:58:51'),(29379,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'235\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0068140029907227','2020-03-13 03:58:51'),(29380,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'235\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0058510303497314','2020-03-13 03:58:51'),(29381,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'235\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0010521411895752','2020-03-13 03:58:51'),(29382,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'235\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.018374919891357','2020-03-13 03:58:51'),(29383,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00073385238647461','2020-03-13 03:58:51'),(29384,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036811828613281','2020-03-13 03:58:51'),(29385,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034689903259277','2020-03-13 03:58:51'),(29386,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034403800964355','2020-03-13 03:58:51'),(29387,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034594535827637','2020-03-13 03:58:51'),(29388,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034308433532715','2020-03-13 03:58:51'),(29389,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034189224243164','2020-03-13 03:58:51'),(29390,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-13 03:58:52'),(29391,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034022331237793','2020-03-13 03:58:52'),(29392,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033807754516602','2020-03-13 03:58:52'),(29393,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033998489379883','2020-03-13 03:58:52'),(29394,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034379959106445','2020-03-13 03:58:52'),(29395,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033807754516602','2020-03-13 03:58:52'),(29396,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053200721740723','2020-03-13 03:58:52'),(29397,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013420581817627','2020-03-13 03:58:52'),(29398,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052611827850342','2020-03-13 03:58:52'),(29399,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0012738704681396','2020-03-13 03:58:52'),(29400,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT role FROM user__role WHERE user_ID = 377','http://salihin.noip.me/mgs/login/setSession','0.0053131580352783','2020-03-13 04:21:57'),(29401,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Company Secretary\'','http://salihin.noip.me/mgs/dashboard','0.0005190372467041','2020-03-13 04:21:59'),(29402,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'4\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.011772155761719','2020-03-13 04:21:59'),(29403,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Company Secretary\'','http://salihin.noip.me/mgs/dashboard','0.00072288513183594','2020-03-13 04:21:59'),(29404,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'4\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0072970390319824','2020-03-13 04:21:59'),(29405,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Company Secretary\'','http://salihin.noip.me/mgs/dashboard','0.0004889965057373','2020-03-13 04:21:59'),(29406,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'4\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0055499076843262','2020-03-13 04:21:59'),(29407,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Company Secretary\'','http://salihin.noip.me/mgs/dashboard','0.00043010711669922','2020-03-13 04:21:59'),(29408,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'4\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0051791667938232','2020-03-13 04:21:59'),(29409,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Company Secretary\'','http://salihin.noip.me/mgs/dashboard','0.00052309036254883','2020-03-13 04:21:59'),(29410,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'4\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0067059993743896','2020-03-13 04:21:59'),(29411,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.039563894271851','2020-03-13 04:21:59'),(29412,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0099139213562012','2020-03-13 04:21:59'),(29413,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0052840709686279','2020-03-13 04:21:59'),(29414,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.069225072860718','2020-03-13 04:21:59'),(29415,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Company Secretary\'','http://salihin.noip.me/mgs/dashboard','0.073858976364136','2020-03-13 04:21:59'),(29416,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.010632991790771','2020-03-13 04:21:59'),(29417,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0019509792327881','2020-03-13 04:21:59'),(29418,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.010231018066406','2020-03-13 04:21:59'),(29419,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0018770694732666','2020-03-13 04:21:59'),(29420,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 4)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.14414000511169','2020-03-13 04:21:59'),(29421,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 4))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 4)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.24329686164856','2020-03-13 04:21:59'),(29422,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 4)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.080856084823608','2020-03-13 04:21:59'),(29423,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 4))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 4)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.1567759513855','2020-03-13 04:21:59'),(29424,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'377\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0096218585968018','2020-03-13 04:22:00'),(29425,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'377\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0094637870788574','2020-03-13 04:22:00'),(29426,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00045084953308105','2020-03-13 04:22:00'),(29427,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'377\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0095109939575195','2020-03-13 04:22:00'),(29428,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0003662109375','2020-03-13 04:22:00'),(29429,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018787384033203','2020-03-13 04:22:00'),(29430,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015497207641602','2020-03-13 04:22:00'),(29431,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014901161193848','2020-03-13 04:22:00'),(29432,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014209747314453','2020-03-13 04:22:00'),(29433,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014495849609375','2020-03-13 04:22:00'),(29434,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014114379882812','2020-03-13 04:22:00'),(29435,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013995170593262','2020-03-13 04:22:00'),(29436,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001380443572998','2020-03-13 04:22:00'),(29437,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-13 04:22:00'),(29438,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001370906829834','2020-03-13 04:22:00'),(29439,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-13 04:22:00'),(29440,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013399124145508','2020-03-13 04:22:00'),(29441,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0027358531951904','2020-03-13 04:22:00'),(29442,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00063896179199219','2020-03-13 04:22:00'),(29443,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0025119781494141','2020-03-13 04:22:00'),(29444,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00067305564880371','2020-03-13 04:22:00'),(29445,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0027399063110352','2020-03-13 04:22:00'),(29446,377,'Nurul Athirah Nur Amira binti Izhar','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00071287155151367','2020-03-13 04:22:00'),(29447,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 384','http://salihin.noip.me/mgs/login/setSession','0.00040102005004883','2020-03-13 04:59:07'),(29448,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00042891502380371','2020-03-13 04:59:18'),(29449,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.016227006912231','2020-03-13 04:59:18'),(29450,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00064611434936523','2020-03-13 04:59:18'),(29451,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.013752937316895','2020-03-13 04:59:18'),(29452,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00059199333190918','2020-03-13 04:59:18'),(29453,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010168790817261','2020-03-13 04:59:18'),(29454,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00047993659973145','2020-03-13 04:59:18'),(29455,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0067100524902344','2020-03-13 04:59:18'),(29456,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00030303001403809','2020-03-13 04:59:18'),(29457,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0043981075286865','2020-03-13 04:59:18'),(29458,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.024631977081299','2020-03-13 04:59:18'),(29459,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.006033182144165','2020-03-13 04:59:18'),(29460,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0036880970001221','2020-03-13 04:59:18'),(29461,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.045798063278198','2020-03-13 04:59:18'),(29462,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.04426383972168','2020-03-13 04:59:18'),(29463,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0077440738677979','2020-03-13 04:59:18'),(29464,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0014188289642334','2020-03-13 04:59:18'),(29465,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0076780319213867','2020-03-13 04:59:18'),(29466,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0015139579772949','2020-03-13 04:59:18'),(29467,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.5834069252014','2020-03-13 04:59:18'),(29468,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.2389171123505','2020-03-13 04:59:18'),(29469,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.5023350715637','2020-03-13 04:59:18'),(29470,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.4826109409332','2020-03-13 04:59:18'),(29471,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'384\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.012532949447632','2020-03-13 04:59:18'),(29472,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'384\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01953911781311','2020-03-13 04:59:18'),(29473,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00089287757873535','2020-03-13 04:59:18'),(29474,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.012587070465088','2020-03-13 04:59:18'),(29475,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00045394897460938','2020-03-13 04:59:18'),(29476,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023603439331055','2020-03-13 04:59:18'),(29477,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022006034851074','2020-03-13 04:59:18'),(29478,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022006034851074','2020-03-13 04:59:18'),(29479,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021576881408691','2020-03-13 04:59:18'),(29480,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021696090698242','2020-03-13 04:59:18'),(29481,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021696090698242','2020-03-13 04:59:18'),(29482,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021481513977051','2020-03-13 04:59:18'),(29483,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021600723266602','2020-03-13 04:59:18'),(29484,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021600723266602','2020-03-13 04:59:18'),(29485,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021505355834961','2020-03-13 04:59:18'),(29486,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021696090698242','2020-03-13 04:59:18'),(29487,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021600723266602','2020-03-13 04:59:18'),(29488,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0041189193725586','2020-03-13 04:59:19'),(29489,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013649463653564','2020-03-13 04:59:19'),(29490,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0040509700775146','2020-03-13 04:59:19'),(29491,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012061595916748','2020-03-13 04:59:19'),(29492,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0040960311889648','2020-03-13 04:59:19'),(29493,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010371208190918','2020-03-13 04:59:19'),(29494,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT *\nFROM `view__search`\nWHERE crawl_text like  \"%rizq%\"\nOR department like  \"%rizq%\"\nOR customerName like  \"%rizq%\"\nOR description like  \"%rizq%\"\nOR crawl_text like  \"%educare%\"\nOR department like  \"%educare%\"\nOR customerName like  \"%educare%\"\nOR description like  \"%educare%\"\nORDER BY `jobID` DESC','http://salihin.noip.me/mgs/search/result','0.12485098838806','2020-03-13 05:00:36'),(29495,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/search/result','0.017168998718262','2020-03-13 05:00:36'),(29496,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/search/result','0.00066804885864258','2020-03-13 05:00:36'),(29497,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00034403800964355','2020-03-13 05:00:36'),(29498,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.0003349781036377','2020-03-13 05:00:36'),(29499,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00034189224243164','2020-03-13 05:00:36'),(29500,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00032782554626465','2020-03-13 05:00:36'),(29501,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.0003209114074707','2020-03-13 05:00:36'),(29502,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033402442932129','2020-03-13 05:00:36'),(29503,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033402442932129','2020-03-13 05:00:36'),(29504,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033402442932129','2020-03-13 05:00:36'),(29505,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033116340637207','2020-03-13 05:00:36'),(29506,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033307075500488','2020-03-13 05:00:36'),(29507,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033307075500488','2020-03-13 05:00:36'),(29508,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00033092498779297','2020-03-13 05:00:36'),(29509,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/search/result','0.0043509006500244','2020-03-13 05:00:36'),(29510,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/search/result','0.0011210441589355','2020-03-13 05:00:36'),(29511,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/search/result','0.0043120384216309','2020-03-13 05:00:36'),(29512,384,'Nur Adriana Binti Ab Aziz','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/search/result','0.0011100769042969','2020-03-13 05:00:36'),(29513,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00067496299743652','2020-03-13 05:25:33'),(29514,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0084719657897949','2020-03-13 05:25:33'),(29515,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00050711631774902','2020-03-13 05:25:33'),(29516,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0061659812927246','2020-03-13 05:25:33'),(29517,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00066208839416504','2020-03-13 05:25:33'),(29518,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.010146141052246','2020-03-13 05:25:33'),(29519,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00063800811767578','2020-03-13 05:25:33'),(29520,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0077509880065918','2020-03-13 05:25:33'),(29521,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00059700012207031','2020-03-13 05:25:33'),(29522,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.012835025787354','2020-03-13 05:25:33'),(29523,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nWHERE `b`.`name` = \'Partner_Office\'\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0021309852600098','2020-03-13 05:25:33'),(29524,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.041412115097046','2020-03-13 05:25:33'),(29525,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.010950088500977','2020-03-13 05:25:33'),(29526,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id` as `userID`, `a`.`name`, `a`.`staff_id` as `staffID`, `a`.`department_id` as `deptId`, `b`.*, `c`.`email`\nFROM `user__employment_detail` `a`\nLEFT OUTER JOIN `view__count_job_by_user` `b` ON `b`.`staff_id` = `a`.`user_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nWHERE `a`.`is_delete` = 0\nAND a.department_id IN((select id from company__department where name = \"Partner Office\"))\nORDER BY `c`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.39453792572021','2020-03-13 05:25:33'),(29527,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00035214424133301','2020-03-13 05:25:33'),(29528,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`is_pending`, `b`.`ID` as `picID`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, c.name) as customerName, `e`.`name` as `departmentName`, `f`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT OUTER JOIN job__pic b ON a.ID = b.job_id and b.is_delete =0\nLEFT JOIN customer c ON a.customerID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__department e ON a.departmentID =  e.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nLEFT JOIN job__pic g ON g.job_id = a.ID\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `b`.`ID` IS NULL\nAND `a`.`is_delete` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`ID` desc','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0023949146270752','2020-03-13 05:25:33'),(29529,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0002741813659668','2020-03-13 05:25:33'),(29530,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` IN(1, 2)\nAND `a`.`is_pending` = 1\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0034530162811279','2020-03-13 05:25:33'),(29531,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'235\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.017945766448975','2020-03-13 05:25:33'),(29532,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00082612037658691','2020-03-13 05:25:33'),(29533,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00079011917114258','2020-03-13 05:25:33'),(29534,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0002899169921875','2020-03-13 05:25:33'),(29535,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00023698806762695','2020-03-13 05:25:33'),(29536,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00025200843811035','2020-03-13 05:25:33'),(29537,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00027298927307129','2020-03-13 05:25:33'),(29538,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00034117698669434','2020-03-13 05:25:33'),(29539,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00029301643371582','2020-03-13 05:25:33'),(29540,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00029802322387695','2020-03-13 05:25:33'),(29541,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00030899047851562','2020-03-13 05:25:33'),(29542,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00024008750915527','2020-03-13 05:25:33'),(29543,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00026988983154297','2020-03-13 05:25:33'),(29544,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00032711029052734','2020-03-13 05:25:34'),(29545,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0052719116210938','2020-03-13 05:25:34'),(29546,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0013940334320068','2020-03-13 05:25:34'),(29547,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0050230026245117','2020-03-13 05:25:34'),(29548,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.093728065490723','2020-03-13 05:25:34'),(29549,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9http:\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00087690353393555','2020-03-13 05:25:35'),(29550,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0007781982421875','2020-03-13 05:25:35'),(29551,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00068783760070801','2020-03-13 05:25:35'),(29552,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00063014030456543','2020-03-13 05:25:35'),(29553,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010750293731689','2020-03-13 05:25:35'),(29554,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010769367218018','2020-03-13 05:25:35'),(29555,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00059199333190918','2020-03-13 05:25:35'),(29556,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.19917392730713','2020-03-13 05:25:35'),(29557,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'724\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00077509880065918','2020-03-13 05:25:35'),(29558,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0009610652923584','2020-03-13 05:25:35'),(29559,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.21445989608765','2020-03-13 05:25:35'),(29560,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0011310577392578','2020-03-13 05:25:35'),(29561,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(724,jobID)','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.29181790351868','2020-03-13 05:25:35'),(29562,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00084209442138672','2020-03-13 05:25:35'),(29563,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.15948009490967','2020-03-13 05:25:35'),(29564,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00062203407287598','2020-03-13 05:25:35'),(29565,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(724,jobID)','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.169517993927','2020-03-13 05:25:35'),(29566,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0008080005645752','2020-03-13 05:25:35'),(29567,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.11679196357727','2020-03-13 05:25:35'),(29568,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00046706199645996','2020-03-13 05:25:35'),(29569,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'235\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.010795116424561','2020-03-13 05:25:35'),(29570,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00044894218444824','2020-03-13 05:25:35'),(29571,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00018501281738281','2020-03-13 05:25:36'),(29572,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00016999244689941','2020-03-13 05:25:36'),(29573,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00017690658569336','2020-03-13 05:25:36'),(29574,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00026893615722656','2020-03-13 05:25:36'),(29575,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00026893615722656','2020-03-13 05:25:36'),(29576,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00020718574523926','2020-03-13 05:25:36'),(29577,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00023293495178223','2020-03-13 05:25:36'),(29578,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00021910667419434','2020-03-13 05:25:36'),(29579,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00018000602722168','2020-03-13 05:25:36'),(29580,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00025010108947754','2020-03-13 05:25:36'),(29581,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00017809867858887','2020-03-13 05:25:36'),(29582,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00018906593322754','2020-03-13 05:25:36'),(29583,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0034289360046387','2020-03-13 05:25:36'),(29584,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00079798698425293','2020-03-13 05:25:36'),(29585,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0027790069580078','2020-03-13 05:25:36'),(29586,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0007789134979248','2020-03-13 05:25:36'),(29587,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0041379928588867','2020-03-13 05:25:36'),(29588,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0011680126190186','2020-03-13 05:25:36'),(29589,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00090408325195312','2020-03-13 05:25:36'),(29590,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9http:\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00075006484985352','2020-03-13 05:25:38'),(29591,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010280609130859','2020-03-13 05:25:38'),(29592,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00089001655578613','2020-03-13 05:25:38'),(29593,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00074195861816406','2020-03-13 05:25:38'),(29594,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.001384973526001','2020-03-13 05:25:38'),(29595,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010089874267578','2020-03-13 05:25:38'),(29596,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00047397613525391','2020-03-13 05:25:38'),(29597,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.20291590690613','2020-03-13 05:25:38'),(29598,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'724\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00083398818969727','2020-03-13 05:25:38'),(29599,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.001060962677002','2020-03-13 05:25:38'),(29600,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.19074082374573','2020-03-13 05:25:38'),(29601,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0008699893951416','2020-03-13 05:25:38'),(29602,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(724,jobID)','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.26637887954712','2020-03-13 05:25:38'),(29603,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0013220310211182','2020-03-13 05:25:38'),(29604,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.19456100463867','2020-03-13 05:25:38'),(29605,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00082492828369141','2020-03-13 05:25:38'),(29606,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(724,jobID)','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.25943088531494','2020-03-13 05:25:38'),(29607,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0009760856628418','2020-03-13 05:25:38'),(29608,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.16744184494019','2020-03-13 05:25:38'),(29609,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00067901611328125','2020-03-13 05:25:38'),(29610,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'235\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.015098094940186','2020-03-13 05:25:38'),(29611,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00058197975158691','2020-03-13 05:25:38'),(29612,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00029802322387695','2020-03-13 05:25:38'),(29613,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00026607513427734','2020-03-13 05:25:38'),(29614,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00028300285339355','2020-03-13 05:25:38'),(29615,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.000244140625','2020-03-13 05:25:38'),(29616,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00023984909057617','2020-03-13 05:25:38'),(29617,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00028395652770996','2020-03-13 05:25:38'),(29618,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00026702880859375','2020-03-13 05:25:38'),(29619,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00023794174194336','2020-03-13 05:25:38'),(29620,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00028300285339355','2020-03-13 05:25:38'),(29621,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00023579597473145','2020-03-13 05:25:38'),(29622,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00028300285339355','2020-03-13 05:25:38'),(29623,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00026392936706543','2020-03-13 05:25:38'),(29624,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0060861110687256','2020-03-13 05:25:38'),(29625,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0014340877532959','2020-03-13 05:25:38'),(29626,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.005450963973999','2020-03-13 05:25:38'),(29627,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0013542175292969','2020-03-13 05:25:38'),(29628,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0064928531646729','2020-03-13 05:25:38'),(29629,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0017521381378174','2020-03-13 05:25:39'),(29630,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010769367218018','2020-03-13 05:25:39'),(29631,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9http:\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00087285041809082','2020-03-13 05:25:40'),(29632,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010290145874023','2020-03-13 05:25:40'),(29633,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00089597702026367','2020-03-13 05:25:40'),(29634,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00075817108154297','2020-03-13 05:25:40'),(29635,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0013768672943115','2020-03-13 05:25:40'),(29636,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0011389255523682','2020-03-13 05:25:40'),(29637,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00065302848815918','2020-03-13 05:25:40'),(29638,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.21546196937561','2020-03-13 05:25:40'),(29639,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'724\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00094199180603027','2020-03-13 05:25:40'),(29640,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0012178421020508','2020-03-13 05:25:40'),(29641,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.20319485664368','2020-03-13 05:25:41'),(29642,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00071001052856445','2020-03-13 05:25:41'),(29643,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(724,jobID)','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.29154896736145','2020-03-13 05:25:41'),(29644,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0010769367218018','2020-03-13 05:25:41'),(29645,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.22006511688232','2020-03-13 05:25:41'),(29646,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00088191032409668','2020-03-13 05:25:41'),(29647,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(724,jobID)','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.271977186203','2020-03-13 05:25:41'),(29648,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'724\'','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0014560222625732','2020-03-13 05:25:41'),(29649,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.2143919467926','2020-03-13 05:25:41'),(29650,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'724\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00090289115905762','2020-03-13 05:25:41'),(29651,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'235\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.019964933395386','2020-03-13 05:25:41'),(29652,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00093603134155273','2020-03-13 05:25:41'),(29653,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00040102005004883','2020-03-13 05:25:41'),(29654,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00041913986206055','2020-03-13 05:25:41'),(29655,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00040912628173828','2020-03-13 05:25:41'),(29656,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00042295455932617','2020-03-13 05:25:41'),(29657,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00033402442932129','2020-03-13 05:25:41'),(29658,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00036501884460449','2020-03-13 05:25:41'),(29659,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00039386749267578','2020-03-13 05:25:41'),(29660,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00041604042053223','2020-03-13 05:25:41'),(29661,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00030994415283203','2020-03-13 05:25:41'),(29662,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00032210350036621','2020-03-13 05:25:41'),(29663,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0003209114074707','2020-03-13 05:25:41'),(29664,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00033807754516602','2020-03-13 05:25:41'),(29665,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0066499710083008','2020-03-13 05:25:41'),(29666,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0013730525970459','2020-03-13 05:25:41'),(29667,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0060019493103027','2020-03-13 05:25:41'),(29668,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.001378059387207','2020-03-13 05:25:41'),(29669,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0053830146789551','2020-03-13 05:25:41'),(29670,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.0013701915740967','2020-03-13 05:25:41'),(29671,235,'Muhammad Danail Haikal bin Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/724/9http:/salihin.noip.me/mgs/projects/job/724/9','0.00081706047058105','2020-03-13 05:25:41'),(29672,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 378','http://salihin.noip.me/mgs/login/setSession','0.00048613548278809','2020-03-13 06:44:20'),(29673,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00063109397888184','2020-03-13 06:44:32'),(29674,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.02017879486084','2020-03-13 06:44:33'),(29675,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00094199180603027','2020-03-13 06:44:33'),(29676,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017497062683105','2020-03-13 06:44:33'),(29677,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00076985359191895','2020-03-13 06:44:33'),(29678,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010384082794189','2020-03-13 06:44:33'),(29679,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00067710876464844','2020-03-13 06:44:33'),(29680,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.006619930267334','2020-03-13 06:44:33'),(29681,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00052809715270996','2020-03-13 06:44:33'),(29682,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0082459449768066','2020-03-13 06:44:33'),(29683,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.034857988357544','2020-03-13 06:44:33'),(29684,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0084660053253174','2020-03-13 06:44:33'),(29685,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051751136779785','2020-03-13 06:44:33'),(29686,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.065003156661987','2020-03-13 06:44:33'),(29687,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.069790124893188','2020-03-13 06:44:33'),(29688,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0140380859375','2020-03-13 06:44:33'),(29689,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026030540466309','2020-03-13 06:44:33'),(29690,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.013990879058838','2020-03-13 06:44:33'),(29691,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026180744171143','2020-03-13 06:44:33'),(29692,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.3053109645844','2020-03-13 06:44:33'),(29693,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.489520072937','2020-03-13 06:44:33'),(29694,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.6263089179993','2020-03-13 06:44:33'),(29695,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.8232161998749','2020-03-13 06:44:33'),(29696,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'378\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.018301010131836','2020-03-13 06:44:33'),(29697,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'378\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.018090009689331','2020-03-13 06:44:33'),(29698,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00095009803771973','2020-03-13 06:44:33'),(29699,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'378\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.017651081085205','2020-03-13 06:44:33'),(29700,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00064516067504883','2020-03-13 06:44:33'),(29701,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033903121948242','2020-03-13 06:44:33'),(29702,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031399726867676','2020-03-13 06:44:33'),(29703,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031113624572754','2020-03-13 06:44:33'),(29704,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030994415283203','2020-03-13 06:44:33'),(29705,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030803680419922','2020-03-13 06:44:33'),(29706,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030612945556641','2020-03-13 06:44:33'),(29707,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003058910369873','2020-03-13 06:44:33'),(29708,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030612945556641','2020-03-13 06:44:33'),(29709,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033998489379883','2020-03-13 06:44:33'),(29710,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033903121948242','2020-03-13 06:44:33'),(29711,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033807754516602','2020-03-13 06:44:33'),(29712,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034403800964355','2020-03-13 06:44:33'),(29713,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0045208930969238','2020-03-13 06:44:34'),(29714,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010910034179688','2020-03-13 06:44:34'),(29715,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0041859149932861','2020-03-13 06:44:34'),(29716,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012240409851074','2020-03-13 06:44:34'),(29717,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054101943969727','2020-03-13 06:44:34'),(29718,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012400150299072','2020-03-13 06:44:34'),(29719,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 378','http://salihin.noip.me/mgs/login/setSession','0.00053882598876953','2020-03-13 06:44:34'),(29720,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0059101581573486','2020-03-13 06:44:40'),(29721,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0050110816955566','2020-03-13 06:44:40'),(29722,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0035190582275391','2020-03-13 06:44:40'),(29723,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0043458938598633','2020-03-13 06:44:40'),(29724,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0051579475402832','2020-03-13 06:44:40'),(29725,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0010039806365967','2020-03-13 06:44:40'),(29726,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'378\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019371032714844','2020-03-13 06:44:40'),(29727,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00073695182800293','2020-03-13 06:44:40'),(29728,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041389465332031','2020-03-13 06:44:40'),(29729,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-13 06:44:40'),(29730,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-13 06:44:40'),(29731,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-13 06:44:40'),(29732,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040197372436523','2020-03-13 06:44:40'),(29733,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040197372436523','2020-03-13 06:44:40'),(29734,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-13 06:44:40'),(29735,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-13 06:44:41'),(29736,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-13 06:44:41'),(29737,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-13 06:44:41'),(29738,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-13 06:44:41'),(29739,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040221214294434','2020-03-13 06:44:41'),(29740,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054471492767334','2020-03-13 06:44:41'),(29741,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013680458068848','2020-03-13 06:44:41'),(29742,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053038597106934','2020-03-13 06:44:41'),(29743,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.001288890838623','2020-03-13 06:44:41'),(29744,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 216','http://salihin.noip.me/mgs/login/setSession','0.00047397613525391','2020-03-13 06:53:41'),(29745,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00061202049255371','2020-03-13 06:53:43'),(29746,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.005828857421875','2020-03-13 06:53:43'),(29747,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049090385437012','2020-03-13 06:53:43'),(29748,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.015903949737549','2020-03-13 06:53:44'),(29749,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052189826965332','2020-03-13 06:53:44'),(29750,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0083010196685791','2020-03-13 06:53:44'),(29751,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00054001808166504','2020-03-13 06:53:44'),(29752,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.008497953414917','2020-03-13 06:53:44'),(29753,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00050187110900879','2020-03-13 06:53:44'),(29754,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.011317014694214','2020-03-13 06:53:44'),(29755,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.039911031723022','2020-03-13 06:53:44'),(29756,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0094130039215088','2020-03-13 06:53:44'),(29757,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054512023925781','2020-03-13 06:53:44'),(29758,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.075361967086792','2020-03-13 06:53:44'),(29759,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.07729697227478','2020-03-13 06:53:44'),(29760,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014316082000732','2020-03-13 06:53:44'),(29761,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.002763032913208','2020-03-13 06:53:44'),(29762,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014446973800659','2020-03-13 06:53:44'),(29763,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0029261112213135','2020-03-13 06:53:44'),(29764,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.67695307731628','2020-03-13 06:53:44'),(29765,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.23232293128967','2020-03-13 06:53:44'),(29766,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.51898694038391','2020-03-13 06:53:44'),(29767,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.17884421348572','2020-03-13 06:53:44'),(29768,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0019569396972656','2020-03-13 06:53:44'),(29769,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0018589496612549','2020-03-13 06:53:44'),(29770,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00081396102905273','2020-03-13 06:53:44'),(29771,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.025381803512573','2020-03-13 06:53:44'),(29772,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012249946594238','2020-03-13 06:53:44'),(29773,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039982795715332','2020-03-13 06:53:44'),(29774,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-13 06:53:44'),(29775,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038886070251465','2020-03-13 06:53:44'),(29776,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-13 06:53:44'),(29777,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038814544677734','2020-03-13 06:53:44'),(29778,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037717819213867','2020-03-13 06:53:44'),(29779,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-13 06:53:44'),(29780,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-13 06:53:44'),(29781,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-13 06:53:44'),(29782,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038886070251465','2020-03-13 06:53:44'),(29783,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038886070251465','2020-03-13 06:53:44'),(29784,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038790702819824','2020-03-13 06:53:44'),(29785,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0045139789581299','2020-03-13 06:53:44'),(29786,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011579990386963','2020-03-13 06:53:44'),(29787,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0038750171661377','2020-03-13 06:53:44'),(29788,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010209083557129','2020-03-13 06:53:44'),(29789,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0039160251617432','2020-03-13 06:53:44'),(29790,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010228157043457','2020-03-13 06:53:44'),(29791,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.005742073059082','2020-03-13 06:53:53'),(29792,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0069811344146729','2020-03-13 06:53:53'),(29793,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0055711269378662','2020-03-13 06:53:53'),(29794,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0050840377807617','2020-03-13 06:53:53'),(29795,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0064740180969238','2020-03-13 06:53:53'),(29796,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013799667358398','2020-03-13 06:53:53'),(29797,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.024385929107666','2020-03-13 06:53:53'),(29798,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.0012311935424805','2020-03-13 06:53:53'),(29799,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-13 06:53:53'),(29800,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039887428283691','2020-03-13 06:53:53'),(29801,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039887428283691','2020-03-13 06:53:53'),(29802,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-13 06:53:53'),(29803,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-13 06:53:53'),(29804,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-13 06:53:53'),(29805,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039911270141602','2020-03-13 06:53:53'),(29806,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-13 06:53:53'),(29807,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-13 06:53:53'),(29808,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-13 06:53:53'),(29809,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-13 06:53:53'),(29810,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039982795715332','2020-03-13 06:53:53'),(29811,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0050590038299561','2020-03-13 06:53:53'),(29812,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.001291036605835','2020-03-13 06:53:53'),(29813,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0049641132354736','2020-03-13 06:53:53'),(29814,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.001244068145752','2020-03-13 06:53:53'),(29815,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00057697296142578','2020-03-13 06:54:55'),(29816,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0082309246063232','2020-03-13 06:54:55'),(29817,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00048112869262695','2020-03-13 06:54:55'),(29818,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0060849189758301','2020-03-13 06:54:55'),(29819,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049805641174316','2020-03-13 06:54:55'),(29820,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.006342887878418','2020-03-13 06:54:55'),(29821,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052309036254883','2020-03-13 06:54:55'),(29822,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0052249431610107','2020-03-13 06:54:55'),(29823,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046992301940918','2020-03-13 06:54:55'),(29824,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0086829662322998','2020-03-13 06:54:55'),(29825,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.035675048828125','2020-03-13 06:54:55'),(29826,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0091421604156494','2020-03-13 06:54:55'),(29827,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054528713226318','2020-03-13 06:54:55'),(29828,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078077077865601','2020-03-13 06:54:55'),(29829,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.07526683807373','2020-03-13 06:54:55'),(29830,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012365818023682','2020-03-13 06:54:55'),(29831,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.009739875793457','2020-03-13 06:54:55'),(29832,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012797117233276','2020-03-13 06:54:55'),(29833,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0024929046630859','2020-03-13 06:54:55'),(29834,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.67682313919067','2020-03-13 06:54:55'),(29835,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.22950911521912','2020-03-13 06:54:55'),(29836,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.51541090011597','2020-03-13 06:54:55'),(29837,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.18278098106384','2020-03-13 06:54:55'),(29838,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0018069744110107','2020-03-13 06:54:55'),(29839,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0021040439605713','2020-03-13 06:54:55'),(29840,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00089311599731445','2020-03-13 06:54:55'),(29841,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.025025844573975','2020-03-13 06:54:55'),(29842,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012209415435791','2020-03-13 06:54:55'),(29843,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040292739868164','2020-03-13 06:54:55'),(29844,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038909912109375','2020-03-13 06:54:55'),(29845,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037813186645508','2020-03-13 06:54:55'),(29846,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041389465332031','2020-03-13 06:54:56'),(29847,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039410591125488','2020-03-13 06:54:56'),(29848,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038695335388184','2020-03-13 06:54:56'),(29849,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038790702819824','2020-03-13 06:54:56'),(29850,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038790702819824','2020-03-13 06:54:56'),(29851,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038886070251465','2020-03-13 06:54:56'),(29852,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038814544677734','2020-03-13 06:54:56'),(29853,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037598609924316','2020-03-13 06:54:56'),(29854,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038981437683105','2020-03-13 06:54:56'),(29855,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0057320594787598','2020-03-13 06:54:56'),(29856,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013749599456787','2020-03-13 06:54:56'),(29857,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0044429302215576','2020-03-13 06:54:56'),(29858,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011410713195801','2020-03-13 06:54:56'),(29859,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050618648529053','2020-03-13 06:54:56'),(29860,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013201236724854','2020-03-13 06:54:56'),(29861,216,'Mutalib Anifowose','175.138.91.123','UPDATE','UPDATE `notification` SET `is_read` = 1\nWHERE `ID` = \'23179\'','http://salihin.noip.me/mgs/Notification/updateReadNotification','0.020608186721802','2020-03-13 06:57:35'),(29862,216,'Mutalib Anifowose','175.138.91.123','UPDATE','UPDATE `notification` SET `is_read` = 1\nWHERE `ID` = \'23179\'','http://salihin.noip.me/mgs/Notification/updateReadNotification','0.019660949707031','2020-03-13 06:58:08'),(29863,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00058102607727051','2020-03-13 07:02:15'),(29864,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00077605247497559','2020-03-13 07:02:15'),(29865,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00068402290344238','2020-03-13 07:02:15'),(29866,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00057697296142578','2020-03-13 07:02:15'),(29867,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010731220245361','2020-03-13 07:02:15'),(29868,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00085186958312988','2020-03-13 07:02:15'),(29869,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00047993659973145','2020-03-13 07:02:15'),(29870,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.17904686927795','2020-03-13 07:02:16'),(29871,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1377\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00074505805969238','2020-03-13 07:02:16'),(29872,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00092697143554688','2020-03-13 07:02:16'),(29873,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0016748905181885','2020-03-13 07:02:16'),(29874,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00071310997009277','2020-03-13 07:02:16'),(29875,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.2691490650177','2020-03-13 07:02:16'),(29876,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00098204612731934','2020-03-13 07:02:16'),(29877,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0018620491027832','2020-03-13 07:02:16'),(29878,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00069999694824219','2020-03-13 07:02:16'),(29879,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.23716402053833','2020-03-13 07:02:16'),(29880,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00096297264099121','2020-03-13 07:02:16'),(29881,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0016448497772217','2020-03-13 07:02:16'),(29882,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00064802169799805','2020-03-13 07:02:16'),(29883,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.02252197265625','2020-03-13 07:02:16'),(29884,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010690689086914','2020-03-13 07:02:16'),(29885,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00036787986755371','2020-03-13 07:02:16'),(29886,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00036501884460449','2020-03-13 07:02:16'),(29887,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0003659725189209','2020-03-13 07:02:16'),(29888,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0003659725189209','2020-03-13 07:02:16'),(29889,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00036001205444336','2020-03-13 07:02:16'),(29890,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0003659725189209','2020-03-13 07:02:16'),(29891,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00036215782165527','2020-03-13 07:02:16'),(29892,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00036501884460449','2020-03-13 07:02:16'),(29893,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00036191940307617','2020-03-13 07:02:16'),(29894,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0003669261932373','2020-03-13 07:02:16'),(29895,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00039100646972656','2020-03-13 07:02:16'),(29896,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00039792060852051','2020-03-13 07:02:16'),(29897,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0054600238800049','2020-03-13 07:02:16'),(29898,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0015549659729004','2020-03-13 07:02:16'),(29899,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0057981014251709','2020-03-13 07:02:16'),(29900,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0014870166778564','2020-03-13 07:02:16'),(29901,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0054161548614502','2020-03-13 07:02:16'),(29902,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0012691020965576','2020-03-13 07:02:16'),(29903,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00091099739074707','2020-03-13 07:02:16'),(29904,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 328','http://salihin.noip.me/mgs/login/setSession','0.00050711631774902','2020-03-13 07:17:49'),(29905,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00054502487182617','2020-03-13 07:17:59'),(29906,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.019510984420776','2020-03-13 07:17:59'),(29907,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010559558868408','2020-03-13 07:17:59'),(29908,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017462968826294','2020-03-13 07:17:59'),(29909,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00081706047058105','2020-03-13 07:17:59'),(29910,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01287317276001','2020-03-13 07:18:00'),(29911,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00069379806518555','2020-03-13 07:18:00'),(29912,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0067310333251953','2020-03-13 07:18:00'),(29913,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00055098533630371','2020-03-13 07:18:00'),(29914,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0068650245666504','2020-03-13 07:18:00'),(29915,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.03521203994751','2020-03-13 07:18:00'),(29916,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0086359977722168','2020-03-13 07:18:00'),(29917,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053238868713379','2020-03-13 07:18:00'),(29918,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.068859100341797','2020-03-13 07:18:00'),(29919,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.07312798500061','2020-03-13 07:18:00'),(29920,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.01203989982605','2020-03-13 07:18:00'),(29921,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0022068023681641','2020-03-13 07:18:00'),(29922,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012021064758301','2020-03-13 07:18:00'),(29923,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0023529529571533','2020-03-13 07:18:00'),(29924,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.9646298885345','2020-03-13 07:18:00'),(29925,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','1.7815170288086','2020-03-13 07:18:00'),(29926,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.3683571815491','2020-03-13 07:18:00'),(29927,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.4721510410309','2020-03-13 07:18:00'),(29928,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'328\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.013919115066528','2020-03-13 07:18:00'),(29929,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'328\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.014194965362549','2020-03-13 07:18:00'),(29930,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00070500373840332','2020-03-13 07:18:00'),(29931,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'328\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010191917419434','2020-03-13 07:18:00'),(29932,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00045394897460938','2020-03-13 07:18:01'),(29933,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024104118347168','2020-03-13 07:18:01'),(29934,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0002291202545166','2020-03-13 07:18:01'),(29935,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0002288818359375','2020-03-13 07:18:01'),(29936,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023698806762695','2020-03-13 07:18:01'),(29937,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022697448730469','2020-03-13 07:18:01'),(29938,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022792816162109','2020-03-13 07:18:01'),(29939,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00019598007202148','2020-03-13 07:18:01'),(29940,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018596649169922','2020-03-13 07:18:01'),(29941,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018095970153809','2020-03-13 07:18:01'),(29942,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018692016601562','2020-03-13 07:18:01'),(29943,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018596649169922','2020-03-13 07:18:01'),(29944,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018620491027832','2020-03-13 07:18:01'),(29945,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005634069442749','2020-03-13 07:18:01'),(29946,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0014050006866455','2020-03-13 07:18:01'),(29947,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054309368133545','2020-03-13 07:18:01'),(29948,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013670921325684','2020-03-13 07:18:01'),(29949,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0056030750274658','2020-03-13 07:18:01'),(29950,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0014359951019287','2020-03-13 07:18:01'),(29951,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nWHERE `service_id` = \'9\'\nORDER BY `service_id`','http://salihin.noip.me/mgs/projects/getJob','0.00075507164001465','2020-03-13 07:18:35'),(29952,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00060701370239258','2020-03-13 07:18:51'),(29953,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00080585479736328','2020-03-13 07:18:51'),(29954,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00066900253295898','2020-03-13 07:18:51'),(29955,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00052785873413086','2020-03-13 07:18:51'),(29956,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010190010070801','2020-03-13 07:18:51'),(29957,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00081706047058105','2020-03-13 07:18:51'),(29958,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00048112869262695','2020-03-13 07:18:51'),(29959,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.17460989952087','2020-03-13 07:18:51'),(29960,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1377\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00067496299743652','2020-03-13 07:18:51'),(29961,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00082278251647949','2020-03-13 07:18:51'),(29962,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0016090869903564','2020-03-13 07:18:51'),(29963,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00059103965759277','2020-03-13 07:18:51'),(29964,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.27714419364929','2020-03-13 07:18:51'),(29965,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00099611282348633','2020-03-13 07:18:51'),(29966,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.001716136932373','2020-03-13 07:18:51'),(29967,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00069212913513184','2020-03-13 07:18:51'),(29968,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.22570991516113','2020-03-13 07:18:51'),(29969,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010890960693359','2020-03-13 07:18:51'),(29970,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0018320083618164','2020-03-13 07:18:51'),(29971,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00077390670776367','2020-03-13 07:18:51'),(29972,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.025352954864502','2020-03-13 07:18:51'),(29973,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0012969970703125','2020-03-13 07:18:51'),(29974,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00038790702819824','2020-03-13 07:18:51'),(29975,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040316581726074','2020-03-13 07:18:52'),(29976,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040793418884277','2020-03-13 07:18:52'),(29977,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040102005004883','2020-03-13 07:18:52'),(29978,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040912628173828','2020-03-13 07:18:52'),(29979,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040292739868164','2020-03-13 07:18:52'),(29980,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040197372436523','2020-03-13 07:18:52'),(29981,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00038981437683105','2020-03-13 07:18:52'),(29982,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00035810470581055','2020-03-13 07:18:52'),(29983,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00035405158996582','2020-03-13 07:18:52'),(29984,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00034999847412109','2020-03-13 07:18:52'),(29985,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00034999847412109','2020-03-13 07:18:52'),(29986,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.005497932434082','2020-03-13 07:18:52'),(29987,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0013930797576904','2020-03-13 07:18:52'),(29988,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0053808689117432','2020-03-13 07:18:52'),(29989,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0014050006866455','2020-03-13 07:18:52'),(29990,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0053970813751221','2020-03-13 07:18:52'),(29991,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0011749267578125','2020-03-13 07:18:52'),(29992,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00075101852416992','2020-03-13 07:18:52'),(29993,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00058317184448242','2020-03-13 07:19:18'),(29994,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00076508522033691','2020-03-13 07:19:18'),(29995,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00067520141601562','2020-03-13 07:19:18'),(29996,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00058102607727051','2020-03-13 07:19:18'),(29997,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010550022125244','2020-03-13 07:19:18'),(29998,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00084400177001953','2020-03-13 07:19:18'),(29999,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00047802925109863','2020-03-13 07:19:18'),(30000,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.18467807769775','2020-03-13 07:19:18'),(30001,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1377\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00084304809570312','2020-03-13 07:19:18'),(30002,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00092601776123047','2020-03-13 07:19:18'),(30003,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.17309999465942','2020-03-13 07:19:18'),(30004,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00075697898864746','2020-03-13 07:19:18'),(30005,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.2306079864502','2020-03-13 07:19:18'),(30006,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010619163513184','2020-03-13 07:19:18'),(30007,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18446803092957','2020-03-13 07:19:18'),(30008,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00084185600280762','2020-03-13 07:19:18'),(30009,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.23927998542786','2020-03-13 07:19:18'),(30010,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00095891952514648','2020-03-13 07:19:18'),(30011,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.15203404426575','2020-03-13 07:19:18'),(30012,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00089788436889648','2020-03-13 07:19:18'),(30013,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.018583059310913','2020-03-13 07:19:18'),(30014,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010530948638916','2020-03-13 07:19:18'),(30015,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026893615722656','2020-03-13 07:19:18'),(30016,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00024604797363281','2020-03-13 07:19:18'),(30017,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026893615722656','2020-03-13 07:19:18'),(30018,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00025701522827148','2020-03-13 07:19:18'),(30019,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00025200843811035','2020-03-13 07:19:18'),(30020,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00024318695068359','2020-03-13 07:19:19'),(30021,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00024914741516113','2020-03-13 07:19:19'),(30022,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0002129077911377','2020-03-13 07:19:19'),(30023,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0001990795135498','2020-03-13 07:19:19'),(30024,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00019621849060059','2020-03-13 07:19:19'),(30025,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00021600723266602','2020-03-13 07:19:19'),(30026,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00019502639770508','2020-03-13 07:19:19'),(30027,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0045979022979736','2020-03-13 07:19:19'),(30028,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0011608600616455','2020-03-13 07:19:19'),(30029,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.005357027053833','2020-03-13 07:19:19'),(30030,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0012369155883789','2020-03-13 07:19:19'),(30031,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.005277156829834','2020-03-13 07:19:19'),(30032,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0012562274932861','2020-03-13 07:19:19'),(30033,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00085306167602539','2020-03-13 07:19:19'),(30034,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00076913833618164','2020-03-13 07:19:29'),(30035,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00072813034057617','2020-03-13 07:19:29'),(30036,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.0005800724029541','2020-03-13 07:19:29'),(30037,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00048518180847168','2020-03-13 07:19:29'),(30038,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00097393989562988','2020-03-13 07:19:29'),(30039,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00080513954162598','2020-03-13 07:19:29'),(30040,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00037789344787598','2020-03-13 07:19:29'),(30041,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.18145489692688','2020-03-13 07:19:29'),(30042,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1377\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.0007469654083252','2020-03-13 07:19:29'),(30043,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00092697143554688','2020-03-13 07:19:29'),(30044,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18392705917358','2020-03-13 07:19:29'),(30045,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0007929801940918','2020-03-13 07:19:29'),(30046,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.24841499328613','2020-03-13 07:19:29'),(30047,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010688304901123','2020-03-13 07:19:29'),(30048,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18425512313843','2020-03-13 07:19:29'),(30049,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00082206726074219','2020-03-13 07:19:29'),(30050,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.25042700767517','2020-03-13 07:19:29'),(30051,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010581016540527','2020-03-13 07:19:29'),(30052,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18292784690857','2020-03-13 07:19:30'),(30053,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0007171630859375','2020-03-13 07:19:30'),(30054,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.025098085403442','2020-03-13 07:19:30'),(30055,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0013279914855957','2020-03-13 07:19:30'),(30056,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00041699409484863','2020-03-13 07:19:30'),(30057,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040102005004883','2020-03-13 07:19:30'),(30058,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040698051452637','2020-03-13 07:19:30'),(30059,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040006637573242','2020-03-13 07:19:30'),(30060,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040197372436523','2020-03-13 07:19:30'),(30061,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040507316589355','2020-03-13 07:19:30'),(30062,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040316581726074','2020-03-13 07:19:30'),(30063,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00039792060852051','2020-03-13 07:19:30'),(30064,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00042915344238281','2020-03-13 07:19:30'),(30065,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00041794776916504','2020-03-13 07:19:30'),(30066,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00041818618774414','2020-03-13 07:19:30'),(30067,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00042510032653809','2020-03-13 07:19:30'),(30068,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0053670406341553','2020-03-13 07:19:30'),(30069,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0014290809631348','2020-03-13 07:19:30'),(30070,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0053670406341553','2020-03-13 07:19:30'),(30071,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0013120174407959','2020-03-13 07:19:30'),(30072,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0051991939544678','2020-03-13 07:19:30'),(30073,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0012929439544678','2020-03-13 07:19:30'),(30074,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00083708763122559','2020-03-13 07:19:30'),(30075,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00055503845214844','2020-03-13 07:19:54'),(30076,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00070309638977051','2020-03-13 07:19:54'),(30077,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00068902969360352','2020-03-13 07:19:54'),(30078,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00053119659423828','2020-03-13 07:19:54'),(30079,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010890960693359','2020-03-13 07:19:54'),(30080,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0008089542388916','2020-03-13 07:19:54'),(30081,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00041699409484863','2020-03-13 07:19:55'),(30082,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.16766810417175','2020-03-13 07:19:55'),(30083,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1377\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00069594383239746','2020-03-13 07:19:55'),(30084,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00085306167602539','2020-03-13 07:19:55'),(30085,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.17389178276062','2020-03-13 07:19:55'),(30086,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00084590911865234','2020-03-13 07:19:55'),(30087,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.23014307022095','2020-03-13 07:19:55'),(30088,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00098109245300293','2020-03-13 07:19:55'),(30089,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.17041802406311','2020-03-13 07:19:55'),(30090,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.0007472038269043','2020-03-13 07:19:55'),(30091,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.26249098777771','2020-03-13 07:19:55'),(30092,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010800361633301','2020-03-13 07:19:55'),(30093,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18517899513245','2020-03-13 07:19:55'),(30094,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00067019462585449','2020-03-13 07:19:55'),(30095,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.020307779312134','2020-03-13 07:19:55'),(30096,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00097203254699707','2020-03-13 07:19:55'),(30097,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0002899169921875','2020-03-13 07:19:55'),(30098,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026988983154297','2020-03-13 07:19:55'),(30099,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026607513427734','2020-03-13 07:19:55'),(30100,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026416778564453','2020-03-13 07:19:55'),(30101,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026607513427734','2020-03-13 07:19:55'),(30102,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026082992553711','2020-03-13 07:19:55'),(30103,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026106834411621','2020-03-13 07:19:55'),(30104,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026202201843262','2020-03-13 07:19:55'),(30105,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026106834411621','2020-03-13 07:19:55'),(30106,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026106834411621','2020-03-13 07:19:55'),(30107,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026106834411621','2020-03-13 07:19:56'),(30108,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00026106834411621','2020-03-13 07:19:56'),(30109,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0039291381835938','2020-03-13 07:19:56'),(30110,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010490417480469','2020-03-13 07:19:56'),(30111,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0040009021759033','2020-03-13 07:19:56'),(30112,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00098514556884766','2020-03-13 07:19:56'),(30113,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0038788318634033','2020-03-13 07:19:56'),(30114,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010209083557129','2020-03-13 07:19:56'),(30115,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00061798095703125','2020-03-13 07:19:56'),(30116,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00055503845214844','2020-03-13 07:20:06'),(30117,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00076699256896973','2020-03-13 07:20:06'),(30118,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00068211555480957','2020-03-13 07:20:06'),(30119,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00056982040405273','2020-03-13 07:20:06'),(30120,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1377/9','0.001060962677002','2020-03-13 07:20:06'),(30121,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00084996223449707','2020-03-13 07:20:06'),(30122,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00050115585327148','2020-03-13 07:20:06'),(30123,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.18072009086609','2020-03-13 07:20:06'),(30124,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1377\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.00071907043457031','2020-03-13 07:20:06'),(30125,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00088000297546387','2020-03-13 07:20:06'),(30126,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18362808227539','2020-03-13 07:20:06'),(30127,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00078892707824707','2020-03-13 07:20:06'),(30128,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.23472690582275','2020-03-13 07:20:06'),(30129,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.00099802017211914','2020-03-13 07:20:06'),(30130,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.17533493041992','2020-03-13 07:20:06'),(30131,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00084996223449707','2020-03-13 07:20:06'),(30132,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1377,jobID)','http://salihin.noip.me/mgs/projects/job/1377/9','0.24258804321289','2020-03-13 07:20:06'),(30133,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1377\'','http://salihin.noip.me/mgs/projects/job/1377/9','0.0010809898376465','2020-03-13 07:20:06'),(30134,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.18213605880737','2020-03-13 07:20:06'),(30135,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1377\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1377/9','0.00075411796569824','2020-03-13 07:20:06'),(30136,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1377/9','0.023661851882935','2020-03-13 07:20:06'),(30137,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0014820098876953','2020-03-13 07:20:06'),(30138,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00041699409484863','2020-03-13 07:20:06'),(30139,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040102005004883','2020-03-13 07:20:06'),(30140,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040602684020996','2020-03-13 07:20:06'),(30141,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00039887428283691','2020-03-13 07:20:06'),(30142,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040102005004883','2020-03-13 07:20:06'),(30143,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040507316589355','2020-03-13 07:20:06'),(30144,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040006637573242','2020-03-13 07:20:06'),(30145,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00039887428283691','2020-03-13 07:20:07'),(30146,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040411949157715','2020-03-13 07:20:07'),(30147,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00040292739868164','2020-03-13 07:20:07'),(30148,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00035810470581055','2020-03-13 07:20:07'),(30149,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00034904479980469','2020-03-13 07:20:07'),(30150,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0053780078887939','2020-03-13 07:20:07'),(30151,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0014238357543945','2020-03-13 07:20:07'),(30152,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0054318904876709','2020-03-13 07:20:07'),(30153,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0016160011291504','2020-03-13 07:20:07'),(30154,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.005640983581543','2020-03-13 07:20:07'),(30155,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.0015828609466553','2020-03-13 07:20:07'),(30156,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1377/9','0.00094699859619141','2020-03-13 07:20:07'),(30157,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0081009864807129','2020-03-13 07:20:23'),(30158,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0069611072540283','2020-03-13 07:20:23'),(30159,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0052587985992432','2020-03-13 07:20:23'),(30160,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0052170753479004','2020-03-13 07:20:23'),(30161,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.006939172744751','2020-03-13 07:20:23'),(30162,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013928413391113','2020-03-13 07:20:23'),(30163,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.026571989059448','2020-03-13 07:20:23'),(30164,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.0013339519500732','2020-03-13 07:20:23'),(30165,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00042891502380371','2020-03-13 07:20:23'),(30166,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039410591125488','2020-03-13 07:20:23'),(30167,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003960132598877','2020-03-13 07:20:23'),(30168,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041294097900391','2020-03-13 07:20:23'),(30169,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041508674621582','2020-03-13 07:20:24'),(30170,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-13 07:20:24'),(30171,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-13 07:20:24'),(30172,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039291381835938','2020-03-13 07:20:24'),(30173,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-13 07:20:24'),(30174,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003960132598877','2020-03-13 07:20:24'),(30175,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-13 07:20:24'),(30176,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-13 07:20:24'),(30177,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052449703216553','2020-03-13 07:20:24'),(30178,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013959407806396','2020-03-13 07:20:24'),(30179,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0050618648529053','2020-03-13 07:20:24'),(30180,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.001262903213501','2020-03-13 07:20:24'),(30181,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0053031444549561','2020-03-13 07:20:39'),(30182,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0039069652557373','2020-03-13 07:20:39'),(30183,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0045299530029297','2020-03-13 07:20:39'),(30184,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0037992000579834','2020-03-13 07:20:39'),(30185,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0053749084472656','2020-03-13 07:20:39'),(30186,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00098896026611328','2020-03-13 07:20:39'),(30187,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'328\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019460201263428','2020-03-13 07:20:39'),(30188,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.000762939453125','2020-03-13 07:20:39'),(30189,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041604042053223','2020-03-13 07:20:39'),(30190,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-13 07:20:39'),(30191,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041604042053223','2020-03-13 07:20:40'),(30192,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-13 07:20:40'),(30193,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041103363037109','2020-03-13 07:20:40'),(30194,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00042510032653809','2020-03-13 07:20:40'),(30195,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040102005004883','2020-03-13 07:20:40'),(30196,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-13 07:20:40'),(30197,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-13 07:20:40'),(30198,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-13 07:20:40'),(30199,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-13 07:20:40'),(30200,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-13 07:20:40'),(30201,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0055389404296875','2020-03-13 07:20:40'),(30202,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0014710426330566','2020-03-13 07:20:40'),(30203,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0055029392242432','2020-03-13 07:20:40'),(30204,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013289451599121','2020-03-13 07:20:40'),(30205,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 352','http://salihin.noip.me/mgs/login/setSession','0.0004580020904541','2020-03-13 07:46:09'),(30206,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00061798095703125','2020-03-13 07:46:19'),(30207,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.023001909255981','2020-03-13 07:46:19'),(30208,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010437965393066','2020-03-13 07:46:19'),(30209,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017685890197754','2020-03-13 07:46:19'),(30210,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00093507766723633','2020-03-13 07:46:19'),(30211,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.012467861175537','2020-03-13 07:46:20'),(30212,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00069189071655273','2020-03-13 07:46:20'),(30213,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0085670948028564','2020-03-13 07:46:20'),(30214,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00055098533630371','2020-03-13 07:46:20'),(30215,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0070369243621826','2020-03-13 07:46:20'),(30216,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.039134979248047','2020-03-13 07:46:20'),(30217,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0099937915802002','2020-03-13 07:46:20'),(30218,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055909156799316','2020-03-13 07:46:20'),(30219,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.071873903274536','2020-03-13 07:46:20'),(30220,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.063992977142334','2020-03-13 07:46:20'),(30221,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.011667013168335','2020-03-13 07:46:20'),(30222,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0022628307342529','2020-03-13 07:46:20'),(30223,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.011475801467896','2020-03-13 07:46:20'),(30224,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0023689270019531','2020-03-13 07:46:20'),(30225,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.9617750644684','2020-03-13 07:46:20'),(30226,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','1.2984848022461','2020-03-13 07:46:20'),(30227,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.3805088996887','2020-03-13 07:46:20'),(30228,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.6174910068512','2020-03-13 07:46:20'),(30229,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'352\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.017538070678711','2020-03-13 07:46:20'),(30230,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'352\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.015980958938599','2020-03-13 07:46:20'),(30231,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00075292587280273','2020-03-13 07:46:20'),(30232,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'352\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019566059112549','2020-03-13 07:46:20'),(30233,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00069284439086914','2020-03-13 07:46:20'),(30234,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037598609924316','2020-03-13 07:46:20'),(30235,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035190582275391','2020-03-13 07:46:20'),(30236,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034999847412109','2020-03-13 07:46:20'),(30237,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-13 07:46:20'),(30238,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-13 07:46:20'),(30239,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034213066101074','2020-03-13 07:46:20'),(30240,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-13 07:46:20'),(30241,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034403800964355','2020-03-13 07:46:20'),(30242,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034189224243164','2020-03-13 07:46:20'),(30243,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034403800964355','2020-03-13 07:46:20'),(30244,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034213066101074','2020-03-13 07:46:20'),(30245,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034117698669434','2020-03-13 07:46:20'),(30246,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0056178569793701','2020-03-13 07:46:20'),(30247,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0014190673828125','2020-03-13 07:46:20'),(30248,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054309368133545','2020-03-13 07:46:20'),(30249,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0015499591827393','2020-03-13 07:46:20'),(30250,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055050849914551','2020-03-13 07:46:20'),(30251,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013480186462402','2020-03-13 07:46:20'),(30252,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'352\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0056388378143311','2020-03-13 07:46:30'),(30253,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'352\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0038650035858154','2020-03-13 07:46:30'),(30254,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'352\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0039510726928711','2020-03-13 07:46:30'),(30255,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'352\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0045080184936523','2020-03-13 07:46:30'),(30256,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'352\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0039620399475098','2020-03-13 07:46:30'),(30257,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'352\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00090789794921875','2020-03-13 07:46:30'),(30258,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'352\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019643783569336','2020-03-13 07:46:30'),(30259,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00092291831970215','2020-03-13 07:46:30'),(30260,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00060510635375977','2020-03-13 07:46:30'),(30261,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00051999092102051','2020-03-13 07:46:30'),(30262,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-13 07:46:30'),(30263,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034594535827637','2020-03-13 07:46:30'),(30264,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035905838012695','2020-03-13 07:46:30'),(30265,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039291381835938','2020-03-13 07:46:30'),(30266,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032591819763184','2020-03-13 07:46:30'),(30267,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041103363037109','2020-03-13 07:46:30'),(30268,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-13 07:46:30'),(30269,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034809112548828','2020-03-13 07:46:30'),(30270,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032186508178711','2020-03-13 07:46:30'),(30271,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00030088424682617','2020-03-13 07:46:30'),(30272,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053589344024658','2020-03-13 07:46:30'),(30273,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.001331090927124','2020-03-13 07:46:30'),(30274,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052490234375','2020-03-13 07:46:30'),(30275,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0012600421905518','2020-03-13 07:46:30'),(30276,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00054693222045898','2020-03-13 07:46:52'),(30277,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00076794624328613','2020-03-13 07:46:52'),(30278,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1175/8','0.00067901611328125','2020-03-13 07:46:52'),(30279,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00059294700622559','2020-03-13 07:46:52'),(30280,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0010600090026855','2020-03-13 07:46:52'),(30281,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00084805488586426','2020-03-13 07:46:52'),(30282,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00049901008605957','2020-03-13 07:46:52'),(30283,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.18434691429138','2020-03-13 07:46:52'),(30284,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1175\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1175/8','0.00087594985961914','2020-03-13 07:46:52'),(30285,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1175\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00098299980163574','2020-03-13 07:46:52'),(30286,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.18251585960388','2020-03-13 07:46:52'),(30287,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00082802772521973','2020-03-13 07:46:52'),(30288,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1175,jobID)','http://salihin.noip.me/mgs/projects/job/1175/8','0.21400499343872','2020-03-13 07:46:52'),(30289,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1175\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00079917907714844','2020-03-13 07:46:52'),(30290,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.17406511306763','2020-03-13 07:46:52'),(30291,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00080299377441406','2020-03-13 07:46:52'),(30292,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1176\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00095915794372559','2020-03-13 07:46:52'),(30293,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1176\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.0018160343170166','2020-03-13 07:46:52'),(30294,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1176\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00071501731872559','2020-03-13 07:46:52'),(30295,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1175,jobID)','http://salihin.noip.me/mgs/projects/job/1175/8','0.22923302650452','2020-03-13 07:46:52'),(30296,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1175\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00092506408691406','2020-03-13 07:46:52'),(30297,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.14624309539795','2020-03-13 07:46:52'),(30298,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1175\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00072288513183594','2020-03-13 07:46:52'),(30299,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1176\'','http://salihin.noip.me/mgs/projects/job/1175/8','0.00098896026611328','2020-03-13 07:46:52'),(30300,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1176\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.0018270015716553','2020-03-13 07:46:52'),(30301,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1176\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1175/8','0.00072503089904785','2020-03-13 07:46:52'),(30302,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'352\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1175/8','0.019174098968506','2020-03-13 07:46:52'),(30303,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00072097778320312','2020-03-13 07:46:52'),(30304,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00040888786315918','2020-03-13 07:46:52'),(30305,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00040316581726074','2020-03-13 07:46:52'),(30306,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00039792060852051','2020-03-13 07:46:52'),(30307,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00039911270141602','2020-03-13 07:46:52'),(30308,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00040817260742188','2020-03-13 07:46:52'),(30309,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00040006637573242','2020-03-13 07:46:52'),(30310,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00039911270141602','2020-03-13 07:46:52'),(30311,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0003969669342041','2020-03-13 07:46:52'),(30312,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0003969669342041','2020-03-13 07:46:52'),(30313,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00040102005004883','2020-03-13 07:46:52'),(30314,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00039815902709961','2020-03-13 07:46:53'),(30315,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1175/8','0.00039887428283691','2020-03-13 07:46:53'),(30316,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0053250789642334','2020-03-13 07:46:53'),(30317,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0014030933380127','2020-03-13 07:46:53'),(30318,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0051589012145996','2020-03-13 07:46:53'),(30319,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.001248836517334','2020-03-13 07:46:53'),(30320,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0052099227905273','2020-03-13 07:46:53'),(30321,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0012619495391846','2020-03-13 07:46:53'),(30322,352,'Mohamad Mustaqim Rabani Bin Rahman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1175/8','0.0008549690246582','2020-03-13 07:46:53'),(30323,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00058388710021973','2020-03-13 08:24:29'),(30324,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0069539546966553','2020-03-13 08:24:29'),(30325,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0004880428314209','2020-03-13 08:24:29'),(30326,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.007220983505249','2020-03-13 08:24:29'),(30327,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00050497055053711','2020-03-13 08:24:29'),(30328,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0069999694824219','2020-03-13 08:24:29'),(30329,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00053906440734863','2020-03-13 08:24:29'),(30330,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0051000118255615','2020-03-13 08:24:29'),(30331,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00047588348388672','2020-03-13 08:24:29'),(30332,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.011495113372803','2020-03-13 08:24:29'),(30333,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.039551973342896','2020-03-13 08:24:29'),(30334,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0092289447784424','2020-03-13 08:24:29'),(30335,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054781436920166','2020-03-13 08:24:29'),(30336,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.079989910125732','2020-03-13 08:24:29'),(30337,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.078766822814941','2020-03-13 08:24:30'),(30338,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014410972595215','2020-03-13 08:24:30'),(30339,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026609897613525','2020-03-13 08:24:30'),(30340,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014189958572388','2020-03-13 08:24:30'),(30341,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026659965515137','2020-03-13 08:24:30'),(30342,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.53810095787048','2020-03-13 08:24:30'),(30343,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.13251805305481','2020-03-13 08:24:30'),(30344,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.33971881866455','2020-03-13 08:24:30'),(30345,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.15330815315247','2020-03-13 08:24:30'),(30346,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0017449855804443','2020-03-13 08:24:30'),(30347,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016610622406006','2020-03-13 08:24:30'),(30348,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00073385238647461','2020-03-13 08:24:30'),(30349,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.023681879043579','2020-03-13 08:24:30'),(30350,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011670589447021','2020-03-13 08:24:30'),(30351,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037097930908203','2020-03-13 08:24:30'),(30352,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034904479980469','2020-03-13 08:24:30'),(30353,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034999847412109','2020-03-13 08:24:30'),(30354,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034999847412109','2020-03-13 08:24:30'),(30355,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034904479980469','2020-03-13 08:24:30'),(30356,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003509521484375','2020-03-13 08:24:30'),(30357,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033783912658691','2020-03-13 08:24:30'),(30358,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031304359436035','2020-03-13 08:24:30'),(30359,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003049373626709','2020-03-13 08:24:30'),(30360,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029301643371582','2020-03-13 08:24:30'),(30361,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031185150146484','2020-03-13 08:24:30'),(30362,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031399726867676','2020-03-13 08:24:30'),(30363,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.004694938659668','2020-03-13 08:24:30'),(30364,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.001338005065918','2020-03-13 08:24:30'),(30365,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0044569969177246','2020-03-13 08:24:30'),(30366,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011711120605469','2020-03-13 08:24:30'),(30367,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0045080184936523','2020-03-13 08:24:30'),(30368,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013439655303955','2020-03-13 08:24:30'),(30369,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0058448314666748','2020-03-13 08:24:51'),(30370,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0069169998168945','2020-03-13 08:24:51'),(30371,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0045750141143799','2020-03-13 08:24:51'),(30372,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0038018226623535','2020-03-13 08:24:51'),(30373,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0075628757476807','2020-03-13 08:24:51'),(30374,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'216\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0014500617980957','2020-03-13 08:24:51'),(30375,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.025185108184814','2020-03-13 08:24:51'),(30376,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.0012459754943848','2020-03-13 08:24:51'),(30377,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-13 08:24:51'),(30378,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039911270141602','2020-03-13 08:24:51'),(30379,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00042009353637695','2020-03-13 08:24:51'),(30380,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-13 08:24:52'),(30381,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-13 08:24:52'),(30382,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040197372436523','2020-03-13 08:24:52'),(30383,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-13 08:24:52'),(30384,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00044512748718262','2020-03-13 08:24:52'),(30385,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041699409484863','2020-03-13 08:24:52'),(30386,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040102005004883','2020-03-13 08:24:52'),(30387,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-13 08:24:52'),(30388,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003509521484375','2020-03-13 08:24:52'),(30389,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0047929286956787','2020-03-13 08:24:52'),(30390,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0011839866638184','2020-03-13 08:24:52'),(30391,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0045721530914307','2020-03-13 08:24:52'),(30392,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0011320114135742','2020-03-13 08:24:52'),(30393,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00071406364440918','2020-03-13 08:29:04'),(30394,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0068490505218506','2020-03-13 08:29:04'),(30395,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00044798851013184','2020-03-13 08:29:04'),(30396,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0078301429748535','2020-03-13 08:29:04'),(30397,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052785873413086','2020-03-13 08:29:04'),(30398,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0088820457458496','2020-03-13 08:29:04'),(30399,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0006709098815918','2020-03-13 08:29:04'),(30400,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0048179626464844','2020-03-13 08:29:04'),(30401,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00047397613525391','2020-03-13 08:29:04'),(30402,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.014179944992065','2020-03-13 08:29:04'),(30403,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.043056011199951','2020-03-13 08:29:04'),(30404,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.009566068649292','2020-03-13 08:29:04'),(30405,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0065109729766846','2020-03-13 08:29:04'),(30406,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.095654010772705','2020-03-13 08:29:04'),(30407,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.090157032012939','2020-03-13 08:29:04'),(30408,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.015609979629517','2020-03-13 08:29:04'),(30409,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0028700828552246','2020-03-13 08:29:04'),(30410,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.015450000762939','2020-03-13 08:29:04'),(30411,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.002816915512085','2020-03-13 08:29:04'),(30412,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.7518470287323','2020-03-13 08:29:04'),(30413,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.2616240978241','2020-03-13 08:29:04'),(30414,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.527095079422','2020-03-13 08:29:04'),(30415,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.16639089584351','2020-03-13 08:29:04'),(30416,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0017299652099609','2020-03-13 08:29:04'),(30417,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'216\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0020949840545654','2020-03-13 08:29:04'),(30418,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011069774627686','2020-03-13 08:29:04'),(30419,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.028589010238647','2020-03-13 08:29:04'),(30420,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0015740394592285','2020-03-13 08:29:04'),(30421,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00057411193847656','2020-03-13 08:29:04'),(30422,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00047087669372559','2020-03-13 08:29:04'),(30423,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-13 08:29:04'),(30424,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039410591125488','2020-03-13 08:29:04'),(30425,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-13 08:29:04'),(30426,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-13 08:29:04'),(30427,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-13 08:29:05'),(30428,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037789344787598','2020-03-13 08:29:05'),(30429,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-13 08:29:05'),(30430,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039315223693848','2020-03-13 08:29:05'),(30431,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-13 08:29:05'),(30432,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-13 08:29:05'),(30433,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.004410982131958','2020-03-13 08:29:05'),(30434,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011498928070068','2020-03-13 08:29:05'),(30435,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0042519569396973','2020-03-13 08:29:05'),(30436,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010960102081299','2020-03-13 08:29:05'),(30437,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0036740303039551','2020-03-13 08:29:05'),(30438,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010311603546143','2020-03-13 08:29:05'),(30439,216,'Mutalib Anifowose','175.138.91.123','UPDATE','UPDATE `notification` SET `is_read` = 1\nWHERE `ID` = \'23223\'','http://salihin.noip.me/mgs/Notification/updateReadNotification','0.089452028274536','2020-03-13 08:29:16'),(30440,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.00073003768920898','2020-03-13 08:29:18'),(30441,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00075006484985352','2020-03-13 08:29:18'),(30442,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1378/9','0.00061702728271484','2020-03-13 08:29:18'),(30443,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00058197975158691','2020-03-13 08:29:18'),(30444,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00105881690979','2020-03-13 08:29:18'),(30445,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.001025915145874','2020-03-13 08:29:18'),(30446,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.00069785118103027','2020-03-13 08:29:18'),(30447,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.20306205749512','2020-03-13 08:29:18'),(30448,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1378\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1378/9','0.00094294548034668','2020-03-13 08:29:18'),(30449,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1378\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.00088906288146973','2020-03-13 08:29:18'),(30450,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.0016458034515381','2020-03-13 08:29:18'),(30451,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00065207481384277','2020-03-13 08:29:18'),(30452,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1378,jobID)','http://salihin.noip.me/mgs/projects/job/1378/9','0.32395505905151','2020-03-13 08:29:18'),(30453,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1378\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.0010437965393066','2020-03-13 08:29:18'),(30454,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.0018479824066162','2020-03-13 08:29:18'),(30455,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00091218948364258','2020-03-13 08:29:18'),(30456,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1378,jobID)','http://salihin.noip.me/mgs/projects/job/1378/9','0.3008120059967','2020-03-13 08:29:18'),(30457,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1378\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.0015780925750732','2020-03-13 08:29:18'),(30458,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.0020589828491211','2020-03-13 08:29:18'),(30459,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00082087516784668','2020-03-13 08:29:18'),(30460,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1378/9','0.025593996047974','2020-03-13 08:29:18'),(30461,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0014040470123291','2020-03-13 08:29:18'),(30462,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00046396255493164','2020-03-13 08:29:18'),(30463,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00045299530029297','2020-03-13 08:29:19'),(30464,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00044608116149902','2020-03-13 08:29:19'),(30465,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00044608116149902','2020-03-13 08:29:19'),(30466,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00044393539428711','2020-03-13 08:29:19'),(30467,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00043082237243652','2020-03-13 08:29:19'),(30468,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00043797492980957','2020-03-13 08:29:19'),(30469,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00039982795715332','2020-03-13 08:29:19'),(30470,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00045919418334961','2020-03-13 08:29:19'),(30471,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00043010711669922','2020-03-13 08:29:19'),(30472,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00034403800964355','2020-03-13 08:29:19'),(30473,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00034904479980469','2020-03-13 08:29:19'),(30474,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0052778720855713','2020-03-13 08:29:19'),(30475,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0016641616821289','2020-03-13 08:29:19'),(30476,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0061988830566406','2020-03-13 08:29:19'),(30477,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0016207695007324','2020-03-13 08:29:19'),(30478,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0053949356079102','2020-03-13 08:29:19'),(30479,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0013940334320068','2020-03-13 08:29:19'),(30480,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00085115432739258','2020-03-13 08:29:19'),(30481,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nWHERE `service_id` = \'1\'\nORDER BY `service_id`','http://salihin.noip.me/mgs/projects/getJob','0.00072002410888672','2020-03-13 08:29:29'),(30482,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.00072288513183594','2020-03-13 08:29:35'),(30483,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00095796585083008','2020-03-13 08:29:35'),(30484,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1378/9','0.00068211555480957','2020-03-13 08:29:35'),(30485,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00057506561279297','2020-03-13 08:29:35'),(30486,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0010590553283691','2020-03-13 08:29:35'),(30487,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00085115432739258','2020-03-13 08:29:35'),(30488,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.0004730224609375','2020-03-13 08:29:35'),(30489,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.20013999938965','2020-03-13 08:29:35'),(30490,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1378\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1378/9','0.0011129379272461','2020-03-13 08:29:35'),(30491,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1378\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.00087809562683105','2020-03-13 08:29:35'),(30492,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.001723051071167','2020-03-13 08:29:35'),(30493,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00066614151000977','2020-03-13 08:29:35'),(30494,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1378,jobID)','http://salihin.noip.me/mgs/projects/job/1378/9','0.23533391952515','2020-03-13 08:29:35'),(30495,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1378\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.0013139247894287','2020-03-13 08:29:35'),(30496,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.0022809505462646','2020-03-13 08:29:35'),(30497,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.0009310245513916','2020-03-13 08:29:35'),(30498,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1378,jobID)','http://salihin.noip.me/mgs/projects/job/1378/9','0.25533199310303','2020-03-13 08:29:35'),(30499,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1378\'','http://salihin.noip.me/mgs/projects/job/1378/9','0.0010778903961182','2020-03-13 08:29:35'),(30500,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.0017669200897217','2020-03-13 08:29:35'),(30501,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1378\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1378/9','0.00062108039855957','2020-03-13 08:29:35'),(30502,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'216\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1378/9','0.022717952728271','2020-03-13 08:29:35'),(30503,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1378/9','0.0011711120605469','2020-03-13 08:29:35'),(30504,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00037121772766113','2020-03-13 08:29:35'),(30505,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00036501884460449','2020-03-13 08:29:35'),(30506,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00042295455932617','2020-03-13 08:29:35'),(30507,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00042819976806641','2020-03-13 08:29:35'),(30508,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00048303604125977','2020-03-13 08:29:35'),(30509,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00048208236694336','2020-03-13 08:29:35'),(30510,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00049209594726562','2020-03-13 08:29:35'),(30511,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00048494338989258','2020-03-13 08:29:35'),(30512,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00052499771118164','2020-03-13 08:29:35'),(30513,216,'Mutalib Anifowose','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1378/9','0.00042200088500977','2020-03-13 08:29:35');
