(36985,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-17 02:30:48'),(36986,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-17 02:30:48'),(36987,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037908554077148','2020-03-17 02:30:48'),(36988,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0031900405883789','2020-03-17 02:30:48'),(36989,81,'Norshimah Binti Morjan','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.00083017349243164','2020-03-17 02:30:48'),(36990,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.003216028213501','2020-03-17 02:30:48'),(36991,81,'Norshimah Binti Morjan','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.00077700614929199','2020-03-17 02:30:48'),(36992,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029449462890625','2020-03-17 02:30:48'),(36993,81,'Norshimah Binti Morjan','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.0010161399841309','2020-03-17 02:30:48'),(36994,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 244','http://salihin.noip.me/mgs/login/setSession','0.00049805641174316','2020-03-17 02:32:31'),(36995,244,'Muhammad Syafii bin Yusman','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-17 02:32:43'),(36996,244,'Muhammad Syafii bin Yusman','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.024031162261963','2020-03-17 02:32:43'),(36997,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00098586082458496','2020-03-17 02:32:43'),(36998,244,'Muhammad Syafii bin Yusman','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.018943071365356','2020-03-17 02:32:43'),(36999,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00083184242248535','2020-03-17 02:32:43'),(37000,244,'Muhammad Syafii bin Yusman','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.013760089874268','2020-03-17 02:32:43'),(37001,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00083613395690918','2020-03-17 02:32:43'),(37002,244,'Muhammad Syafii bin Yusman','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.0078690052032471','2020-03-17 02:32:43'),(37003,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00055193901062012','2020-03-17 02:32:43'),(37004,244,'Muhammad Syafii bin Yusman','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.0095868110656738','2020-03-17 02:32:43'),(37005,244,'Muhammad Syafii bin Yusman','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.029283046722412','2020-03-17 02:32:43'),(37006,244,'Muhammad Syafii bin Yusman','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.0097150802612305','2020-03-17 02:32:43'),(37007,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0058472156524658','2020-03-17 02:32:43'),(37008,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.088345050811768','2020-03-17 02:32:43'),(37009,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.084664821624756','2020-03-17 02:32:43'),(37010,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.018749952316284','2020-03-17 02:32:43'),(37011,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0033891201019287','2020-03-17 02:32:43'),(37012,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014312028884888','2020-03-17 02:32:43'),(37013,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0034441947937012','2020-03-17 02:32:43'),(37014,244,'Muhammad Syafii bin Yusman','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.9546680450439','2020-03-17 02:32:43'),(37015,244,'Muhammad Syafii bin Yusman','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.1913170814514','2020-03-17 02:32:43'),(37016,244,'Muhammad Syafii bin Yusman','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.8384609222412','2020-03-17 02:32:43'),(37017,244,'Muhammad Syafii bin Yusman','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.7764229774475','2020-03-17 02:32:43'),(37018,244,'Muhammad Syafii bin Yusman','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` = \'244\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.022294044494629','2020-03-17 02:32:43'),(37019,244,'Muhammad Syafii bin Yusman','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` = \'244\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.025782108306885','2020-03-17 02:32:43'),(37020,244,'Muhammad Syafii bin Yusman','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.0010480880737305','2020-03-17 02:32:43'),(37021,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'244\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.023164987564087','2020-03-17 02:32:43'),(37022,244,'Muhammad Syafii bin Yusman','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.00075507164001465','2020-03-17 02:32:43'),(37023,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00049781799316406','2020-03-17 02:32:43'),(37024,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00046801567077637','2020-03-17 02:32:43'),(37025,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00048589706420898','2020-03-17 02:32:43'),(37026,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00046420097351074','2020-03-17 02:32:43'),(37027,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00049901008605957','2020-03-17 02:32:43'),(37028,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040698051452637','2020-03-17 02:32:43'),(37029,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00046300888061523','2020-03-17 02:32:43'),(37030,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00047588348388672','2020-03-17 02:32:43'),(37031,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00047707557678223','2020-03-17 02:32:43'),(37032,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042104721069336','2020-03-17 02:32:43'),(37033,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042009353637695','2020-03-17 02:32:43'),(37034,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00047016143798828','2020-03-17 02:32:43'),(37035,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0074698925018311','2020-03-17 02:32:43'),(37036,244,'Muhammad Syafii bin Yusman','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.0016920566558838','2020-03-17 02:32:43'),(37037,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.006594181060791','2020-03-17 02:32:43'),(37038,244,'Muhammad Syafii bin Yusman','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.0017330646514893','2020-03-17 02:32:43'),(37039,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0063169002532959','2020-03-17 02:32:43'),(37040,244,'Muhammad Syafii bin Yusman','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-17 02:32:43'),(37041,244,'Muhammad Syafii bin Yusman','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` = \'244\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0068180561065674','2020-03-17 02:33:59'),(37042,244,'Muhammad Syafii bin Yusman','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` = \'244\'\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.0061788558959961','2020-03-17 02:33:59'),(37043,244,'Muhammad Syafii bin Yusman','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` = \'244\'\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.005436897277832','2020-03-17 02:33:59'),(37044,244,'Muhammad Syafii bin Yusman','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` = \'244\'\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.0050251483917236','2020-03-17 02:33:59'),(37045,244,'Muhammad Syafii bin Yusman','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` = \'244\'\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.0049500465393066','2020-03-17 02:33:59'),(37046,244,'Muhammad Syafii bin Yusman','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` = \'244\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00095701217651367','2020-03-17 02:33:59'),(37047,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'244\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.022361040115356','2020-03-17 02:33:59'),(37048,244,'Muhammad Syafii bin Yusman','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.0009009838104248','2020-03-17 02:33:59'),(37049,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040578842163086','2020-03-17 02:33:59'),(37050,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040102005004883','2020-03-17 02:33:59'),(37051,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039911270141602','2020-03-17 02:33:59'),(37052,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040197372436523','2020-03-17 02:33:59'),(37053,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039291381835938','2020-03-17 02:33:59'),(37054,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039982795715332','2020-03-17 02:33:59'),(37055,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040006637573242','2020-03-17 02:33:59'),(37056,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040102005004883','2020-03-17 02:33:59'),(37057,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039482116699219','2020-03-17 02:33:59'),(37058,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039911270141602','2020-03-17 02:33:59'),(37059,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-17 02:33:59'),(37060,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040006637573242','2020-03-17 02:33:59'),(37061,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.006295919418335','2020-03-17 02:33:59'),(37062,244,'Muhammad Syafii bin Yusman','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.0017380714416504','2020-03-17 02:33:59'),(37063,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0062260627746582','2020-03-17 02:33:59'),(37064,244,'Muhammad Syafii bin Yusman','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.0012798309326172','2020-03-17 02:33:59'),(37065,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.0003659725189209','2020-03-17 02:34:49'),(37066,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00048089027404785','2020-03-17 02:34:49'),(37067,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1241/8','0.00041413307189941','2020-03-17 02:34:49'),(37068,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0003659725189209','2020-03-17 02:34:49'),(37069,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00065279006958008','2020-03-17 02:34:49'),(37070,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00055217742919922','2020-03-17 02:34:49'),(37071,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031685829162598','2020-03-17 02:34:49'),(37072,244,'Muhammad Syafii bin Yusman','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/1241/8','0.11284899711609','2020-03-17 02:34:49'),(37073,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1241/8','0.00053095817565918','2020-03-17 02:34:49'),(37074,244,'Muhammad Syafii bin Yusman','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` = \'1241\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00058317184448242','2020-03-17 02:34:49'),(37075,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.10150289535522','2020-03-17 02:34:49'),(37076,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00043797492980957','2020-03-17 02:34:49'),(37077,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1241,jobID)','http://salihin.noip.me/mgs/projects/job/1241/8','0.12072491645813','2020-03-17 02:34:49'),(37078,244,'Muhammad Syafii bin Yusman','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` = \'1241\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00054097175598145','2020-03-17 02:34:49'),(37079,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.087461948394775','2020-03-17 02:34:49'),(37080,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00047612190246582','2020-03-17 02:34:49'),(37081,244,'Muhammad Syafii bin Yusman','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` = \'1242\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00065207481384277','2020-03-17 02:34:49'),(37082,244,'Muhammad Syafii bin Yusman','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` = \'1242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.11559510231018','2020-03-17 02:34:49'),(37083,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00048303604125977','2020-03-17 02:34:49'),(37084,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1241,jobID)','http://salihin.noip.me/mgs/projects/job/1241/8','0.21038603782654','2020-03-17 02:34:49'),(37085,244,'Muhammad Syafii bin Yusman','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` = \'1241\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00095987319946289','2020-03-17 02:34:49'),(37086,244,'Muhammad Syafii bin Yusman','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` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.14525008201599','2020-03-17 02:34:49'),(37087,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1241\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00063085556030273','2020-03-17 02:34:49'),(37088,244,'Muhammad Syafii bin Yusman','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` = \'1242\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.0010509490966797','2020-03-17 02:34:49'),(37089,244,'Muhammad Syafii bin Yusman','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` = \'1242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.12619709968567','2020-03-17 02:34:49'),(37090,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1241/8','0.00047993659973145','2020-03-17 02:34:49'),(37091,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'244\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1241/8','0.012642860412598','2020-03-17 02:34:49'),(37092,244,'Muhammad Syafii bin Yusman','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/1241/8','0.00040316581726074','2020-03-17 02:34:49'),(37093,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00019693374633789','2020-03-17 02:34:49'),(37094,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00014805793762207','2020-03-17 02:34:49'),(37095,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00014185905456543','2020-03-17 02:34:49'),(37096,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0001380443572998','2020-03-17 02:34:49'),(37097,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00014114379882812','2020-03-17 02:34:49'),(37098,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0001380443572998','2020-03-17 02:34:49'),(37099,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0001370906829834','2020-03-17 02:34:49'),(37100,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00013995170593262','2020-03-17 02:34:49'),(37101,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0001368522644043','2020-03-17 02:34:49'),(37102,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00013613700866699','2020-03-17 02:34:49'),(37103,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00013589859008789','2020-03-17 02:34:49'),(37104,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00013899803161621','2020-03-17 02:34:49'),(37105,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0031099319458008','2020-03-17 02:34:49'),(37106,244,'Muhammad Syafii bin Yusman','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/1241/8','0.00081706047058105','2020-03-17 02:34:49'),(37107,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0032079219818115','2020-03-17 02:34:49'),(37108,244,'Muhammad Syafii bin Yusman','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/1241/8','0.00076103210449219','2020-03-17 02:34:49'),(37109,244,'Muhammad Syafii bin Yusman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0030369758605957','2020-03-17 02:34:49'),(37110,244,'Muhammad Syafii bin Yusman','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/1241/8','0.00076794624328613','2020-03-17 02:34:49'),(37111,244,'Muhammad Syafii bin Yusman','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/1241/8','0.00049281120300293','2020-03-17 02:34:49'),(37112,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT role FROM user__role WHERE user_ID = 235','http://salihin.noip.me/mgs/login/setSession','0.00047612190246582','2020-03-17 02:54:32'),(37113,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00060510635375977','2020-03-17 02:54:35'),(37114,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0055720806121826','2020-03-17 02:54:35'),(37115,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052690505981445','2020-03-17 02:54:35'),(37116,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0081989765167236','2020-03-17 02:54:35'),(37117,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049519538879395','2020-03-17 02:54:35'),(37118,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0069739818572998','2020-03-17 02:54:35'),(37119,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052285194396973','2020-03-17 02:54:35'),(37120,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0062508583068848','2020-03-17 02:54:35'),(37121,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00047183036804199','2020-03-17 02:54:35'),(37122,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.011275053024292','2020-03-17 02:54:35'),(37123,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.024763107299805','2020-03-17 02:54:35'),(37124,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0083298683166504','2020-03-17 02:54:35'),(37125,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054528713226318','2020-03-17 02:54:35'),(37126,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078437089920044','2020-03-17 02:54:35'),(37127,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.094507932662964','2020-03-17 02:54:35'),(37128,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014315843582153','2020-03-17 02:54:35'),(37129,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0027270317077637','2020-03-17 02:54:35'),(37130,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014092922210693','2020-03-17 02:54:35'),(37131,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026130676269531','2020-03-17 02:54:35'),(37132,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.62864089012146','2020-03-17 02:54:35'),(37133,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.15648698806763','2020-03-17 02:54:35'),(37134,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.28453803062439','2020-03-17 02:54:35'),(37135,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.083225011825562','2020-03-17 02:54:35'),(37136,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0093159675598145','2020-03-17 02:54:35'),(37137,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0092229843139648','2020-03-17 02:54:35'),(37138,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.00040102005004883','2020-03-17 02:54:35'),(37139,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.017664909362793','2020-03-17 02:54:35'),(37140,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0006110668182373','2020-03-17 02:54:35'),(37141,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032186508178711','2020-03-17 02:54:35'),(37142,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030517578125','2020-03-17 02:54:35'),(37143,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030517578125','2020-03-17 02:54:35'),(37144,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030207633972168','2020-03-17 02:54:35'),(37145,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030207633972168','2020-03-17 02:54:35'),(37146,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030183792114258','2020-03-17 02:54:35'),(37147,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029301643371582','2020-03-17 02:54:35'),(37148,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030088424682617','2020-03-17 02:54:35'),(37149,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030612945556641','2020-03-17 02:54:35'),(37150,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029993057250977','2020-03-17 02:54:35'),(37151,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030016899108887','2020-03-17 02:54:35'),(37152,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030112266540527','2020-03-17 02:54:36'),(37153,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051631927490234','2020-03-17 02:54:36'),(37154,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.00136399269104','2020-03-17 02:54:36'),(37155,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049412250518799','2020-03-17 02:54:36'),(37156,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0013160705566406','2020-03-17 02:54:36'),(37157,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049958229064941','2020-03-17 02:54:36'),(37158,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0013492107391357','2020-03-17 02:54:36'),(37159,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.004796028137207','2020-03-17 02:54:41'),(37160,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0076408386230469','2020-03-17 02:54:41'),(37161,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0056509971618652','2020-03-17 02:54:41'),(37162,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0050761699676514','2020-03-17 02:54:41'),(37163,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0050690174102783','2020-03-17 02:54:41'),(37164,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0010840892791748','2020-03-17 02:54:41'),(37165,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.019999027252197','2020-03-17 02:54:41'),(37166,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.00069499015808105','2020-03-17 02:54:41'),(37167,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037193298339844','2020-03-17 02:54:41'),(37168,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034785270690918','2020-03-17 02:54:41'),(37169,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-17 02:54:41'),(37170,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034308433532715','2020-03-17 02:54:41'),(37171,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034713745117188','2020-03-17 02:54:41'),(37172,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034213066101074','2020-03-17 02:54:41'),(37173,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034213066101074','2020-03-17 02:54:41'),(37174,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034594535827637','2020-03-17 02:54:41'),(37175,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034213066101074','2020-03-17 02:54:41'),(37176,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033903121948242','2020-03-17 02:54:41'),(37177,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034093856811523','2020-03-17 02:54:41'),(37178,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-17 02:54:41'),(37179,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053329467773438','2020-03-17 02:54:41'),(37180,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0013911724090576','2020-03-17 02:54:41'),(37181,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052778720855713','2020-03-17 02:54:41'),(37182,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0013139247894287','2020-03-17 02:54:41'),(37183,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT role FROM user__role WHERE user_ID = 297','http://salihin.noip.me/mgs/login/setSession','0.00051712989807129','2020-03-17 04:00:15'),(37184,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0012359619140625','2020-03-17 04:00:26'),(37185,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.030915021896362','2020-03-17 04:00:26'),(37186,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00098705291748047','2020-03-17 04:00:26'),(37187,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.019291162490845','2020-03-17 04:00:27'),(37188,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010058879852295','2020-03-17 04:00:27'),(37189,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.013193130493164','2020-03-17 04:00:27'),(37190,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00069093704223633','2020-03-17 04:00:27'),(37191,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.0077219009399414','2020-03-17 04:00:27'),(37192,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00053000450134277','2020-03-17 04:00:27'),(37193,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.00901198387146','2020-03-17 04:00:27'),(37194,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.026628971099854','2020-03-17 04:00:27'),(37195,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.010133981704712','2020-03-17 04:00:27'),(37196,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0061020851135254','2020-03-17 04:00:27'),(37197,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.08051609992981','2020-03-17 04:00:27'),(37198,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.079180955886841','2020-03-17 04:00:27'),(37199,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.019248962402344','2020-03-17 04:00:27'),(37200,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026979446411133','2020-03-17 04:00:27'),(37201,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.016698122024536','2020-03-17 04:00:27'),(37202,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0024828910827637','2020-03-17 04:00:27'),(37203,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.3128559589386','2020-03-17 04:00:27'),(37204,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.0925419330597','2020-03-17 04:00:27'),(37205,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.437028169632','2020-03-17 04:00:27'),(37206,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.8924632072449','2020-03-17 04:00:27'),(37207,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'297\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.020158052444458','2020-03-17 04:00:27'),(37208,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'297\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.020563125610352','2020-03-17 04:00:27'),(37209,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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-17 04:00:27'),(37210,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.025247812271118','2020-03-17 04:00:27'),(37211,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.00089192390441895','2020-03-17 04:00:27'),(37212,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00054502487182617','2020-03-17 04:00:27'),(37213,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00051999092102051','2020-03-17 04:00:27'),(37214,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0005190372467041','2020-03-17 04:00:27'),(37215,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00052595138549805','2020-03-17 04:00:27'),(37216,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041007995605469','2020-03-17 04:00:27'),(37217,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040817260742188','2020-03-17 04:00:27'),(37218,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00044798851013184','2020-03-17 04:00:27'),(37219,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00043296813964844','2020-03-17 04:00:27'),(37220,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040483474731445','2020-03-17 04:00:27'),(37221,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-17 04:00:27'),(37222,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040602684020996','2020-03-17 04:00:27'),(37223,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040602684020996','2020-03-17 04:00:27'),(37224,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0045149326324463','2020-03-17 04:00:27'),(37225,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.001107931137085','2020-03-17 04:00:27'),(37226,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0043270587921143','2020-03-17 04:00:27'),(37227,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.0010509490966797','2020-03-17 04:00:27'),(37228,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0047509670257568','2020-03-17 04:00:27'),(37229,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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.0016019344329834','2020-03-17 04:00:27'),(37230,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.006519079208374','2020-03-17 04:00:34'),(37231,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0041658878326416','2020-03-17 04:00:34'),(37232,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0029969215393066','2020-03-17 04:00:34'),(37233,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0044620037078857','2020-03-17 04:00:34'),(37234,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0039169788360596','2020-03-17 04:00:34'),(37235,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00079011917114258','2020-03-17 04:00:34'),(37236,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019840002059937','2020-03-17 04:00:34'),(37237,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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.00071501731872559','2020-03-17 04:00:34'),(37238,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003669261932373','2020-03-17 04:00:34'),(37239,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034809112548828','2020-03-17 04:00:34'),(37240,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033712387084961','2020-03-17 04:00:34'),(37241,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033879280090332','2020-03-17 04:00:34'),(37242,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033688545227051','2020-03-17 04:00:34'),(37243,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034379959106445','2020-03-17 04:00:34'),(37244,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034213066101074','2020-03-17 04:00:34'),(37245,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034618377685547','2020-03-17 04:00:34'),(37246,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003361701965332','2020-03-17 04:00:34'),(37247,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033688545227051','2020-03-17 04:00:34'),(37248,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032997131347656','2020-03-17 04:00:34'),(37249,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003349781036377','2020-03-17 04:00:34'),(37250,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053048133850098','2020-03-17 04:00:34'),(37251,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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.001446008682251','2020-03-17 04:00:34'),(37252,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052800178527832','2020-03-17 04:00:34'),(37253,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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.0013091564178467','2020-03-17 04:00:34'),(37254,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.00034189224243164','2020-03-17 04:00:43'),(37255,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00040292739868164','2020-03-17 04:00:43'),(37256,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1053/8','0.00034403800964355','2020-03-17 04:00:43'),(37257,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00030708312988281','2020-03-17 04:00:43'),(37258,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00055980682373047','2020-03-17 04:00:43'),(37259,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00072693824768066','2020-03-17 04:00:43'),(37260,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.00025320053100586','2020-03-17 04:00:43'),(37261,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/1053/8','0.13945603370667','2020-03-17 04:00:43'),(37262,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1053/8','0.00057601928710938','2020-03-17 04:00:43'),(37263,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.00068092346191406','2020-03-17 04:00:43'),(37264,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.11907386779785','2020-03-17 04:00:43'),(37265,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00073385238647461','2020-03-17 04:00:43'),(37266,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1053,jobID)','http://salihin.noip.me/mgs/projects/job/1053/8','0.19816517829895','2020-03-17 04:00:43'),(37267,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.00081110000610352','2020-03-17 04:00:43'),(37268,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.1580810546875','2020-03-17 04:00:43'),(37269,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00084614753723145','2020-03-17 04:00:43'),(37270,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1054\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.0011420249938965','2020-03-17 04:00:43'),(37271,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1054\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.2178590297699','2020-03-17 04:00:43'),(37272,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1054\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00075817108154297','2020-03-17 04:00:43'),(37273,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1053,jobID)','http://salihin.noip.me/mgs/projects/job/1053/8','0.32727813720703','2020-03-17 04:00:43'),(37274,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.0012969970703125','2020-03-17 04:00:43'),(37275,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.21107506752014','2020-03-17 04:00:43'),(37276,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1053\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00077605247497559','2020-03-17 04:00:43'),(37277,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1054\'','http://salihin.noip.me/mgs/projects/job/1053/8','0.0011770725250244','2020-03-17 04:00:43'),(37278,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'1054\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.17813587188721','2020-03-17 04:00:43'),(37279,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1054\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1053/8','0.00059986114501953','2020-03-17 04:00:43'),(37280,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1053/8','0.015825986862183','2020-03-17 04:00:43'),(37281,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/1053/8','0.00052595138549805','2020-03-17 04:00:43'),(37282,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00025796890258789','2020-03-17 04:00:43'),(37283,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00026607513427734','2020-03-17 04:00:43'),(37284,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00027012825012207','2020-03-17 04:00:43'),(37285,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00026106834411621','2020-03-17 04:00:43'),(37286,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00025796890258789','2020-03-17 04:00:43'),(37287,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00026082992553711','2020-03-17 04:00:43'),(37288,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00027585029602051','2020-03-17 04:00:43'),(37289,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00025796890258789','2020-03-17 04:00:43'),(37290,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00026607513427734','2020-03-17 04:00:43'),(37291,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.0002589225769043','2020-03-17 04:00:43'),(37292,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00026392936706543','2020-03-17 04:00:43'),(37293,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1053/8','0.00025701522827148','2020-03-17 04:00:43'),(37294,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1053/8','0.0045120716094971','2020-03-17 04:00:44'),(37295,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/1053/8','0.0011069774627686','2020-03-17 04:00:44'),(37296,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1053/8','0.0046250820159912','2020-03-17 04:00:44'),(37297,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/1053/8','0.0012860298156738','2020-03-17 04:00:44'),(37298,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1053/8','0.0043900012969971','2020-03-17 04:00:44'),(37299,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/1053/8','0.0012288093566895','2020-03-17 04:00:44'),(37300,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/1053/8','0.00067996978759766','2020-03-17 04:00:44'),(37301,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'297\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0057518482208252','2020-03-17 04:00:58'),(37302,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'297\'\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.004802942276001','2020-03-17 04:00:59'),(37303,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'297\'\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.0052599906921387','2020-03-17 04:00:59'),(37304,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'297\'\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.0042350292205811','2020-03-17 04:00:59'),(37305,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'297\'\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.0037760734558105','2020-03-17 04:00:59'),(37306,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'297\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00086784362792969','2020-03-17 04:00:59'),(37307,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.015871047973633','2020-03-17 04:00:59'),(37308,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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.00058102607727051','2020-03-17 04:00:59'),(37309,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034213066101074','2020-03-17 04:00:59'),(37310,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032997131347656','2020-03-17 04:00:59'),(37311,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032687187194824','2020-03-17 04:00:59'),(37312,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032997131347656','2020-03-17 04:00:59'),(37313,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032806396484375','2020-03-17 04:00:59'),(37314,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033187866210938','2020-03-17 04:00:59'),(37315,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033092498779297','2020-03-17 04:00:59'),(37316,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032901763916016','2020-03-17 04:00:59'),(37317,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00030183792114258','2020-03-17 04:00:59'),(37318,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032901763916016','2020-03-17 04:00:59'),(37319,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032591819763184','2020-03-17 04:00:59'),(37320,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032877922058105','2020-03-17 04:00:59'),(37321,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0041520595550537','2020-03-17 04:00:59'),(37322,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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.0010101795196533','2020-03-17 04:00:59'),(37323,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0038738250732422','2020-03-17 04:00:59'),(37324,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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.0010900497436523','2020-03-17 04:00:59'),(37325,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.00056099891662598','2020-03-17 04:01:05'),(37326,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.00076484680175781','2020-03-17 04:01:06'),(37327,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1055/8','0.00068211555480957','2020-03-17 04:01:06'),(37328,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00057506561279297','2020-03-17 04:01:06'),(37329,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1055/8','0.0010600090026855','2020-03-17 04:01:06'),(37330,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.00082707405090332','2020-03-17 04:01:06'),(37331,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.00039982795715332','2020-03-17 04:01:06'),(37332,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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/1055/8','0.17371416091919','2020-03-17 04:01:06'),(37333,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1055/8','0.00069284439086914','2020-03-17 04:01:06'),(37334,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.00090694427490234','2020-03-17 04:01:06'),(37335,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.18731689453125','2020-03-17 04:01:06'),(37336,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.00087308883666992','2020-03-17 04:01:06'),(37337,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1055,jobID)','http://salihin.noip.me/mgs/projects/job/1055/8','0.24865007400513','2020-03-17 04:01:06'),(37338,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.0010421276092529','2020-03-17 04:01:06'),(37339,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.18846917152405','2020-03-17 04:01:06'),(37340,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.00085592269897461','2020-03-17 04:01:06'),(37341,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1056\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.0010550022125244','2020-03-17 04:01:06'),(37342,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1056\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.17656397819519','2020-03-17 04:01:06'),(37343,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1056\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.00056004524230957','2020-03-17 04:01:06'),(37344,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1055,jobID)','http://salihin.noip.me/mgs/projects/job/1055/8','0.21883702278137','2020-03-17 04:01:06'),(37345,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.001183032989502','2020-03-17 04:01:06'),(37346,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.19108104705811','2020-03-17 04:01:06'),(37347,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1055\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.0009770393371582','2020-03-17 04:01:06'),(37348,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1056\'','http://salihin.noip.me/mgs/projects/job/1055/8','0.0012369155883789','2020-03-17 04:01:06'),(37349,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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` = \'1056\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.20894908905029','2020-03-17 04:01:06'),(37350,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1056\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1055/8','0.00081110000610352','2020-03-17 04:01:06'),(37351,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1055/8','0.018944025039673','2020-03-17 04:01:06'),(37352,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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/1055/8','0.00070786476135254','2020-03-17 04:01:06'),(37353,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00036406517028809','2020-03-17 04:01:06'),(37354,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00034499168395996','2020-03-17 04:01:06'),(37355,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00034403800964355','2020-03-17 04:01:06'),(37356,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00033712387084961','2020-03-17 04:01:06'),(37357,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00034284591674805','2020-03-17 04:01:06'),(37358,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00033807754516602','2020-03-17 04:01:06'),(37359,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00036382675170898','2020-03-17 04:01:06'),(37360,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00041294097900391','2020-03-17 04:01:06'),(37361,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00044798851013184','2020-03-17 04:01:06'),(37362,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00041317939758301','2020-03-17 04:01:06'),(37363,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00034117698669434','2020-03-17 04:01:06'),(37364,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1055/8','0.00041103363037109','2020-03-17 04:01:06'),(37365,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1055/8','0.0058000087738037','2020-03-17 04:01:06'),(37366,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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/1055/8','0.0015609264373779','2020-03-17 04:01:06'),(37367,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1055/8','0.0058529376983643','2020-03-17 04:01:06'),(37368,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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/1055/8','0.0012791156768799','2020-03-17 04:01:06'),(37369,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1055/8','0.0047101974487305','2020-03-17 04:01:06'),(37370,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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/1055/8','0.0011179447174072','2020-03-17 04:01:06'),(37371,297,'Amalina \'Izzati Binti Abdullah','211.24.101.186','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/1055/8','0.00072503089904785','2020-03-17 04:01:06'),(37372,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0083341598510742','2020-03-17 04:01:20'),(37373,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0062830448150635','2020-03-17 04:01:21'),(37374,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0041549205780029','2020-03-17 04:01:21'),(37375,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.0055859088897705','2020-03-17 04:01:21'),(37376,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\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.007404088973999','2020-03-17 04:01:21'),(37377,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'297\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013980865478516','2020-03-17 04:01:21'),(37378,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.023506879806519','2020-03-17 04:01:21'),(37379,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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.00086402893066406','2020-03-17 04:01:21'),(37380,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00045299530029297','2020-03-17 04:01:21'),(37381,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029706954956055','2020-03-17 04:01:21'),(37382,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0002901554107666','2020-03-17 04:01:21'),(37383,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029397010803223','2020-03-17 04:01:21'),(37384,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029397010803223','2020-03-17 04:01:21'),(37385,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029206275939941','2020-03-17 04:01:21'),(37386,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029110908508301','2020-03-17 04:01:21'),(37387,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029301643371582','2020-03-17 04:01:21'),(37388,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032782554626465','2020-03-17 04:01:21'),(37389,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0002901554107666','2020-03-17 04:01:21'),(37390,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00028395652770996','2020-03-17 04:01:21'),(37391,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0002892017364502','2020-03-17 04:01:21'),(37392,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0047321319580078','2020-03-17 04:01:21'),(37393,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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.0011529922485352','2020-03-17 04:01:21'),(37394,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0041627883911133','2020-03-17 04:01:21'),(37395,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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.0010199546813965','2020-03-17 04:01:21'),(37396,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.0004119873046875','2020-03-17 04:01:29'),(37397,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00054311752319336','2020-03-17 04:01:29'),(37398,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1035/8','0.00048089027404785','2020-03-17 04:01:29'),(37399,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00043296813964844','2020-03-17 04:01:29'),(37400,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00078201293945312','2020-03-17 04:01:29'),(37401,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00067305564880371','2020-03-17 04:01:29'),(37402,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.0003819465637207','2020-03-17 04:01:29'),(37403,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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/1035/8','0.13272714614868','2020-03-17 04:01:29'),(37404,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1035/8','0.00055503845214844','2020-03-17 04:01:29'),(37405,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.00056600570678711','2020-03-17 04:01:29'),(37406,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.15864706039429','2020-03-17 04:01:29'),(37407,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00084996223449707','2020-03-17 04:01:29'),(37408,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1035,jobID)','http://salihin.noip.me/mgs/projects/job/1035/8','0.22474789619446','2020-03-17 04:01:29'),(37409,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.00088405609130859','2020-03-17 04:01:29'),(37410,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.15291905403137','2020-03-17 04:01:29'),(37411,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00066399574279785','2020-03-17 04:01:29'),(37412,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1036\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.00081014633178711','2020-03-17 04:01:29'),(37413,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1036\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.19907402992249','2020-03-17 04:01:29'),(37414,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1036\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00079703330993652','2020-03-17 04:01:29'),(37415,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1035,jobID)','http://salihin.noip.me/mgs/projects/job/1035/8','0.19980788230896','2020-03-17 04:01:29'),(37416,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.00074100494384766','2020-03-17 04:01:29'),(37417,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.1296648979187','2020-03-17 04:01:30'),(37418,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1035\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00068807601928711','2020-03-17 04:01:30'),(37419,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1036\'','http://salihin.noip.me/mgs/projects/job/1035/8','0.00069403648376465','2020-03-17 04:01:30'),(37420,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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` = \'1036\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.11931085586548','2020-03-17 04:01:30'),(37421,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1036\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1035/8','0.00054693222045898','2020-03-17 04:01:30'),(37422,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1035/8','0.012887954711914','2020-03-17 04:01:30'),(37423,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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/1035/8','0.0004880428314209','2020-03-17 04:01:30'),(37424,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0002739429473877','2020-03-17 04:01:30'),(37425,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0002601146697998','2020-03-17 04:01:30'),(37426,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00026583671569824','2020-03-17 04:01:30'),(37427,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00026512145996094','2020-03-17 04:01:30'),(37428,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0002591609954834','2020-03-17 04:01:30'),(37429,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00033307075500488','2020-03-17 04:01:30'),(37430,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00033783912658691','2020-03-17 04:01:30'),(37431,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00028300285339355','2020-03-17 04:01:30'),(37432,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00024795532226562','2020-03-17 04:01:30'),(37433,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0002601146697998','2020-03-17 04:01:30'),(37434,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00024795532226562','2020-03-17 04:01:30'),(37435,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1035/8','0.00024604797363281','2020-03-17 04:01:30'),(37436,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0037379264831543','2020-03-17 04:01:30'),(37437,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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/1035/8','0.00091695785522461','2020-03-17 04:01:30'),(37438,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0034160614013672','2020-03-17 04:01:30'),(37439,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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/1035/8','0.00091314315795898','2020-03-17 04:01:30'),(37440,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1035/8','0.0035910606384277','2020-03-17 04:01:30'),(37441,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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/1035/8','0.00075006484985352','2020-03-17 04:01:30'),(37442,297,'Amalina \'Izzati Binti Abdullah','175.143.5.161','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/1035/8','0.00048208236694336','2020-03-17 04:01:30'),(37443,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0036120414733887','2020-03-17 04:21:21'),(37444,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0029330253601074','2020-03-17 04:21:21'),(37445,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0025458335876465','2020-03-17 04:21:21'),(37446,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0027270317077637','2020-03-17 04:21:21'),(37447,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0024740695953369','2020-03-17 04:21:21'),(37448,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0005490779876709','2020-03-17 04:21:21'),(37449,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.019883155822754','2020-03-17 04:21:21'),(37450,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.00073814392089844','2020-03-17 04:21:21'),(37451,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041508674621582','2020-03-17 04:21:21'),(37452,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-17 04:21:21'),(37453,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-17 04:21:21'),(37454,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040197372436523','2020-03-17 04:21:21'),(37455,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-17 04:21:21'),(37456,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-17 04:21:21'),(37457,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00046396255493164','2020-03-17 04:21:21'),(37458,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-17 04:21:21'),(37459,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041484832763672','2020-03-17 04:21:21'),(37460,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040102005004883','2020-03-17 04:21:21'),(37461,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040006637573242','2020-03-17 04:21:21'),(37462,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004122257232666','2020-03-17 04:21:21'),(37463,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053169727325439','2020-03-17 04:21:21'),(37464,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0022239685058594','2020-03-17 04:21:21'),(37465,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0056381225585938','2020-03-17 04:21:21'),(37466,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.001615047454834','2020-03-17 04:21:22'),(37467,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00064897537231445','2020-03-17 04:21:23'),(37468,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0069808959960938','2020-03-17 04:21:23'),(37469,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00047588348388672','2020-03-17 04:21:23'),(37470,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0069460868835449','2020-03-17 04:21:23'),(37471,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00049400329589844','2020-03-17 04:21:23'),(37472,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0085089206695557','2020-03-17 04:21:23'),(37473,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00052618980407715','2020-03-17 04:21:23'),(37474,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0052089691162109','2020-03-17 04:21:23'),(37475,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00046896934509277','2020-03-17 04:21:23'),(37476,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.010982036590576','2020-03-17 04:21:23'),(37477,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0015969276428223','2020-03-17 04:21:23'),(37478,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.026433944702148','2020-03-17 04:21:23'),(37479,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0091869831085205','2020-03-17 04:21:23'),(37480,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.34671497344971','2020-03-17 04:21:23'),(37481,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00035309791564941','2020-03-17 04:21:23'),(37482,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0020179748535156','2020-03-17 04:21:23'),(37483,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0002741813659668','2020-03-17 04:21:23'),(37484,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0030560493469238','2020-03-17 04:21:23'),(37485,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.019851207733154','2020-03-17 04:21:23'),(37486,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.00072503089904785','2020-03-17 04:21:23'),(37487,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039982795715332','2020-03-17 04:21:23'),(37488,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039005279541016','2020-03-17 04:21:23'),(37489,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038695335388184','2020-03-17 04:21:23'),(37490,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038886070251465','2020-03-17 04:21:23'),(37491,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038599967956543','2020-03-17 04:21:23'),(37492,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00037598609924316','2020-03-17 04:21:23'),(37493,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039005279541016','2020-03-17 04:21:23'),(37494,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038909912109375','2020-03-17 04:21:23'),(37495,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038909912109375','2020-03-17 04:21:23'),(37496,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038886070251465','2020-03-17 04:21:23'),(37497,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038695335388184','2020-03-17 04:21:23'),(37498,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00038790702819824','2020-03-17 04:21:23'),(37499,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0045578479766846','2020-03-17 04:21:23'),(37500,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0012340545654297','2020-03-17 04:21:23'),(37501,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0043468475341797','2020-03-17 04:21:23'),(37502,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0011169910430908','2020-03-17 04:21:23'),(37503,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00065016746520996','2020-03-17 04:21:24'),(37504,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0066649913787842','2020-03-17 04:21:24'),(37505,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00065493583679199','2020-03-17 04:21:24'),(37506,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0083599090576172','2020-03-17 04:21:24'),(37507,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00049996376037598','2020-03-17 04:21:25'),(37508,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0071721076965332','2020-03-17 04:21:25'),(37509,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00052094459533691','2020-03-17 04:21:25'),(37510,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0055360794067383','2020-03-17 04:21:25'),(37511,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00047087669372559','2020-03-17 04:21:25'),(37512,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.011831998825073','2020-03-17 04:21:25'),(37513,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0015981197357178','2020-03-17 04:21:25'),(37514,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.027076005935669','2020-03-17 04:21:25'),(37515,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0096349716186523','2020-03-17 04:21:25'),(37516,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.35861110687256','2020-03-17 04:21:25'),(37517,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00041317939758301','2020-03-17 04:21:25'),(37518,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0022659301757812','2020-03-17 04:21:25'),(37519,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00036096572875977','2020-03-17 04:21:25'),(37520,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0035421848297119','2020-03-17 04:21:25'),(37521,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.020005941390991','2020-03-17 04:21:25'),(37522,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0007331371307373','2020-03-17 04:21:25'),(37523,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00040316581726074','2020-03-17 04:21:25'),(37524,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039196014404297','2020-03-17 04:21:25'),(37525,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00040793418884277','2020-03-17 04:21:25'),(37526,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039196014404297','2020-03-17 04:21:25'),(37527,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039100646972656','2020-03-17 04:21:25'),(37528,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.0003809928894043','2020-03-17 04:21:25'),(37529,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039386749267578','2020-03-17 04:21:25'),(37530,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039196014404297','2020-03-17 04:21:25'),(37531,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039196014404297','2020-03-17 04:21:25'),(37532,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039196014404297','2020-03-17 04:21:25'),(37533,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039505958557129','2020-03-17 04:21:25'),(37534,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00039196014404297','2020-03-17 04:21:25'),(37535,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.00459885597229','2020-03-17 04:21:25'),(37536,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.001162052154541','2020-03-17 04:21:25'),(37537,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Partner_Office','0.004382848739624','2020-03-17 04:21:25'),(37538,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0011289119720459','2020-03-17 04:21:25'),(37539,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.006152868270874','2020-03-17 04:21:25'),(37540,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0052518844604492','2020-03-17 04:21:26'),(37541,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0048751831054688','2020-03-17 04:21:26'),(37542,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0040431022644043','2020-03-17 04:21:26'),(37543,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.004065990447998','2020-03-17 04:21:26'),(37544,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.001025915145874','2020-03-17 04:21:26'),(37545,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.01982307434082','2020-03-17 04:21:26'),(37546,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.00072717666625977','2020-03-17 04:21:26'),(37547,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004119873046875','2020-03-17 04:21:26'),(37548,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039887428283691','2020-03-17 04:21:26'),(37549,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-17 04:21:26'),(37550,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-17 04:21:26'),(37551,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-17 04:21:26'),(37552,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-17 04:21:26'),(37553,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-17 04:21:26'),(37554,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-17 04:21:26'),(37555,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-17 04:21:26'),(37556,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003972053527832','2020-03-17 04:21:26'),(37557,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040006637573242','2020-03-17 04:21:26'),(37558,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-17 04:21:26'),(37559,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052490234375','2020-03-17 04:21:26'),(37560,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0013909339904785','2020-03-17 04:21:26'),(37561,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0051839351654053','2020-03-17 04:21:26'),(37562,235,'Muhammad Danail Haikal bin Ismail','175.138.93.137','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.0011799335479736','2020-03-17 04:21:26'),(37563,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT role FROM user__role WHERE user_ID = 142','http://salihin.noip.me/mgs/login/setSession','0.00052189826965332','2020-03-17 04:23:24'),(37564,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.036801099777222','2020-03-17 04:23:29'),(37565,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.025405883789062','2020-03-17 04:23:29'),(37566,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019292116165161','2020-03-17 04:23:29'),(37567,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.012830972671509','2020-03-17 04:23:29'),(37568,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.016189098358154','2020-03-17 04:23:29'),(37569,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.027775049209595','2020-03-17 04:23:29'),(37570,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0093159675598145','2020-03-17 04:23:29'),(37571,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005450963973999','2020-03-17 04:23:29'),(37572,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.079953193664551','2020-03-17 04:23:29'),(37573,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.07887601852417','2020-03-17 04:23:29'),(37574,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014114856719971','2020-03-17 04:23:29'),(37575,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026600360870361','2020-03-17 04:23:29'),(37576,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014126062393188','2020-03-17 04:23:29'),(37577,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026490688323975','2020-03-17 04:23:29'),(37578,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.48797202110291','2020-03-17 04:23:29'),(37579,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.1610119342804','2020-03-17 04:23:29'),(37580,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.46457886695862','2020-03-17 04:23:29'),(37581,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.1549711227417','2020-03-17 04:23:29'),(37582,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.002763032913208','2020-03-17 04:23:29'),(37583,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0026891231536865','2020-03-17 04:23:29'),(37584,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0010058879852295','2020-03-17 04:23:29'),(37585,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.023259878158569','2020-03-17 04:23:29'),(37586,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00085306167602539','2020-03-17 04:23:29'),(37587,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00061488151550293','2020-03-17 04:23:29'),(37588,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036883354187012','2020-03-17 04:23:29'),(37589,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003199577331543','2020-03-17 04:23:30'),(37590,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0004270076751709','2020-03-17 04:23:30'),(37591,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031614303588867','2020-03-17 04:23:30'),(37592,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-17 04:23:30'),(37593,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039482116699219','2020-03-17 04:23:30'),(37594,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026822090148926','2020-03-17 04:23:30'),(37595,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00027108192443848','2020-03-17 04:23:30'),(37596,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033998489379883','2020-03-17 04:23:30'),(37597,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00027704238891602','2020-03-17 04:23:30'),(37598,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026106834411621','2020-03-17 04:23:30'),(37599,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0052180290222168','2020-03-17 04:23:30'),(37600,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0016250610351562','2020-03-17 04:23:30'),(37601,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0063889026641846','2020-03-17 04:23:30'),(37602,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0015418529510498','2020-03-17 04:23:30'),(37603,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050787925720215','2020-03-17 04:23:30'),(37604,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0013101100921631','2020-03-17 04:23:30'),(37605,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0058960914611816','2020-03-17 04:23:35'),(37606,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\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.004000186920166','2020-03-17 04:23:35'),(37607,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nAND `b`.`departmentID` = \'2\'\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.0061168670654297','2020-03-17 04:23:35'),(37608,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\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.0039470195770264','2020-03-17 04:23:35'),(37609,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nAND `b`.`departmentID` = \'2\'\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.0068891048431396','2020-03-17 04:23:35'),(37610,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0011210441589355','2020-03-17 04:23:35'),(37611,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.018927812576294','2020-03-17 04:23:35'),(37612,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00073003768920898','2020-03-17 04:23:35'),(37613,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036001205444336','2020-03-17 04:23:35'),(37614,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034904479980469','2020-03-17 04:23:35'),(37615,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003509521484375','2020-03-17 04:23:35'),(37616,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00038886070251465','2020-03-17 04:23:35'),(37617,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034809112548828','2020-03-17 04:23:35'),(37618,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-17 04:23:35'),(37619,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-17 04:23:35'),(37620,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036191940307617','2020-03-17 04:23:36'),(37621,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033187866210938','2020-03-17 04:23:36'),(37622,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003509521484375','2020-03-17 04:23:36'),(37623,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-17 04:23:36'),(37624,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036096572875977','2020-03-17 04:23:36'),(37625,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.004040002822876','2020-03-17 04:23:36'),(37626,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0010960102081299','2020-03-17 04:23:36'),(37627,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0039830207824707','2020-03-17 04:23:36'),(37628,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0010778903961182','2020-03-17 04:23:36'),(37629,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.035857915878296','2020-03-17 04:25:46'),(37630,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.026323080062866','2020-03-17 04:25:46'),(37631,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019428968429565','2020-03-17 04:25:46'),(37632,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.011132001876831','2020-03-17 04:25:46'),(37633,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.017122983932495','2020-03-17 04:25:46'),(37634,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.029181003570557','2020-03-17 04:25:46'),(37635,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0095949172973633','2020-03-17 04:25:46'),(37636,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0057449340820312','2020-03-17 04:25:46'),(37637,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.074555158615112','2020-03-17 04:25:46'),(37638,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.072670936584473','2020-03-17 04:25:46'),(37639,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014657020568848','2020-03-17 04:25:46'),(37640,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0030879974365234','2020-03-17 04:25:46'),(37641,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.01433801651001','2020-03-17 04:25:46'),(37642,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0028839111328125','2020-03-17 04:25:46'),(37643,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.45827102661133','2020-03-17 04:25:46'),(37644,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.16735506057739','2020-03-17 04:25:47'),(37645,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.48813819885254','2020-03-17 04:25:47'),(37646,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.13268399238586','2020-03-17 04:25:47'),(37647,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0019519329071045','2020-03-17 04:25:47'),(37648,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0018858909606934','2020-03-17 04:25:47'),(37649,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00065898895263672','2020-03-17 04:25:47'),(37650,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.021328926086426','2020-03-17 04:25:47'),(37651,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00084614753723145','2020-03-17 04:25:47'),(37652,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040292739868164','2020-03-17 04:25:47'),(37653,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037908554077148','2020-03-17 04:25:47'),(37654,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-17 04:25:47'),(37655,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00043201446533203','2020-03-17 04:25:47'),(37656,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037884712219238','2020-03-17 04:25:47'),(37657,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042414665222168','2020-03-17 04:25:47'),(37658,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037693977355957','2020-03-17 04:25:47'),(37659,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038003921508789','2020-03-17 04:25:47'),(37660,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039505958557129','2020-03-17 04:25:47'),(37661,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037693977355957','2020-03-17 04:25:47'),(37662,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-17 04:25:47'),(37663,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038909912109375','2020-03-17 04:25:47'),(37664,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051929950714111','2020-03-17 04:25:47'),(37665,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0013880729675293','2020-03-17 04:25:47'),(37666,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049529075622559','2020-03-17 04:25:47'),(37667,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0015490055084229','2020-03-17 04:25:47'),(37668,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005263090133667','2020-03-17 04:25:47'),(37669,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0014100074768066','2020-03-17 04:25:47'),(37670,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.038501024246216','2020-03-17 04:26:33'),(37671,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.02660083770752','2020-03-17 04:26:33'),(37672,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.022768020629883','2020-03-17 04:26:33'),(37673,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010349035263062','2020-03-17 04:26:33'),(37674,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.01711893081665','2020-03-17 04:26:33'),(37675,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.027351856231689','2020-03-17 04:26:33'),(37676,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0091958045959473','2020-03-17 04:26:33'),(37677,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054929256439209','2020-03-17 04:26:33'),(37678,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.076245069503784','2020-03-17 04:26:33'),(37679,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.078919172286987','2020-03-17 04:26:33'),(37680,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014165878295898','2020-03-17 04:26:33'),(37681,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026171207427979','2020-03-17 04:26:33'),(37682,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014384031295776','2020-03-17 04:26:33'),(37683,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0028979778289795','2020-03-17 04:26:33'),(37684,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.4811589717865','2020-03-17 04:26:33'),(37685,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.19546318054199','2020-03-17 04:26:33'),(37686,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.52580595016479','2020-03-17 04:26:33'),(37687,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.16124510765076','2020-03-17 04:26:33'),(37688,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0026061534881592','2020-03-17 04:26:33'),(37689,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0025639533996582','2020-03-17 04:26:33'),(37690,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00088810920715332','2020-03-17 04:26:33'),(37691,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.02137303352356','2020-03-17 04:26:33'),(37692,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.000823974609375','2020-03-17 04:26:33'),(37693,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036191940307617','2020-03-17 04:26:33'),(37694,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034308433532715','2020-03-17 04:26:33'),(37695,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034093856811523','2020-03-17 04:26:33'),(37696,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033688545227051','2020-03-17 04:26:33'),(37697,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032782554626465','2020-03-17 04:26:33'),(37698,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033688545227051','2020-03-17 04:26:33'),(37699,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032806396484375','2020-03-17 04:26:33'),(37700,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003359317779541','2020-03-17 04:26:33'),(37701,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-17 04:26:33'),(37702,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032591819763184','2020-03-17 04:26:33'),(37703,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033187866210938','2020-03-17 04:26:33'),(37704,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033402442932129','2020-03-17 04:26:33'),(37705,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0052170753479004','2020-03-17 04:26:33'),(37706,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0013830661773682','2020-03-17 04:26:33'),(37707,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050311088562012','2020-03-17 04:26:33'),(37708,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0013799667358398','2020-03-17 04:26:33'),(37709,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050408840179443','2020-03-17 04:26:33'),(37710,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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-17 04:26:33'),(37711,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.037286996841431','2020-03-17 04:27:27'),(37712,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.027122974395752','2020-03-17 04:27:27'),(37713,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.020082950592041','2020-03-17 04:27:27'),(37714,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.013066053390503','2020-03-17 04:27:27'),(37715,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.018179178237915','2020-03-17 04:27:27'),(37716,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.027576208114624','2020-03-17 04:27:28'),(37717,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0092849731445312','2020-03-17 04:27:28'),(37718,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.00541090965271','2020-03-17 04:27:28'),(37719,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.079024076461792','2020-03-17 04:27:28'),(37720,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.072990894317627','2020-03-17 04:27:28'),(37721,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012871980667114','2020-03-17 04:27:28'),(37722,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0027689933776855','2020-03-17 04:27:28'),(37723,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014302968978882','2020-03-17 04:27:28'),(37724,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026118755340576','2020-03-17 04:27:28'),(37725,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.53235507011414','2020-03-17 04:27:28'),(37726,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.17577004432678','2020-03-17 04:27:28'),(37727,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.50825810432434','2020-03-17 04:27:28'),(37728,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) 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` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.18210005760193','2020-03-17 04:27:28'),(37729,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0027139186859131','2020-03-17 04:27:28'),(37730,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0026569366455078','2020-03-17 04:27:28'),(37731,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00086784362792969','2020-03-17 04:27:28'),(37732,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.014910936355591','2020-03-17 04:27:28'),(37733,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00074195861816406','2020-03-17 04:27:28'),(37734,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041699409484863','2020-03-17 04:27:28'),(37735,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021195411682129','2020-03-17 04:27:28'),(37736,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001990795135498','2020-03-17 04:27:28'),(37737,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00019192695617676','2020-03-17 04:27:28'),(37738,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022792816162109','2020-03-17 04:27:28'),(37739,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0002739429473877','2020-03-17 04:27:28'),(37740,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021791458129883','2020-03-17 04:27:28'),(37741,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020885467529297','2020-03-17 04:27:28'),(37742,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00027084350585938','2020-03-17 04:27:28'),(37743,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00019407272338867','2020-03-17 04:27:28'),(37744,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0002601146697998','2020-03-17 04:27:28'),(37745,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024008750915527','2020-03-17 04:27:28'),(37746,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0034158229827881','2020-03-17 04:27:28'),(37747,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.00092005729675293','2020-03-17 04:27:28'),(37748,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0046191215515137','2020-03-17 04:27:28'),(37749,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.001230001449585','2020-03-17 04:27:28'),(37750,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.004857063293457','2020-03-17 04:27:28'),(37751,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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.0013589859008789','2020-03-17 04:27:28'),(37752,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0005948543548584','2020-03-17 04:28:28'),(37753,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0080280303955078','2020-03-17 04:28:28'),(37754,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00052404403686523','2020-03-17 04:28:28'),(37755,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0063478946685791','2020-03-17 04:28:28'),(37756,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00048303604125977','2020-03-17 04:28:28'),(37757,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0057580471038818','2020-03-17 04:28:29'),(37758,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0004730224609375','2020-03-17 04:28:29'),(37759,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0058410167694092','2020-03-17 04:28:29'),(37760,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00053286552429199','2020-03-17 04:28:29'),(37761,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0059018135070801','2020-03-17 04:28:29'),(37762,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'Shared_Services\'\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0013539791107178','2020-03-17 04:28:29'),(37763,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.026659965515137','2020-03-17 04:28:29'),(37764,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0092968940734863','2020-03-17 04:28:29'),(37765,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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 = \"Shared Services\"))\nORDER BY `c`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.39800310134888','2020-03-17 04:28:29'),(37766,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00055789947509766','2020-03-17 04:28:29'),(37767,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`ID` desc','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0029420852661133','2020-03-17 04:28:29'),(37768,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00047683715820312','2020-03-17 04:28:29'),(37769,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0067069530487061','2020-03-17 04:28:29'),(37770,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.021461963653564','2020-03-17 04:28:29'),(37771,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.00079202651977539','2020-03-17 04:28:29'),(37772,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00069403648376465','2020-03-17 04:28:29'),(37773,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00032782554626465','2020-03-17 04:28:29'),(37774,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00035810470581055','2020-03-17 04:28:29'),(37775,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00032496452331543','2020-03-17 04:28:29'),(37776,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00081181526184082','2020-03-17 04:28:29'),(37777,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00027298927307129','2020-03-17 04:28:29'),(37778,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00035595893859863','2020-03-17 04:28:29'),(37779,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00037503242492676','2020-03-17 04:28:29'),(37780,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00040507316589355','2020-03-17 04:28:29'),(37781,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00039100646972656','2020-03-17 04:28:29'),(37782,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034499168395996','2020-03-17 04:28:29'),(37783,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00032496452331543','2020-03-17 04:28:29'),(37784,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0047581195831299','2020-03-17 04:28:29'),(37785,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0013828277587891','2020-03-17 04:28:29'),(37786,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0050327777862549','2020-03-17 04:28:29'),(37787,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0013198852539062','2020-03-17 04:28:29'),(37788,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/759/8','0.00054812431335449','2020-03-17 04:28:43'),(37789,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00075984001159668','2020-03-17 04:28:43'),(37790,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/759/8','0.00067591667175293','2020-03-17 04:28:43'),(37791,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/759/8','0.00058698654174805','2020-03-17 04:28:43'),(37792,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/759/8','0.0010759830474854','2020-03-17 04:28:43'),(37793,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00081896781921387','2020-03-17 04:28:43'),(37794,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/759/8','0.00039386749267578','2020-03-17 04:28:43'),(37795,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/759/8','0.18604111671448','2020-03-17 04:28:43'),(37796,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/759/8','0.00089693069458008','2020-03-17 04:28:43'),(37797,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'','http://salihin.noip.me/mgs/projects/job/759/8','0.0010318756103516','2020-03-17 04:28:43'),(37798,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.18184900283813','2020-03-17 04:28:43'),(37799,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00074601173400879','2020-03-17 04:28:43'),(37800,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(759,jobID)','http://salihin.noip.me/mgs/projects/job/759/8','0.23038911819458','2020-03-17 04:28:43'),(37801,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'','http://salihin.noip.me/mgs/projects/job/759/8','0.0010819435119629','2020-03-17 04:28:43'),(37802,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.18376493453979','2020-03-17 04:28:43'),(37803,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00075006484985352','2020-03-17 04:28:43'),(37804,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'760\'','http://salihin.noip.me/mgs/projects/job/759/8','0.0009160041809082','2020-03-17 04:28:43'),(37805,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'760\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.17361307144165','2020-03-17 04:28:43'),(37806,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'760\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00084400177001953','2020-03-17 04:28:43'),(37807,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(759,jobID)','http://salihin.noip.me/mgs/projects/job/759/8','0.24814200401306','2020-03-17 04:28:43'),(37808,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'','http://salihin.noip.me/mgs/projects/job/759/8','0.00097298622131348','2020-03-17 04:28:43'),(37809,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.14472699165344','2020-03-17 04:28:43'),(37810,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'759\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00055885314941406','2020-03-17 04:28:43'),(37811,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'760\'','http://salihin.noip.me/mgs/projects/job/759/8','0.00068497657775879','2020-03-17 04:28:43'),(37812,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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` = \'760\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.12245583534241','2020-03-17 04:28:43'),(37813,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'760\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/759/8','0.00054502487182617','2020-03-17 04:28:43'),(37814,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'297\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/759/8','0.011951923370361','2020-03-17 04:28:43'),(37815,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/759/8','0.00043797492980957','2020-03-17 04:28:43'),(37816,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00021696090698242','2020-03-17 04:28:43'),(37817,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.0001988410949707','2020-03-17 04:28:43'),(37818,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00019502639770508','2020-03-17 04:28:43'),(37819,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00019598007202148','2020-03-17 04:28:43'),(37820,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00023603439331055','2020-03-17 04:28:43'),(37821,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.000244140625','2020-03-17 04:28:43'),(37822,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00026798248291016','2020-03-17 04:28:43'),(37823,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00025010108947754','2020-03-17 04:28:43'),(37824,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00024604797363281','2020-03-17 04:28:43'),(37825,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00025105476379395','2020-03-17 04:28:43'),(37826,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00024509429931641','2020-03-17 04:28:43'),(37827,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/759/8','0.00024318695068359','2020-03-17 04:28:43'),(37828,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/759/8','0.0040359497070312','2020-03-17 04:28:43'),(37829,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/759/8','0.0010218620300293','2020-03-17 04:28:43'),(37830,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/759/8','0.0052478313446045','2020-03-17 04:28:43'),(37831,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/759/8','0.0012612342834473','2020-03-17 04:28:43'),(37832,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/759/8','0.0053150653839111','2020-03-17 04:28:43'),(37833,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/759/8','0.0012941360473633','2020-03-17 04:28:43'),(37834,297,'Amalina \'Izzati Binti Abdullah','203.121.88.20','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/759/8','0.00092101097106934','2020-03-17 04:28:43'),(37835,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1294/2','0.00060200691223145','2020-03-17 04:28:54'),(37836,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.00076389312744141','2020-03-17 04:28:54'),(37837,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1294/2','0.00067996978759766','2020-03-17 04:28:54'),(37838,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00058102607727051','2020-03-17 04:28:54'),(37839,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1294/2','0.0010509490966797','2020-03-17 04:28:54'),(37840,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.00087714195251465','2020-03-17 04:28:54'),(37841,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1294/2','0.00047683715820312','2020-03-17 04:28:54'),(37842,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1294/2','0.18668508529663','2020-03-17 04:28:54'),(37843,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1294/2','0.0007929801940918','2020-03-17 04:28:54'),(37844,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'','http://salihin.noip.me/mgs/projects/job/1294/2','0.00097799301147461','2020-03-17 04:28:54'),(37845,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.0018720626831055','2020-03-17 04:28:54'),(37846,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.00072503089904785','2020-03-17 04:28:54'),(37847,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1294,jobID)','http://salihin.noip.me/mgs/projects/job/1294/2','0.23871088027954','2020-03-17 04:28:54'),(37848,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'','http://salihin.noip.me/mgs/projects/job/1294/2','0.0010781288146973','2020-03-17 04:28:54'),(37849,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.0019140243530273','2020-03-17 04:28:54'),(37850,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.0007779598236084','2020-03-17 04:28:54'),(37851,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1294,jobID)','http://salihin.noip.me/mgs/projects/job/1294/2','0.30867600440979','2020-03-17 04:28:54'),(37852,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'','http://salihin.noip.me/mgs/projects/job/1294/2','0.0010030269622803','2020-03-17 04:28:54'),(37853,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.0018520355224609','2020-03-17 04:28:54'),(37854,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1294\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1294/2','0.0007178783416748','2020-03-17 04:28:54'),(37855,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1294/2','0.020998001098633','2020-03-17 04:28:54'),(37856,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1294/2','0.00080299377441406','2020-03-17 04:28:54'),(37857,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00036907196044922','2020-03-17 04:28:54'),(37858,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00034713745117188','2020-03-17 04:28:54'),(37859,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00034904479980469','2020-03-17 04:28:54'),(37860,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00034189224243164','2020-03-17 04:28:54'),(37861,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00033807754516602','2020-03-17 04:28:54'),(37862,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00033807754516602','2020-03-17 04:28:54'),(37863,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00034308433532715','2020-03-17 04:28:54'),(37864,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00033712387084961','2020-03-17 04:28:54'),(37865,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.0003359317779541','2020-03-17 04:28:54'),(37866,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.0003359317779541','2020-03-17 04:28:54'),(37867,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00034093856811523','2020-03-17 04:28:54'),(37868,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1294/2','0.00033783912658691','2020-03-17 04:28:54'),(37869,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1294/2','0.005216121673584','2020-03-17 04:28:54'),(37870,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1294/2','0.0013189315795898','2020-03-17 04:28:54'),(37871,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1294/2','0.0052468776702881','2020-03-17 04:28:54'),(37872,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1294/2','0.0012791156768799','2020-03-17 04:28:54'),(37873,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1294/2','0.0052249431610107','2020-03-17 04:28:54'),(37874,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1294/2','0.0012409687042236','2020-03-17 04:28:55'),(37875,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1294/2','0.00080513954162598','2020-03-17 04:28:55'),(37876,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00058507919311523','2020-03-17 04:29:20'),(37877,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0089750289916992','2020-03-17 04:29:20'),(37878,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00052618980407715','2020-03-17 04:29:20'),(37879,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0063350200653076','2020-03-17 04:29:20'),(37880,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00048208236694336','2020-03-17 04:29:20'),(37881,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0055229663848877','2020-03-17 04:29:20'),(37882,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00047087669372559','2020-03-17 04:29:20'),(37883,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0071768760681152','2020-03-17 04:29:20'),(37884,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0005338191986084','2020-03-17 04:29:20'),(37885,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0049021244049072','2020-03-17 04:29:20'),(37886,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'Shared_Services\'\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0013518333435059','2020-03-17 04:29:20'),(37887,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.028677940368652','2020-03-17 04:29:20'),(37888,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0094988346099854','2020-03-17 04:29:20'),(37889,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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 = \"Shared Services\"))\nORDER BY `c`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.37160992622375','2020-03-17 04:29:20'),(37890,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00040793418884277','2020-03-17 04:29:20'),(37891,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`ID` desc','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0021998882293701','2020-03-17 04:29:20'),(37892,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00035500526428223','2020-03-17 04:29:20'),(37893,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0060989856719971','2020-03-17 04:29:20'),(37894,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.021143913269043','2020-03-17 04:29:20'),(37895,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.00082707405090332','2020-03-17 04:29:20'),(37896,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00035810470581055','2020-03-17 04:29:20'),(37897,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034093856811523','2020-03-17 04:29:20'),(37898,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034499168395996','2020-03-17 04:29:20'),(37899,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033688545227051','2020-03-17 04:29:20'),(37900,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00035595893859863','2020-03-17 04:29:20'),(37901,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033807754516602','2020-03-17 04:29:21'),(37902,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0003359317779541','2020-03-17 04:29:21'),(37903,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033998489379883','2020-03-17 04:29:21'),(37904,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0003349781036377','2020-03-17 04:29:21'),(37905,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033903121948242','2020-03-17 04:29:21'),(37906,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033688545227051','2020-03-17 04:29:21'),(37907,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033903121948242','2020-03-17 04:29:21'),(37908,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.005396842956543','2020-03-17 04:29:21'),(37909,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0015408992767334','2020-03-17 04:29:21'),(37910,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0052189826965332','2020-03-17 04:29:21'),(37911,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0013980865478516','2020-03-17 04:29:21'),(37912,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00052309036254883','2020-03-17 04:29:28'),(37913,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00069999694824219','2020-03-17 04:29:28'),(37914,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.00060701370239258','2020-03-17 04:29:28'),(37915,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00050806999206543','2020-03-17 04:29:28'),(37916,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0009770393371582','2020-03-17 04:29:28'),(37917,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00077295303344727','2020-03-17 04:29:28'),(37918,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00042009353637695','2020-03-17 04:29:28'),(37919,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.18302607536316','2020-03-17 04:29:29'),(37920,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.00082492828369141','2020-03-17 04:29:29'),(37921,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010478496551514','2020-03-17 04:29:29'),(37922,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0018918514251709','2020-03-17 04:29:29'),(37923,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00077199935913086','2020-03-17 04:29:29'),(37924,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1381,jobID)','http://salihin.noip.me/mgs/projects/job/1381/2','0.25425505638123','2020-03-17 04:29:29'),(37925,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010812282562256','2020-03-17 04:29:29'),(37926,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0018448829650879','2020-03-17 04:29:29'),(37927,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00073504447937012','2020-03-17 04:29:29'),(37928,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1381,jobID)','http://salihin.noip.me/mgs/projects/job/1381/2','0.23069405555725','2020-03-17 04:29:29'),(37929,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010631084442139','2020-03-17 04:29:29'),(37930,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0018370151519775','2020-03-17 04:29:29'),(37931,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0007319450378418','2020-03-17 04:29:29'),(37932,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.021121978759766','2020-03-17 04:29:29'),(37933,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.00079011917114258','2020-03-17 04:29:29'),(37934,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00037193298339844','2020-03-17 04:29:29'),(37935,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00034809112548828','2020-03-17 04:29:29'),(37936,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00034308433532715','2020-03-17 04:29:29'),(37937,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040698051452637','2020-03-17 04:29:29'),(37938,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040292739868164','2020-03-17 04:29:29'),(37939,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040292739868164','2020-03-17 04:29:29'),(37940,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040698051452637','2020-03-17 04:29:29'),(37941,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040221214294434','2020-03-17 04:29:29'),(37942,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040817260742188','2020-03-17 04:29:29'),(37943,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040507316589355','2020-03-17 04:29:29'),(37944,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040197372436523','2020-03-17 04:29:29'),(37945,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040912628173828','2020-03-17 04:29:29'),(37946,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0053210258483887','2020-03-17 04:29:29'),(37947,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0013720989227295','2020-03-17 04:29:29'),(37948,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0052490234375','2020-03-17 04:29:29'),(37949,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0012500286102295','2020-03-17 04:29:29'),(37950,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0053431987762451','2020-03-17 04:29:29'),(37951,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0013689994812012','2020-03-17 04:29:29'),(37952,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.00086116790771484','2020-03-17 04:29:29'),(37953,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nWHERE `service_id` = \'11\'\nORDER BY `service_id`','http://salihin.noip.me/mgs/projects/getJob','0.00075316429138184','2020-03-17 04:29:35'),(37954,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00058794021606445','2020-03-17 04:29:43'),(37955,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00075888633728027','2020-03-17 04:29:43'),(37956,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.00068497657775879','2020-03-17 04:29:43'),(37957,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00056791305541992','2020-03-17 04:29:43'),(37958,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0011129379272461','2020-03-17 04:29:43'),(37959,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0028820037841797','2020-03-17 04:29:43'),(37960,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00056219100952148','2020-03-17 04:29:43'),(37961,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.17612409591675','2020-03-17 04:29:43'),(37962,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.00069522857666016','2020-03-17 04:29:43'),(37963,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00085091590881348','2020-03-17 04:29:43'),(37964,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0016248226165771','2020-03-17 04:29:43'),(37965,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00060606002807617','2020-03-17 04:29:43'),(37966,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1381,jobID)','http://salihin.noip.me/mgs/projects/job/1381/2','0.24490094184875','2020-03-17 04:29:43'),(37967,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010840892791748','2020-03-17 04:29:44'),(37968,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0019729137420654','2020-03-17 04:29:44'),(37969,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00077104568481445','2020-03-17 04:29:44'),(37970,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1381,jobID)','http://salihin.noip.me/mgs/projects/job/1381/2','0.22492504119873','2020-03-17 04:29:44'),(37971,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00085806846618652','2020-03-17 04:29:44'),(37972,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0015280246734619','2020-03-17 04:29:44'),(37973,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00063300132751465','2020-03-17 04:29:44'),(37974,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.017314910888672','2020-03-17 04:29:44'),(37975,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.00063991546630859','2020-03-17 04:29:44'),(37976,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00027704238891602','2020-03-17 04:29:44'),(37977,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00026512145996094','2020-03-17 04:29:44'),(37978,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00026893615722656','2020-03-17 04:29:44'),(37979,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00026583671569824','2020-03-17 04:29:44'),(37980,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00026106834411621','2020-03-17 04:29:44'),(37981,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00025701522827148','2020-03-17 04:29:44'),(37982,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00027012825012207','2020-03-17 04:29:44'),(37983,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00026202201843262','2020-03-17 04:29:44'),(37984,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00025606155395508','2020-03-17 04:29:44'),(37985,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00025486946105957','2020-03-17 04:29:44'),(37986,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00026202201843262','2020-03-17 04:29:44'),(37987,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00025606155395508','2020-03-17 04:29:44'),(37988,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0038881301879883','2020-03-17 04:29:44'),(37989,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0013902187347412','2020-03-17 04:29:44'),(37990,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0055577754974365','2020-03-17 04:29:44'),(37991,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0013549327850342','2020-03-17 04:29:44'),(37992,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0053420066833496','2020-03-17 04:29:44'),(37993,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0013139247894287','2020-03-17 04:29:44'),(37994,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.00085902214050293','2020-03-17 04:29:44'),(37995,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00054788589477539','2020-03-17 04:29:53'),(37996,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00078415870666504','2020-03-17 04:29:53'),(37997,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.00067901611328125','2020-03-17 04:29:53'),(37998,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1381/2','0.000579833984375','2020-03-17 04:29:53'),(37999,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010578632354736','2020-03-17 04:29:53'),(38000,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00086283683776855','2020-03-17 04:29:53'),(38001,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.00047397613525391','2020-03-17 04:29:53'),(38002,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.18484401702881','2020-03-17 04:29:53'),(38003,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.00086092948913574','2020-03-17 04:29:53'),(38004,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.001032829284668','2020-03-17 04:29:53'),(38005,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.18355298042297','2020-03-17 04:29:53'),(38006,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00071907043457031','2020-03-17 04:29:53'),(38007,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1381,jobID)','http://salihin.noip.me/mgs/projects/job/1381/2','0.24716711044312','2020-03-17 04:29:53'),(38008,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010800361633301','2020-03-17 04:29:53'),(38009,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.18457889556885','2020-03-17 04:29:53'),(38010,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.0007469654083252','2020-03-17 04:29:53'),(38011,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1381,jobID)','http://salihin.noip.me/mgs/projects/job/1381/2','0.23592400550842','2020-03-17 04:29:53'),(38012,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'','http://salihin.noip.me/mgs/projects/job/1381/2','0.0010530948638916','2020-03-17 04:29:53'),(38013,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.1852879524231','2020-03-17 04:29:53'),(38014,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1381\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1381/2','0.00085783004760742','2020-03-17 04:29:53'),(38015,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1381/2','0.019160985946655','2020-03-17 04:29:53'),(38016,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.00074887275695801','2020-03-17 04:29:53'),(38017,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00036501884460449','2020-03-17 04:29:53'),(38018,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0003969669342041','2020-03-17 04:29:53'),(38019,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00035881996154785','2020-03-17 04:29:54'),(38020,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00035786628723145','2020-03-17 04:29:54'),(38021,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00046396255493164','2020-03-17 04:29:54'),(38022,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040388107299805','2020-03-17 04:29:54'),(38023,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040102005004883','2020-03-17 04:29:54'),(38024,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00041913986206055','2020-03-17 04:29:54'),(38025,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040102005004883','2020-03-17 04:29:54'),(38026,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040602684020996','2020-03-17 04:29:54'),(38027,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00039815902709961','2020-03-17 04:29:54'),(38028,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1381/2','0.00040006637573242','2020-03-17 04:29:54'),(38029,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0053739547729492','2020-03-17 04:29:54'),(38030,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0014121532440186','2020-03-17 04:29:54'),(38031,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0052530765533447','2020-03-17 04:29:54'),(38032,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0013020038604736','2020-03-17 04:29:54'),(38033,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1381/2','0.0052039623260498','2020-03-17 04:29:54'),(38034,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0012590885162354','2020-03-17 04:29:54'),(38035,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1381/2','0.0008080005645752','2020-03-17 04:29:54'),(38036,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00060820579528809','2020-03-17 04:30:06'),(38037,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0078239440917969','2020-03-17 04:30:06'),(38038,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00054502487182617','2020-03-17 04:30:06'),(38039,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0075249671936035','2020-03-17 04:30:06'),(38040,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00047993659973145','2020-03-17 04:30:06'),(38041,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0056190490722656','2020-03-17 04:30:06'),(38042,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00047206878662109','2020-03-17 04:30:06'),(38043,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.006417989730835','2020-03-17 04:30:06'),(38044,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00058317184448242','2020-03-17 04:30:06'),(38045,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0050828456878662','2020-03-17 04:30:06'),(38046,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'Shared_Services\'\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0013351440429688','2020-03-17 04:30:06'),(38047,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.027092933654785','2020-03-17 04:30:06'),(38048,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0096230506896973','2020-03-17 04:30:06'),(38049,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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 = \"Shared Services\"))\nORDER BY `c`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.38460803031921','2020-03-17 04:30:06'),(38050,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0004420280456543','2020-03-17 04:30:06'),(38051,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`ID` desc','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0023448467254639','2020-03-17 04:30:06'),(38052,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034904479980469','2020-03-17 04:30:06'),(38053,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.004119873046875','2020-03-17 04:30:06'),(38054,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.015286922454834','2020-03-17 04:30:06'),(38055,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.00055885314941406','2020-03-17 04:30:06'),(38056,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00023984909057617','2020-03-17 04:30:06'),(38057,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00021505355834961','2020-03-17 04:30:06'),(38058,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00021719932556152','2020-03-17 04:30:06'),(38059,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00021004676818848','2020-03-17 04:30:06'),(38060,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0002138614654541','2020-03-17 04:30:06'),(38061,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00020909309387207','2020-03-17 04:30:06'),(38062,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00021100044250488','2020-03-17 04:30:06'),(38063,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00020909309387207','2020-03-17 04:30:06'),(38064,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00022602081298828','2020-03-17 04:30:06'),(38065,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00020885467529297','2020-03-17 04:30:06'),(38066,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00021004676818848','2020-03-17 04:30:06'),(38067,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00020813941955566','2020-03-17 04:30:06'),(38068,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0031509399414062','2020-03-17 04:30:06'),(38069,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.00082492828369141','2020-03-17 04:30:06'),(38070,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0029590129852295','2020-03-17 04:30:07'),(38071,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.00076103210449219','2020-03-17 04:30:07'),(38072,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00057005882263184','2020-03-17 04:30:11'),(38073,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00078105926513672','2020-03-17 04:30:11'),(38074,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.00067687034606934','2020-03-17 04:30:12'),(38075,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00058412551879883','2020-03-17 04:30:12'),(38076,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0010750293731689','2020-03-17 04:30:12'),(38077,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00083112716674805','2020-03-17 04:30:12'),(38078,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00043606758117676','2020-03-17 04:30:12'),(38079,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.19319105148315','2020-03-17 04:30:12'),(38080,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.00076985359191895','2020-03-17 04:30:12'),(38081,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00097393989562988','2020-03-17 04:30:12'),(38082,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0018539428710938','2020-03-17 04:30:12'),(38083,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00078511238098145','2020-03-17 04:30:12'),(38084,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1380,jobID)','http://salihin.noip.me/mgs/projects/job/1380/2','0.23649787902832','2020-03-17 04:30:12'),(38085,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00094103813171387','2020-03-17 04:30:12'),(38086,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0016419887542725','2020-03-17 04:30:12'),(38087,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00066709518432617','2020-03-17 04:30:12'),(38088,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1380,jobID)','http://salihin.noip.me/mgs/projects/job/1380/2','0.2038459777832','2020-03-17 04:30:12'),(38089,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00079011917114258','2020-03-17 04:30:12'),(38090,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0013370513916016','2020-03-17 04:30:12'),(38091,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00053310394287109','2020-03-17 04:30:12'),(38092,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.016463994979858','2020-03-17 04:30:12'),(38093,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.00082802772521973','2020-03-17 04:30:12'),(38094,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00041007995605469','2020-03-17 04:30:12'),(38095,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0003502368927002','2020-03-17 04:30:12'),(38096,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00035309791564941','2020-03-17 04:30:12'),(38097,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00034499168395996','2020-03-17 04:30:12'),(38098,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00034308433532715','2020-03-17 04:30:12'),(38099,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00034904479980469','2020-03-17 04:30:12'),(38100,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00034093856811523','2020-03-17 04:30:12'),(38101,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00033903121948242','2020-03-17 04:30:12'),(38102,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00034499168395996','2020-03-17 04:30:12'),(38103,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00033903121948242','2020-03-17 04:30:12'),(38104,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00033807754516602','2020-03-17 04:30:12'),(38105,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00034308433532715','2020-03-17 04:30:12'),(38106,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0053339004516602','2020-03-17 04:30:12'),(38107,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0014359951019287','2020-03-17 04:30:12'),(38108,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0053889751434326','2020-03-17 04:30:12'),(38109,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0013580322265625','2020-03-17 04:30:12'),(38110,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00518798828125','2020-03-17 04:30:12'),(38111,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0012521743774414','2020-03-17 04:30:12'),(38112,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.00080704689025879','2020-03-17 04:30:12'),(38113,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nWHERE `service_id` = \'11\'\nORDER BY `service_id`','http://salihin.noip.me/mgs/projects/getJob','0.00074005126953125','2020-03-17 04:30:16'),(38114,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00060200691223145','2020-03-17 04:30:22'),(38115,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00076389312744141','2020-03-17 04:30:22'),(38116,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.00068211555480957','2020-03-17 04:30:23'),(38117,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00058388710021973','2020-03-17 04:30:23'),(38118,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0010569095611572','2020-03-17 04:30:23'),(38119,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00085115432739258','2020-03-17 04:30:23'),(38120,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00051999092102051','2020-03-17 04:30:23'),(38121,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.18614220619202','2020-03-17 04:30:23'),(38122,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.00066304206848145','2020-03-17 04:30:23'),(38123,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.0008699893951416','2020-03-17 04:30:23'),(38124,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0016689300537109','2020-03-17 04:30:23'),(38125,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00066399574279785','2020-03-17 04:30:23'),(38126,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1380,jobID)','http://salihin.noip.me/mgs/projects/job/1380/2','0.232834815979','2020-03-17 04:30:23'),(38127,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.0010490417480469','2020-03-17 04:30:23'),(38128,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0018441677093506','2020-03-17 04:30:23'),(38129,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00072598457336426','2020-03-17 04:30:23'),(38130,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1380,jobID)','http://salihin.noip.me/mgs/projects/job/1380/2','0.21645212173462','2020-03-17 04:30:23'),(38131,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.0010700225830078','2020-03-17 04:30:23'),(38132,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0019211769104004','2020-03-17 04:30:23'),(38133,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00080704689025879','2020-03-17 04:30:23'),(38134,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.021426916122437','2020-03-17 04:30:23'),(38135,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.00081896781921387','2020-03-17 04:30:23'),(38136,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040912628173828','2020-03-17 04:30:23'),(38137,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00041890144348145','2020-03-17 04:30:23'),(38138,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040102005004883','2020-03-17 04:30:23'),(38139,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040102005004883','2020-03-17 04:30:23'),(38140,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039887428283691','2020-03-17 04:30:23'),(38141,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040602684020996','2020-03-17 04:30:23'),(38142,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040197372436523','2020-03-17 04:30:23'),(38143,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039911270141602','2020-03-17 04:30:23'),(38144,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040698051452637','2020-03-17 04:30:23'),(38145,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040197372436523','2020-03-17 04:30:23'),(38146,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00044083595275879','2020-03-17 04:30:23'),(38147,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039815902709961','2020-03-17 04:30:23'),(38148,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0053870677947998','2020-03-17 04:30:23'),(38149,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0014269351959229','2020-03-17 04:30:23'),(38150,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0080599784851074','2020-03-17 04:30:23'),(38151,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0015900135040283','2020-03-17 04:30:23'),(38152,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0056788921356201','2020-03-17 04:30:23'),(38153,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0014421939849854','2020-03-17 04:30:23'),(38154,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.00090789794921875','2020-03-17 04:30:23'),(38155,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00049805641174316','2020-03-17 04:30:32'),(38156,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00074005126953125','2020-03-17 04:30:32'),(38157,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.00063395500183105','2020-03-17 04:30:32'),(38158,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00052690505981445','2020-03-17 04:30:32'),(38159,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0010569095611572','2020-03-17 04:30:32'),(38160,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00084495544433594','2020-03-17 04:30:32'),(38161,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00047183036804199','2020-03-17 04:30:32'),(38162,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.18545293807983','2020-03-17 04:30:32'),(38163,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.00081706047058105','2020-03-17 04:30:32'),(38164,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.0010290145874023','2020-03-17 04:30:32'),(38165,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.18418502807617','2020-03-17 04:30:32'),(38166,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00070595741271973','2020-03-17 04:30:32'),(38167,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1380,jobID)','http://salihin.noip.me/mgs/projects/job/1380/2','0.19577598571777','2020-03-17 04:30:32'),(38168,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00074076652526855','2020-03-17 04:30:32'),(38169,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.13069987297058','2020-03-17 04:30:32'),(38170,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.00077581405639648','2020-03-17 04:30:32'),(38171,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1380,jobID)','http://salihin.noip.me/mgs/projects/job/1380/2','0.25787806510925','2020-03-17 04:30:32'),(38172,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'','http://salihin.noip.me/mgs/projects/job/1380/2','0.00097203254699707','2020-03-17 04:30:32'),(38173,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.18332195281982','2020-03-17 04:30:32'),(38174,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1380\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1380/2','0.0007631778717041','2020-03-17 04:30:32'),(38175,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1380/2','0.021190881729126','2020-03-17 04:30:32'),(38176,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.000823974609375','2020-03-17 04:30:32'),(38177,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040698051452637','2020-03-17 04:30:32'),(38178,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0003969669342041','2020-03-17 04:30:32'),(38179,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040006637573242','2020-03-17 04:30:32'),(38180,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00041484832763672','2020-03-17 04:30:32'),(38181,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040006637573242','2020-03-17 04:30:32'),(38182,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039911270141602','2020-03-17 04:30:32'),(38183,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039792060852051','2020-03-17 04:30:33'),(38184,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039887428283691','2020-03-17 04:30:33'),(38185,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040006637573242','2020-03-17 04:30:33'),(38186,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00040102005004883','2020-03-17 04:30:33'),(38187,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039982795715332','2020-03-17 04:30:33'),(38188,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1380/2','0.00039792060852051','2020-03-17 04:30:33'),(38189,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0053510665893555','2020-03-17 04:30:33'),(38190,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0013999938964844','2020-03-17 04:30:33'),(38191,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0053889751434326','2020-03-17 04:30:33'),(38192,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0012869834899902','2020-03-17 04:30:33'),(38193,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1380/2','0.0052859783172607','2020-03-17 04:30:33'),(38194,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.0012590885162354','2020-03-17 04:30:33'),(38195,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/1380/2','0.004410982131958','2020-03-17 04:30:33'),(38196,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00056695938110352','2020-03-17 04:30:39'),(38197,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0088300704956055','2020-03-17 04:30:39'),(38198,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00049114227294922','2020-03-17 04:30:39'),(38199,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.005842924118042','2020-03-17 04:30:39'),(38200,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00043296813964844','2020-03-17 04:30:39'),(38201,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00655198097229','2020-03-17 04:30:39'),(38202,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00048708915710449','2020-03-17 04:30:39'),(38203,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0077171325683594','2020-03-17 04:30:39'),(38204,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0005490779876709','2020-03-17 04:30:39'),(38205,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0074179172515869','2020-03-17 04:30:39'),(38206,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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` = \'Shared_Services\'\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0013399124145508','2020-03-17 04:30:39'),(38207,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.026726007461548','2020-03-17 04:30:39'),(38208,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.0093998908996582','2020-03-17 04:30:39'),(38209,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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 = \"Shared Services\"))\nORDER BY `c`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.44056701660156','2020-03-17 04:30:39'),(38210,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00054788589477539','2020-03-17 04:30:39'),(38211,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`ID` desc','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.002946138381958','2020-03-17 04:30:39'),(38212,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00047397613525391','2020-03-17 04:30:39'),(38213,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0075111389160156','2020-03-17 04:30:39'),(38214,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.02114200592041','2020-03-17 04:30:39'),(38215,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','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/Shared_Services','0.00078105926513672','2020-03-17 04:30:39'),(38216,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0003819465637207','2020-03-17 04:30:39'),(38217,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034022331237793','2020-03-17 04:30:39'),(38218,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00037813186645508','2020-03-17 04:30:39'),(38219,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034999847412109','2020-03-17 04:30:39'),(38220,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00036716461181641','2020-03-17 04:30:40'),(38221,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00038504600524902','2020-03-17 04:30:40'),(38222,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00034713745117188','2020-03-17 04:30:40'),(38223,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033807754516602','2020-03-17 04:30:40'),(38224,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.00033998489379883','2020-03-17 04:30:40'),(38225,142,'Nina Farhana Binti Abdul Mutalib','175.138.93.137','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Shared_Services','0.0003349781036377','2020-03-17 04:30:40');
