(16131,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.52999019622803','2020-03-11 07:40:18'),(16132,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.21717500686646','2020-03-11 07:40:18'),(16133,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.41701602935791','2020-03-11 07:40:18'),(16134,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.13959884643555','2020-03-11 07:40:18'),(16135,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0017220973968506','2020-03-11 07:40:18'),(16136,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0017080307006836','2020-03-11 07:40:18'),(16137,98,'Muhammad Hanif Bin Ngarisan','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.00067901611328125','2020-03-11 07:40:18'),(16138,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.020115852355957','2020-03-11 07:40:18'),(16139,98,'Muhammad Hanif Bin Ngarisan','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.00080490112304688','2020-03-11 07:40:18'),(16140,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032806396484375','2020-03-11 07:40:18'),(16141,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030684471130371','2020-03-11 07:40:18'),(16142,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030517578125','2020-03-11 07:40:18'),(16143,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030803680419922','2020-03-11 07:40:18'),(16144,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030207633972168','2020-03-11 07:40:18'),(16145,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030183792114258','2020-03-11 07:40:18'),(16146,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030088424682617','2020-03-11 07:40:18'),(16147,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030398368835449','2020-03-11 07:40:18'),(16148,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030207633972168','2020-03-11 07:40:18'),(16149,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029706954956055','2020-03-11 07:40:18'),(16150,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029993057250977','2020-03-11 07:40:18'),(16151,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003058910369873','2020-03-11 07:40:18'),(16152,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051209926605225','2020-03-11 07:40:18'),(16153,98,'Muhammad Hanif Bin Ngarisan','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.0013530254364014','2020-03-11 07:40:18'),(16154,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049121379852295','2020-03-11 07:40:18'),(16155,98,'Muhammad Hanif Bin Ngarisan','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.0012788772583008','2020-03-11 07:40:18'),(16156,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050148963928223','2020-03-11 07:40:18'),(16157,98,'Muhammad Hanif Bin Ngarisan','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.0012941360473633','2020-03-11 07:40:18'),(16158,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.00050091743469238','2020-03-11 07:41:14'),(16159,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00075411796569824','2020-03-11 07:41:14'),(16160,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1030/9','0.00068998336791992','2020-03-11 07:41:14'),(16161,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00058698654174805','2020-03-11 07:41:14'),(16162,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0010638236999512','2020-03-11 07:41:14'),(16163,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00084519386291504','2020-03-11 07:41:14'),(16164,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.00047588348388672','2020-03-11 07:41:14'),(16165,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.19582390785217','2020-03-11 07:41:14'),(16166,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1030/9','0.00087380409240723','2020-03-11 07:41:14'),(16167,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.0010490417480469','2020-03-11 07:41:14'),(16168,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.18461012840271','2020-03-11 07:41:14'),(16169,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.0008080005645752','2020-03-11 07:41:14'),(16170,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1030,jobID)','http://salihin.noip.me/mgs/projects/job/1030/9','0.22425198554993','2020-03-11 07:41:14'),(16171,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.00078487396240234','2020-03-11 07:41:14'),(16172,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.1946439743042','2020-03-11 07:41:14'),(16173,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.0007171630859375','2020-03-11 07:41:14'),(16174,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1030,jobID)','http://salihin.noip.me/mgs/projects/job/1030/9','0.25043797492981','2020-03-11 07:41:14'),(16175,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.0010831356048584','2020-03-11 07:41:14'),(16176,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.19127511978149','2020-03-11 07:41:14'),(16177,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00067400932312012','2020-03-11 07:41:14'),(16178,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1030/9','0.021545886993408','2020-03-11 07:41:14'),(16179,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.0010280609130859','2020-03-11 07:41:14'),(16180,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00039887428283691','2020-03-11 07:41:14'),(16181,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00029587745666504','2020-03-11 07:41:14'),(16182,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027608871459961','2020-03-11 07:41:14'),(16183,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00032210350036621','2020-03-11 07:41:14'),(16184,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027894973754883','2020-03-11 07:41:14'),(16185,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027680397033691','2020-03-11 07:41:14'),(16186,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00029897689819336','2020-03-11 07:41:14'),(16187,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027704238891602','2020-03-11 07:41:14'),(16188,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002739429473877','2020-03-11 07:41:14'),(16189,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00029993057250977','2020-03-11 07:41:14'),(16190,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00051999092102051','2020-03-11 07:41:14'),(16191,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00028204917907715','2020-03-11 07:41:14'),(16192,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0052318572998047','2020-03-11 07:41:14'),(16193,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.0015299320220947','2020-03-11 07:41:14'),(16194,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0052478313446045','2020-03-11 07:41:15'),(16195,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.001255989074707','2020-03-11 07:41:15'),(16196,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0050570964813232','2020-03-11 07:41:15'),(16197,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.001237154006958','2020-03-11 07:41:15'),(16198,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.000823974609375','2020-03-11 07:41:15'),(16199,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.00053882598876953','2020-03-11 07:41:36'),(16200,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00075697898864746','2020-03-11 07:41:36'),(16201,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1030/9','0.00068998336791992','2020-03-11 07:41:36'),(16202,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00058698654174805','2020-03-11 07:41:36'),(16203,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00105881690979','2020-03-11 07:41:36'),(16204,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.0075430870056152','2020-03-11 07:41:37'),(16205,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.0015299320220947','2020-03-11 07:41:37'),(16206,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.19426298141479','2020-03-11 07:41:37'),(16207,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1030/9','0.0007472038269043','2020-03-11 07:41:37'),(16208,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.00088405609130859','2020-03-11 07:41:37'),(16209,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.16286611557007','2020-03-11 07:41:37'),(16210,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00052309036254883','2020-03-11 07:41:37'),(16211,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1030,jobID)','http://salihin.noip.me/mgs/projects/job/1030/9','0.24712705612183','2020-03-11 07:41:37'),(16212,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.0010569095611572','2020-03-11 07:41:37'),(16213,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.19588088989258','2020-03-11 07:41:37'),(16214,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00068998336791992','2020-03-11 07:41:37'),(16215,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1030,jobID)','http://salihin.noip.me/mgs/projects/job/1030/9','0.25303506851196','2020-03-11 07:41:37'),(16216,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'','http://salihin.noip.me/mgs/projects/job/1030/9','0.0010838508605957','2020-03-11 07:41:37'),(16217,98,'Muhammad Hanif Bin Ngarisan','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` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.18509793281555','2020-03-11 07:41:37'),(16218,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1030\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1030/9','0.00066208839416504','2020-03-11 07:41:37'),(16219,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1030/9','0.0172278881073','2020-03-11 07:41:37'),(16220,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.00072097778320312','2020-03-11 07:41:37'),(16221,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00029397010803223','2020-03-11 07:41:37'),(16222,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027799606323242','2020-03-11 07:41:37'),(16223,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027799606323242','2020-03-11 07:41:37'),(16224,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002748966217041','2020-03-11 07:41:37'),(16225,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002748966217041','2020-03-11 07:41:37'),(16226,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00026893615722656','2020-03-11 07:41:37'),(16227,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027298927307129','2020-03-11 07:41:37'),(16228,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.00027298927307129','2020-03-11 07:41:37'),(16229,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002748966217041','2020-03-11 07:41:37'),(16230,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002739429473877','2020-03-11 07:41:37'),(16231,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002739429473877','2020-03-11 07:41:37'),(16232,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0002748966217041','2020-03-11 07:41:37'),(16233,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0040488243103027','2020-03-11 07:41:37'),(16234,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.0011920928955078','2020-03-11 07:41:37'),(16235,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.0049729347229004','2020-03-11 07:41:37'),(16236,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.0012569427490234','2020-03-11 07:41:37'),(16237,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1030/9','0.004957914352417','2020-03-11 07:41:37'),(16238,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.0012741088867188','2020-03-11 07:41:37'),(16239,98,'Muhammad Hanif Bin Ngarisan','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/1030/9','0.00081682205200195','2020-03-11 07:41:37'),(16240,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00059294700622559','2020-03-11 07:41:45'),(16241,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0086390972137451','2020-03-11 07:41:45'),(16242,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049090385437012','2020-03-11 07:41:45'),(16243,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.007375955581665','2020-03-11 07:41:45'),(16244,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049495697021484','2020-03-11 07:41:45'),(16245,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0069849491119385','2020-03-11 07:41:45'),(16246,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00050687789916992','2020-03-11 07:41:45'),(16247,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0054619312286377','2020-03-11 07:41:45'),(16248,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049614906311035','2020-03-11 07:41:45'),(16249,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.009335994720459','2020-03-11 07:41:45'),(16250,98,'Muhammad Hanif Bin Ngarisan','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.039129972457886','2020-03-11 07:41:45'),(16251,98,'Muhammad Hanif Bin Ngarisan','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.0095360279083252','2020-03-11 07:41:45'),(16252,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0056488513946533','2020-03-11 07:41:45'),(16253,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.07698392868042','2020-03-11 07:41:45'),(16254,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.068556070327759','2020-03-11 07:41:45'),(16255,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012349128723145','2020-03-11 07:41:45'),(16256,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0019700527191162','2020-03-11 07:41:45'),(16257,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.011084079742432','2020-03-11 07:41:45'),(16258,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0019738674163818','2020-03-11 07:41:45'),(16259,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.39637494087219','2020-03-11 07:41:45'),(16260,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.21793007850647','2020-03-11 07:41:45'),(16261,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.38996505737305','2020-03-11 07:41:45'),(16262,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.15866804122925','2020-03-11 07:41:45'),(16263,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0019369125366211','2020-03-11 07:41:46'),(16264,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0020110607147217','2020-03-11 07:41:46'),(16265,98,'Muhammad Hanif Bin Ngarisan','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.00077199935913086','2020-03-11 07:41:46'),(16266,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.021560907363892','2020-03-11 07:41:46'),(16267,98,'Muhammad Hanif Bin Ngarisan','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.00093913078308105','2020-03-11 07:41:46'),(16268,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039792060852051','2020-03-11 07:41:46'),(16269,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038909912109375','2020-03-11 07:41:46'),(16270,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-11 07:41:46'),(16271,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039410591125488','2020-03-11 07:41:46'),(16272,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-11 07:41:46'),(16273,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-11 07:41:46'),(16274,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003960132598877','2020-03-11 07:41:46'),(16275,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038909912109375','2020-03-11 07:41:46'),(16276,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038909912109375','2020-03-11 07:41:46'),(16277,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-11 07:41:46'),(16278,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039386749267578','2020-03-11 07:41:46'),(16279,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038981437683105','2020-03-11 07:41:46'),(16280,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.00459885597229','2020-03-11 07:41:46'),(16281,98,'Muhammad Hanif Bin Ngarisan','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.0011708736419678','2020-03-11 07:41:46'),(16282,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0043909549713135','2020-03-11 07:41:46'),(16283,98,'Muhammad Hanif Bin Ngarisan','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.0010099411010742','2020-03-11 07:41:46'),(16284,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0040688514709473','2020-03-11 07:41:46'),(16285,98,'Muhammad Hanif Bin Ngarisan','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.0010671615600586','2020-03-11 07:41:46'),(16286,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.00055217742919922','2020-03-11 07:42:04'),(16287,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00076103210449219','2020-03-11 07:42:04'),(16288,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1286/9','0.0006871223449707','2020-03-11 07:42:04'),(16289,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00058794021606445','2020-03-11 07:42:04'),(16290,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0010659694671631','2020-03-11 07:42:04'),(16291,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00084400177001953','2020-03-11 07:42:04'),(16292,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.00047802925109863','2020-03-11 07:42:04'),(16293,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.19334697723389','2020-03-11 07:42:04'),(16294,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1286/9','0.00072598457336426','2020-03-11 07:42:04'),(16295,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.000885009765625','2020-03-11 07:42:04'),(16296,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.16140818595886','2020-03-11 07:42:04'),(16297,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00053000450134277','2020-03-11 07:42:04'),(16298,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1286,jobID)','http://salihin.noip.me/mgs/projects/job/1286/9','0.17695617675781','2020-03-11 07:42:04'),(16299,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.0012969970703125','2020-03-11 07:42:04'),(16300,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.19802403450012','2020-03-11 07:42:04'),(16301,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.0007939338684082','2020-03-11 07:42:04'),(16302,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1286,jobID)','http://salihin.noip.me/mgs/projects/job/1286/9','0.23708295822144','2020-03-11 07:42:04'),(16303,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.0010430812835693','2020-03-11 07:42:04'),(16304,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.21411800384521','2020-03-11 07:42:04'),(16305,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00080490112304688','2020-03-11 07:42:04'),(16306,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1286/9','0.018916130065918','2020-03-11 07:42:04'),(16307,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.00083708763122559','2020-03-11 07:42:04'),(16308,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00035786628723145','2020-03-11 07:42:04'),(16309,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00035595893859863','2020-03-11 07:42:04'),(16310,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00034999847412109','2020-03-11 07:42:04'),(16311,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00038886070251465','2020-03-11 07:42:04'),(16312,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00039505958557129','2020-03-11 07:42:04'),(16313,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00038790702819824','2020-03-11 07:42:04'),(16314,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00038909912109375','2020-03-11 07:42:04'),(16315,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00039291381835938','2020-03-11 07:42:04'),(16316,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00039005279541016','2020-03-11 07:42:04'),(16317,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00038909912109375','2020-03-11 07:42:04'),(16318,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00039386749267578','2020-03-11 07:42:04'),(16319,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00038695335388184','2020-03-11 07:42:04'),(16320,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.005047082901001','2020-03-11 07:42:04'),(16321,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.0013618469238281','2020-03-11 07:42:04'),(16322,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0049538612365723','2020-03-11 07:42:04'),(16323,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.0012462139129639','2020-03-11 07:42:04'),(16324,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0050017833709717','2020-03-11 07:42:04'),(16325,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.0012660026550293','2020-03-11 07:42:04'),(16326,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.00080084800720215','2020-03-11 07:42:05'),(16327,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00059986114501953','2020-03-11 07:42:18'),(16328,24,'Nor Azlinda Binti Shahrul Zaman','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/department/summary/Audit_and_Assurance','0.02214503288269','2020-03-11 07:42:18'),(16329,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00097799301147461','2020-03-11 07:42:18'),(16330,24,'Nor Azlinda Binti Shahrul Zaman','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/department/summary/Audit_and_Assurance','0.017076969146729','2020-03-11 07:42:18'),(16331,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00080704689025879','2020-03-11 07:42:18'),(16332,24,'Nor Azlinda Binti Shahrul Zaman','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/department/summary/Audit_and_Assurance','0.010521173477173','2020-03-11 07:42:18'),(16333,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00063014030456543','2020-03-11 07:42:18'),(16334,24,'Nor Azlinda Binti Shahrul Zaman','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/department/summary/Audit_and_Assurance','0.0076680183410645','2020-03-11 07:42:18'),(16335,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00051116943359375','2020-03-11 07:42:18'),(16336,24,'Nor Azlinda Binti Shahrul Zaman','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/department/summary/Audit_and_Assurance','0.0076260566711426','2020-03-11 07:42:18'),(16337,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nWHERE `b`.`name` = \'Audit_and_Assurance\'\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0014040470123291','2020-03-11 07:42:18'),(16338,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.039954900741577','2020-03-11 07:42:18'),(16339,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.010837078094482','2020-03-11 07:42:18'),(16340,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.`id` as `userID`, `a`.`name`, `a`.`staff_id` as `staffID`, `a`.`department_id` as `deptId`, `b`.*, `c`.`email`\nFROM `user__employment_detail` `a`\nLEFT OUTER JOIN `view__count_job_by_user` `b` ON `b`.`staff_id` = `a`.`user_id`\nLEFT JOIN `user` `c` ON `c`.`id` = `a`.`user_id`\nWHERE `a`.`is_delete` = 0\nAND a.department_id IN((select id from company__department where name = \"Audit and Assurance\"))\nORDER BY `c`.`name` ASC','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.40823411941528','2020-03-11 07:42:18'),(16341,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00063395500183105','2020-03-11 07:42:18'),(16342,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`is_pending`, `b`.`ID` as `picID`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, c.name) as customerName, `e`.`name` as `departmentName`, `f`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT OUTER JOIN job__pic b ON a.ID = b.job_id and b.is_delete =0\nLEFT JOIN customer c ON a.customerID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__department e ON a.departmentID =  e.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nLEFT JOIN job__pic g ON g.job_id = a.ID\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `b`.`ID` IS NULL\nAND `a`.`is_delete` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`ID` desc','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0072100162506104','2020-03-11 07:42:18'),(16343,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00050592422485352','2020-03-11 07:42:18'),(16344,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` IN(1, 2)\nAND `a`.`is_pending` = 1\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0083990097045898','2020-03-11 07:42:18'),(16345,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'24\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.021088123321533','2020-03-11 07:42:18'),(16346,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0016298294067383','2020-03-11 07:42:18'),(16347,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00053620338439941','2020-03-11 07:42:18'),(16348,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040507316589355','2020-03-11 07:42:18'),(16349,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040411949157715','2020-03-11 07:42:18'),(16350,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040292739868164','2020-03-11 07:42:18'),(16351,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040507316589355','2020-03-11 07:42:18'),(16352,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040507316589355','2020-03-11 07:42:18'),(16353,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040483474731445','2020-03-11 07:42:18'),(16354,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040602684020996','2020-03-11 07:42:18'),(16355,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040388107299805','2020-03-11 07:42:18'),(16356,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040411949157715','2020-03-11 07:42:18'),(16357,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040292739868164','2020-03-11 07:42:18'),(16358,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040388107299805','2020-03-11 07:42:18'),(16359,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.004957914352417','2020-03-11 07:42:18'),(16360,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.001187801361084','2020-03-11 07:42:18'),(16361,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0046908855438232','2020-03-11 07:42:19'),(16362,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0010240077972412','2020-03-11 07:42:19'),(16363,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.00054788589477539','2020-03-11 07:42:21'),(16364,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00076198577880859','2020-03-11 07:42:21'),(16365,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1286/9','0.00069093704223633','2020-03-11 07:42:21'),(16366,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00058698654174805','2020-03-11 07:42:21'),(16367,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0010550022125244','2020-03-11 07:42:21'),(16368,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.0008089542388916','2020-03-11 07:42:21'),(16369,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.00042581558227539','2020-03-11 07:42:21'),(16370,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.19712805747986','2020-03-11 07:42:21'),(16371,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1286/9','0.00071310997009277','2020-03-11 07:42:21'),(16372,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.00088691711425781','2020-03-11 07:42:21'),(16373,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.16275215148926','2020-03-11 07:42:21'),(16374,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00056004524230957','2020-03-11 07:42:21'),(16375,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1286,jobID)','http://salihin.noip.me/mgs/projects/job/1286/9','0.1919310092926','2020-03-11 07:42:21'),(16376,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.001011848449707','2020-03-11 07:42:21'),(16377,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.21047401428223','2020-03-11 07:42:21'),(16378,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00083112716674805','2020-03-11 07:42:21'),(16379,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1286,jobID)','http://salihin.noip.me/mgs/projects/job/1286/9','0.23891496658325','2020-03-11 07:42:21'),(16380,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'','http://salihin.noip.me/mgs/projects/job/1286/9','0.00088310241699219','2020-03-11 07:42:21'),(16381,98,'Muhammad Hanif Bin Ngarisan','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` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.15133285522461','2020-03-11 07:42:21'),(16382,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1286\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1286/9','0.00058388710021973','2020-03-11 07:42:21'),(16383,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1286/9','0.015558958053589','2020-03-11 07:42:21'),(16384,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.00064897537231445','2020-03-11 07:42:21'),(16385,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00024700164794922','2020-03-11 07:42:21'),(16386,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00023317337036133','2020-03-11 07:42:21'),(16387,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00022792816162109','2020-03-11 07:42:21'),(16388,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00022602081298828','2020-03-11 07:42:21'),(16389,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00023007392883301','2020-03-11 07:42:21'),(16390,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00022602081298828','2020-03-11 07:42:21'),(16391,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00023293495178223','2020-03-11 07:42:22'),(16392,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00020098686218262','2020-03-11 07:42:22'),(16393,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00020098686218262','2020-03-11 07:42:22'),(16394,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00020503997802734','2020-03-11 07:42:22'),(16395,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0001990795135498','2020-03-11 07:42:22'),(16396,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1286/9','0.00020098686218262','2020-03-11 07:42:22'),(16397,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0031819343566895','2020-03-11 07:42:22'),(16398,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.0008690357208252','2020-03-11 07:42:22'),(16399,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0049059391021729','2020-03-11 07:42:22'),(16400,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.0012171268463135','2020-03-11 07:42:22'),(16401,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1286/9','0.0048849582672119','2020-03-11 07:42:22'),(16402,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.0012497901916504','2020-03-11 07:42:22'),(16403,98,'Muhammad Hanif Bin Ngarisan','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/1286/9','0.00080299377441406','2020-03-11 07:42:22'),(16404,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00054693222045898','2020-03-11 07:42:28'),(16405,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00076007843017578','2020-03-11 07:42:28'),(16406,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1197/9','0.0006868839263916','2020-03-11 07:42:28'),(16407,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00059103965759277','2020-03-11 07:42:28'),(16408,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0010700225830078','2020-03-11 07:42:28'),(16409,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00084590911865234','2020-03-11 07:42:28'),(16410,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00047922134399414','2020-03-11 07:42:28'),(16411,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.19217205047607','2020-03-11 07:42:28'),(16412,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1197/9','0.00067996978759766','2020-03-11 07:42:28'),(16413,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00090599060058594','2020-03-11 07:42:28'),(16414,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.19347214698792','2020-03-11 07:42:28'),(16415,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00084710121154785','2020-03-11 07:42:28'),(16416,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1197,jobID)','http://salihin.noip.me/mgs/projects/job/1197/9','0.24233794212341','2020-03-11 07:42:28'),(16417,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00093889236450195','2020-03-11 07:42:28'),(16418,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.15945291519165','2020-03-11 07:42:28'),(16419,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00070810317993164','2020-03-11 07:42:28'),(16420,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1197,jobID)','http://salihin.noip.me/mgs/projects/job/1197/9','0.16667604446411','2020-03-11 07:42:28'),(16421,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00065207481384277','2020-03-11 07:42:28'),(16422,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.19506502151489','2020-03-11 07:42:28'),(16423,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00073599815368652','2020-03-11 07:42:28'),(16424,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1197/9','0.021344900131226','2020-03-11 07:42:28'),(16425,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.00091195106506348','2020-03-11 07:42:28'),(16426,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00036001205444336','2020-03-11 07:42:28'),(16427,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00034904479980469','2020-03-11 07:42:28'),(16428,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00033879280090332','2020-03-11 07:42:28'),(16429,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00034093856811523','2020-03-11 07:42:28'),(16430,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0003359317779541','2020-03-11 07:42:28'),(16431,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00034093856811523','2020-03-11 07:42:28'),(16432,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00033688545227051','2020-03-11 07:42:28'),(16433,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00034093856811523','2020-03-11 07:42:28'),(16434,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00033998489379883','2020-03-11 07:42:28'),(16435,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00033998489379883','2020-03-11 07:42:28'),(16436,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00034189224243164','2020-03-11 07:42:28'),(16437,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0003359317779541','2020-03-11 07:42:28'),(16438,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0052659511566162','2020-03-11 07:42:28'),(16439,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.0013799667358398','2020-03-11 07:42:28'),(16440,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0057680606842041','2020-03-11 07:42:28'),(16441,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.0014932155609131','2020-03-11 07:42:28'),(16442,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0052909851074219','2020-03-11 07:42:28'),(16443,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.0013928413391113','2020-03-11 07:42:28'),(16444,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.00084686279296875','2020-03-11 07:42:29'),(16445,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00054097175598145','2020-03-11 07:42:41'),(16446,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00075507164001465','2020-03-11 07:42:41'),(16447,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1197/9','0.00068879127502441','2020-03-11 07:42:41'),(16448,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00058579444885254','2020-03-11 07:42:41'),(16449,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0010650157928467','2020-03-11 07:42:41'),(16450,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00084185600280762','2020-03-11 07:42:41'),(16451,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00046896934509277','2020-03-11 07:42:41'),(16452,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.19137907028198','2020-03-11 07:42:41'),(16453,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1197/9','0.00072693824768066','2020-03-11 07:42:41'),(16454,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00091099739074707','2020-03-11 07:42:41'),(16455,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.15827488899231','2020-03-11 07:42:41'),(16456,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00053906440734863','2020-03-11 07:42:41'),(16457,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1197,jobID)','http://salihin.noip.me/mgs/projects/job/1197/9','0.16318798065186','2020-03-11 07:42:41'),(16458,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.00063991546630859','2020-03-11 07:42:41'),(16459,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.12007093429565','2020-03-11 07:42:41'),(16460,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00043606758117676','2020-03-11 07:42:41'),(16461,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1197,jobID)','http://salihin.noip.me/mgs/projects/job/1197/9','0.12906885147095','2020-03-11 07:42:41'),(16462,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'','http://salihin.noip.me/mgs/projects/job/1197/9','0.0005791187286377','2020-03-11 07:42:41'),(16463,98,'Muhammad Hanif Bin Ngarisan','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` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.090431928634644','2020-03-11 07:42:41'),(16464,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1197\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1197/9','0.00034284591674805','2020-03-11 07:42:41'),(16465,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1197/9','0.0099039077758789','2020-03-11 07:42:41'),(16466,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.00042915344238281','2020-03-11 07:42:41'),(16467,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00017118453979492','2020-03-11 07:42:41'),(16468,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00015616416931152','2020-03-11 07:42:42'),(16469,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00015807151794434','2020-03-11 07:42:42'),(16470,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0001528263092041','2020-03-11 07:42:42'),(16471,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00015687942504883','2020-03-11 07:42:42'),(16472,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00015401840209961','2020-03-11 07:42:42'),(16473,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00013613700866699','2020-03-11 07:42:42'),(16474,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00012898445129395','2020-03-11 07:42:42'),(16475,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00013089179992676','2020-03-11 07:42:42'),(16476,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00013089179992676','2020-03-11 07:42:42'),(16477,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00012683868408203','2020-03-11 07:42:42'),(16478,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1197/9','0.00012922286987305','2020-03-11 07:42:42'),(16479,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0025169849395752','2020-03-11 07:42:42'),(16480,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.0006251335144043','2020-03-11 07:42:42'),(16481,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0024161338806152','2020-03-11 07:42:42'),(16482,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.00060606002807617','2020-03-11 07:42:42'),(16483,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1197/9','0.0051989555358887','2020-03-11 07:42:42'),(16484,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.0012290477752686','2020-03-11 07:42:42'),(16485,98,'Muhammad Hanif Bin Ngarisan','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/1197/9','0.00077700614929199','2020-03-11 07:42:42'),(16486,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00061202049255371','2020-03-11 07:42:48'),(16487,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0097541809082031','2020-03-11 07:42:48'),(16488,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00048613548278809','2020-03-11 07:42:48'),(16489,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0077509880065918','2020-03-11 07:42:48'),(16490,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049614906311035','2020-03-11 07:42:48'),(16491,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0077269077301025','2020-03-11 07:42:48'),(16492,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00051093101501465','2020-03-11 07:42:49'),(16493,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0052428245544434','2020-03-11 07:42:49'),(16494,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00047111511230469','2020-03-11 07:42:49'),(16495,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0098888874053955','2020-03-11 07:42:49'),(16496,98,'Muhammad Hanif Bin Ngarisan','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.037784814834595','2020-03-11 07:42:49'),(16497,98,'Muhammad Hanif Bin Ngarisan','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.009192943572998','2020-03-11 07:42:49'),(16498,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049278736114502','2020-03-11 07:42:49'),(16499,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.073620080947876','2020-03-11 07:42:49'),(16500,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.077090978622437','2020-03-11 07:42:49'),(16501,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014072179794312','2020-03-11 07:42:49'),(16502,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025758743286133','2020-03-11 07:42:49'),(16503,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014062881469727','2020-03-11 07:42:49'),(16504,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025708675384521','2020-03-11 07:42:49'),(16505,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.51052403450012','2020-03-11 07:42:49'),(16506,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.16797304153442','2020-03-11 07:42:49'),(16507,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.42297101020813','2020-03-11 07:42:49'),(16508,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.1593930721283','2020-03-11 07:42:49'),(16509,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0022611618041992','2020-03-11 07:42:49'),(16510,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0022351741790771','2020-03-11 07:42:49'),(16511,98,'Muhammad Hanif Bin Ngarisan','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.000946044921875','2020-03-11 07:42:49'),(16512,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019026041030884','2020-03-11 07:42:49'),(16513,98,'Muhammad Hanif Bin Ngarisan','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.00080394744873047','2020-03-11 07:42:49'),(16514,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032210350036621','2020-03-11 07:42:49'),(16515,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030994415283203','2020-03-11 07:42:49'),(16516,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003049373626709','2020-03-11 07:42:49'),(16517,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030207633972168','2020-03-11 07:42:49'),(16518,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030612945556641','2020-03-11 07:42:49'),(16519,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030207633972168','2020-03-11 07:42:49'),(16520,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030112266540527','2020-03-11 07:42:49'),(16521,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030088424682617','2020-03-11 07:42:49'),(16522,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030398368835449','2020-03-11 07:42:49'),(16523,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029993057250977','2020-03-11 07:42:49'),(16524,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029993057250977','2020-03-11 07:42:49'),(16525,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003049373626709','2020-03-11 07:42:49'),(16526,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0038039684295654','2020-03-11 07:42:49'),(16527,98,'Muhammad Hanif Bin Ngarisan','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.00099086761474609','2020-03-11 07:42:49'),(16528,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0035841464996338','2020-03-11 07:42:49'),(16529,98,'Muhammad Hanif Bin Ngarisan','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.00081992149353027','2020-03-11 07:42:49'),(16530,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032060146331787','2020-03-11 07:42:49'),(16531,98,'Muhammad Hanif Bin Ngarisan','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.00081586837768555','2020-03-11 07:42:49'),(16532,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.0005638599395752','2020-03-11 07:42:58'),(16533,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00077009201049805','2020-03-11 07:42:58'),(16534,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1196/9','0.00068211555480957','2020-03-11 07:42:58'),(16535,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00060296058654785','2020-03-11 07:42:58'),(16536,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0010569095611572','2020-03-11 07:42:58'),(16537,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.0009620189666748','2020-03-11 07:42:58'),(16538,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.0005040168762207','2020-03-11 07:42:58'),(16539,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.19054794311523','2020-03-11 07:42:58'),(16540,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1196/9','0.00073099136352539','2020-03-11 07:42:58'),(16541,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.00091719627380371','2020-03-11 07:42:58'),(16542,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.19129395484924','2020-03-11 07:42:58'),(16543,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00079488754272461','2020-03-11 07:42:58'),(16544,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1196,jobID)','http://salihin.noip.me/mgs/projects/job/1196/9','0.24493789672852','2020-03-11 07:42:58'),(16545,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.0010299682617188','2020-03-11 07:42:58'),(16546,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.19250679016113','2020-03-11 07:42:58'),(16547,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00073099136352539','2020-03-11 07:42:58'),(16548,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1196,jobID)','http://salihin.noip.me/mgs/projects/job/1196/9','0.20902109146118','2020-03-11 07:42:58'),(16549,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.00076889991760254','2020-03-11 07:42:58'),(16550,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.15723085403442','2020-03-11 07:42:58'),(16551,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00056099891662598','2020-03-11 07:42:58'),(16552,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1196/9','0.02131199836731','2020-03-11 07:42:58'),(16553,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00089788436889648','2020-03-11 07:42:58'),(16554,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00035977363586426','2020-03-11 07:42:58'),(16555,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00034689903259277','2020-03-11 07:42:58'),(16556,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00034093856811523','2020-03-11 07:42:58'),(16557,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00034308433532715','2020-03-11 07:42:58'),(16558,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00034117698669434','2020-03-11 07:42:58'),(16559,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00033688545227051','2020-03-11 07:42:58'),(16560,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0003359317779541','2020-03-11 07:42:58'),(16561,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00034093856811523','2020-03-11 07:42:58'),(16562,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0003349781036377','2020-03-11 07:42:58'),(16563,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00033998489379883','2020-03-11 07:42:58'),(16564,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00034213066101074','2020-03-11 07:42:58'),(16565,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00033712387084961','2020-03-11 07:42:58'),(16566,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0052299499511719','2020-03-11 07:42:58'),(16567,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.0014069080352783','2020-03-11 07:42:58'),(16568,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0052311420440674','2020-03-11 07:42:58'),(16569,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.001255989074707','2020-03-11 07:42:58'),(16570,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0051839351654053','2020-03-11 07:42:58'),(16571,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.001255989074707','2020-03-11 07:42:59'),(16572,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00081491470336914','2020-03-11 07:42:59'),(16573,277,'Nazim Shah Bin Nordin','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` = \'277\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0076990127563477','2020-03-11 07:43:04'),(16574,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0055088996887207','2020-03-11 07:43:04'),(16575,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0040349960327148','2020-03-11 07:43:04'),(16576,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0076889991760254','2020-03-11 07:43:04'),(16577,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0075390338897705','2020-03-11 07:43:04'),(16578,277,'Nazim Shah Bin Nordin','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` = \'277\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013329982757568','2020-03-11 07:43:04'),(16579,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019452095031738','2020-03-11 07:43:04'),(16580,277,'Nazim Shah Bin Nordin','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.00076889991760254','2020-03-11 07:43:04'),(16581,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039911270141602','2020-03-11 07:43:04'),(16582,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00038981437683105','2020-03-11 07:43:04'),(16583,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039482116699219','2020-03-11 07:43:04'),(16584,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039219856262207','2020-03-11 07:43:04'),(16585,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039291381835938','2020-03-11 07:43:04'),(16586,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039196014404297','2020-03-11 07:43:04'),(16587,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039005279541016','2020-03-11 07:43:04'),(16588,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039100646972656','2020-03-11 07:43:04'),(16589,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039100646972656','2020-03-11 07:43:04'),(16590,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039100646972656','2020-03-11 07:43:04'),(16591,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039196014404297','2020-03-11 07:43:04'),(16592,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039196014404297','2020-03-11 07:43:04'),(16593,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0049338340759277','2020-03-11 07:43:04'),(16594,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013420581817627','2020-03-11 07:43:04'),(16595,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0048599243164062','2020-03-11 07:43:04'),(16596,277,'Nazim Shah Bin Nordin','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.0012450218200684','2020-03-11 07:43:04'),(16597,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.00052595138549805','2020-03-11 07:43:10'),(16598,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00044822692871094','2020-03-11 07:43:10'),(16599,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00076007843017578','2020-03-11 07:43:10'),(16600,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00060701370239258','2020-03-11 07:43:10'),(16601,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1196/9','0.00069403648376465','2020-03-11 07:43:10'),(16602,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1361/9','0.00052285194396973','2020-03-11 07:43:10'),(16603,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00059390068054199','2020-03-11 07:43:10'),(16604,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1361/9','0.0004119873046875','2020-03-11 07:43:10'),(16605,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0010700225830078','2020-03-11 07:43:10'),(16606,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00082898139953613','2020-03-11 07:43:10'),(16607,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00086307525634766','2020-03-11 07:43:10'),(16608,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00064516067504883','2020-03-11 07:43:10'),(16609,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.00046896934509277','2020-03-11 07:43:10'),(16610,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.0003049373626709','2020-03-11 07:43:10'),(16611,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.17786288261414','2020-03-11 07:43:10'),(16612,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.15376019477844','2020-03-11 07:43:10'),(16613,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1196/9','0.00071406364440918','2020-03-11 07:43:10'),(16614,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1361/9','0.00055694580078125','2020-03-11 07:43:10'),(16615,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.00079488754272461','2020-03-11 07:43:10'),(16616,277,'Nazim Shah Bin Nordin','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` = \'1361\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00071501731872559','2020-03-11 07:43:10'),(16617,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.14450693130493','2020-03-11 07:43:10'),(16618,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.12790298461914','2020-03-11 07:43:10'),(16619,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00049400329589844','2020-03-11 07:43:10'),(16620,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00048494338989258','2020-03-11 07:43:10'),(16621,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1196,jobID)','http://salihin.noip.me/mgs/projects/job/1196/9','0.17266511917114','2020-03-11 07:43:10'),(16622,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1361,jobID)','http://salihin.noip.me/mgs/projects/job/1361/9','0.21607494354248','2020-03-11 07:43:10'),(16623,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.00079894065856934','2020-03-11 07:43:10'),(16624,277,'Nazim Shah Bin Nordin','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` = \'1361\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00068092346191406','2020-03-11 07:43:10'),(16625,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.16840600967407','2020-03-11 07:43:10'),(16626,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.12390089035034','2020-03-11 07:43:11'),(16627,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00048708915710449','2020-03-11 07:43:11'),(16628,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00054192543029785','2020-03-11 07:43:11'),(16629,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1196,jobID)','http://salihin.noip.me/mgs/projects/job/1196/9','0.15562701225281','2020-03-11 07:43:11'),(16630,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1361,jobID)','http://salihin.noip.me/mgs/projects/job/1361/9','0.13981294631958','2020-03-11 07:43:11'),(16631,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'','http://salihin.noip.me/mgs/projects/job/1196/9','0.0006110668182373','2020-03-11 07:43:11'),(16632,277,'Nazim Shah Bin Nordin','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` = \'1361\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00059413909912109','2020-03-11 07:43:11'),(16633,98,'Muhammad Hanif Bin Ngarisan','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` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.10756182670593','2020-03-11 07:43:11'),(16634,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.099797010421753','2020-03-11 07:43:11'),(16635,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1196\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1196/9','0.00045013427734375','2020-03-11 07:43:11'),(16636,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00039005279541016','2020-03-11 07:43:11'),(16637,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1196/9','0.011438846588135','2020-03-11 07:43:11'),(16638,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1361/9','0.0093600749969482','2020-03-11 07:43:11'),(16639,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00053000450134277','2020-03-11 07:43:11'),(16640,277,'Nazim Shah Bin Nordin','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/1361/9','0.00040602684020996','2020-03-11 07:43:11'),(16641,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00019693374633789','2020-03-11 07:43:11'),(16642,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00019097328186035','2020-03-11 07:43:11'),(16643,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00018000602722168','2020-03-11 07:43:11'),(16644,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00017404556274414','2020-03-11 07:43:11'),(16645,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00017809867858887','2020-03-11 07:43:11'),(16646,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00016593933105469','2020-03-11 07:43:11'),(16647,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00018000602722168','2020-03-11 07:43:11'),(16648,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00019502639770508','2020-03-11 07:43:11'),(16649,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00017499923706055','2020-03-11 07:43:11'),(16650,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00020408630371094','2020-03-11 07:43:11'),(16651,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00017499923706055','2020-03-11 07:43:11'),(16652,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00019001960754395','2020-03-11 07:43:11'),(16653,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00017595291137695','2020-03-11 07:43:11'),(16654,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00020384788513184','2020-03-11 07:43:11'),(16655,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00014901161193848','2020-03-11 07:43:11'),(16656,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00019598007202148','2020-03-11 07:43:11'),(16657,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00014805793762207','2020-03-11 07:43:11'),(16658,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00018405914306641','2020-03-11 07:43:11'),(16659,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00014400482177734','2020-03-11 07:43:11'),(16660,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00018692016601562','2020-03-11 07:43:12'),(16661,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00014209747314453','2020-03-11 07:43:12'),(16662,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00018715858459473','2020-03-11 07:43:12'),(16663,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1196/9','0.00014495849609375','2020-03-11 07:43:12'),(16664,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00016117095947266','2020-03-11 07:43:12'),(16665,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0027530193328857','2020-03-11 07:43:12'),(16666,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00074291229248047','2020-03-11 07:43:12'),(16667,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.0026330947875977','2020-03-11 07:43:12'),(16668,277,'Nazim Shah Bin Nordin','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/1361/9','0.000640869140625','2020-03-11 07:43:12'),(16669,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0027921199798584','2020-03-11 07:43:12'),(16670,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.003162145614624','2020-03-11 07:43:12'),(16671,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00068998336791992','2020-03-11 07:43:12'),(16672,277,'Nazim Shah Bin Nordin','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/1361/9','0.00073099136352539','2020-03-11 07:43:12'),(16673,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1196/9','0.0025811195373535','2020-03-11 07:43:12'),(16674,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00313401222229','2020-03-11 07:43:12'),(16675,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00075197219848633','2020-03-11 07:43:12'),(16676,98,'Muhammad Hanif Bin Ngarisan','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/1196/9','0.00043296813964844','2020-03-11 07:43:12'),(16677,277,'Nazim Shah Bin Nordin','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/1361/9','0.0009918212890625','2020-03-11 07:43:12'),(16678,277,'Nazim Shah Bin Nordin','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/1361/9','0.0007328987121582','2020-03-11 07:43:12'),(16679,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00058197975158691','2020-03-11 07:43:16'),(16680,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.00090289115905762','2020-03-11 07:43:16'),(16681,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1195/9','0.0009009838104248','2020-03-11 07:43:16'),(16682,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0006561279296875','2020-03-11 07:43:16'),(16683,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0013008117675781','2020-03-11 07:43:16'),(16684,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.00089192390441895','2020-03-11 07:43:16'),(16685,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00052785873413086','2020-03-11 07:43:17'),(16686,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.19438815116882','2020-03-11 07:43:17'),(16687,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1195/9','0.00071620941162109','2020-03-11 07:43:17'),(16688,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.000885009765625','2020-03-11 07:43:17'),(16689,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.18895411491394','2020-03-11 07:43:17'),(16690,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.000823974609375','2020-03-11 07:43:17'),(16691,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1195,jobID)','http://salihin.noip.me/mgs/projects/job/1195/9','0.23388409614563','2020-03-11 07:43:17'),(16692,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00093913078308105','2020-03-11 07:43:17'),(16693,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.16687202453613','2020-03-11 07:43:17'),(16694,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.00063490867614746','2020-03-11 07:43:17'),(16695,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1195,jobID)','http://salihin.noip.me/mgs/projects/job/1195/9','0.17530202865601','2020-03-11 07:43:17'),(16696,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00062394142150879','2020-03-11 07:43:17'),(16697,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.16083812713623','2020-03-11 07:43:17'),(16698,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.0007781982421875','2020-03-11 07:43:17'),(16699,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1195/9','0.02177619934082','2020-03-11 07:43:17'),(16700,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.00095510482788086','2020-03-11 07:43:17'),(16701,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00043201446533203','2020-03-11 07:43:17'),(16702,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040483474731445','2020-03-11 07:43:17'),(16703,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040102005004883','2020-03-11 07:43:17'),(16704,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040698051452637','2020-03-11 07:43:17'),(16705,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00039982795715332','2020-03-11 07:43:17'),(16706,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040102005004883','2020-03-11 07:43:17'),(16707,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040793418884277','2020-03-11 07:43:17'),(16708,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040292739868164','2020-03-11 07:43:17'),(16709,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00042605400085449','2020-03-11 07:43:17'),(16710,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040411949157715','2020-03-11 07:43:17'),(16711,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0004420280456543','2020-03-11 07:43:17'),(16712,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00040602684020996','2020-03-11 07:43:17'),(16713,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0053150653839111','2020-03-11 07:43:17'),(16714,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.0014088153839111','2020-03-11 07:43:17'),(16715,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0052230358123779','2020-03-11 07:43:17'),(16716,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.0013000965118408','2020-03-11 07:43:17'),(16717,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.005155086517334','2020-03-11 07:43:17'),(16718,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.0012822151184082','2020-03-11 07:43:17'),(16719,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.00082492828369141','2020-03-11 07:43:17'),(16720,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00051999092102051','2020-03-11 07:43:18'),(16721,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00075507164001465','2020-03-11 07:43:18'),(16722,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1361/9','0.00068402290344238','2020-03-11 07:43:18'),(16723,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00059390068054199','2020-03-11 07:43:18'),(16724,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1361/9','0.0010640621185303','2020-03-11 07:43:18'),(16725,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00084304809570312','2020-03-11 07:43:18'),(16726,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00047206878662109','2020-03-11 07:43:18'),(16727,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.19320893287659','2020-03-11 07:43:18'),(16728,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1361/9','0.00066208839416504','2020-03-11 07:43:18'),(16729,277,'Nazim Shah Bin Nordin','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` = \'1361\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.00087308883666992','2020-03-11 07:43:18'),(16730,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.18622589111328','2020-03-11 07:43:18'),(16731,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00082898139953613','2020-03-11 07:43:18'),(16732,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1361,jobID)','http://salihin.noip.me/mgs/projects/job/1361/9','0.24141001701355','2020-03-11 07:43:18'),(16733,277,'Nazim Shah Bin Nordin','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` = \'1361\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.0010530948638916','2020-03-11 07:43:18'),(16734,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.19368410110474','2020-03-11 07:43:18'),(16735,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00080204010009766','2020-03-11 07:43:18'),(16736,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1361,jobID)','http://salihin.noip.me/mgs/projects/job/1361/9','0.24453997612','2020-03-11 07:43:18'),(16737,277,'Nazim Shah Bin Nordin','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` = \'1361\'','http://salihin.noip.me/mgs/projects/job/1361/9','0.0010790824890137','2020-03-11 07:43:18'),(16738,277,'Nazim Shah Bin Nordin','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` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.19611406326294','2020-03-11 07:43:19'),(16739,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1361\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1361/9','0.00068902969360352','2020-03-11 07:43:19'),(16740,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1361/9','0.019432067871094','2020-03-11 07:43:19'),(16741,277,'Nazim Shah Bin Nordin','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/1361/9','0.00077486038208008','2020-03-11 07:43:19'),(16742,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040912628173828','2020-03-11 07:43:19'),(16743,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040602684020996','2020-03-11 07:43:19'),(16744,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040006637573242','2020-03-11 07:43:19'),(16745,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040006637573242','2020-03-11 07:43:19'),(16746,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040698051452637','2020-03-11 07:43:19'),(16747,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040197372436523','2020-03-11 07:43:19'),(16748,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040006637573242','2020-03-11 07:43:19'),(16749,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040698051452637','2020-03-11 07:43:19'),(16750,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00040102005004883','2020-03-11 07:43:19'),(16751,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00041794776916504','2020-03-11 07:43:19'),(16752,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00030994415283203','2020-03-11 07:43:19'),(16753,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1361/9','0.00030708312988281','2020-03-11 07:43:19'),(16754,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.0054900646209717','2020-03-11 07:43:19'),(16755,277,'Nazim Shah Bin Nordin','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/1361/9','0.0016710758209229','2020-03-11 07:43:19'),(16756,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.0054781436920166','2020-03-11 07:43:19'),(16757,277,'Nazim Shah Bin Nordin','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/1361/9','0.0013129711151123','2020-03-11 07:43:19'),(16758,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1361/9','0.0052258968353271','2020-03-11 07:43:19'),(16759,277,'Nazim Shah Bin Nordin','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/1361/9','0.0012590885162354','2020-03-11 07:43:19'),(16760,277,'Nazim Shah Bin Nordin','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/1361/9','0.00081992149353027','2020-03-11 07:43:19'),(16761,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00054097175598145','2020-03-11 07:43:38'),(16762,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.00075721740722656','2020-03-11 07:43:38'),(16763,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1195/9','0.00068998336791992','2020-03-11 07:43:38'),(16764,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00058794021606445','2020-03-11 07:43:38'),(16765,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0010662078857422','2020-03-11 07:43:38'),(16766,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.00080204010009766','2020-03-11 07:43:38'),(16767,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00042891502380371','2020-03-11 07:43:38'),(16768,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.17644715309143','2020-03-11 07:43:38'),(16769,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1195/9','0.0007479190826416','2020-03-11 07:43:38'),(16770,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.00093603134155273','2020-03-11 07:43:38'),(16771,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.19472289085388','2020-03-11 07:43:38'),(16772,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.0007319450378418','2020-03-11 07:43:38'),(16773,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1195,jobID)','http://salihin.noip.me/mgs/projects/job/1195/9','0.24212408065796','2020-03-11 07:43:38'),(16774,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.0028231143951416','2020-03-11 07:43:38'),(16775,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.2040741443634','2020-03-11 07:43:38'),(16776,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.00088310241699219','2020-03-11 07:43:38'),(16777,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1195,jobID)','http://salihin.noip.me/mgs/projects/job/1195/9','0.24945902824402','2020-03-11 07:43:38'),(16778,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'','http://salihin.noip.me/mgs/projects/job/1195/9','0.001115083694458','2020-03-11 07:43:38'),(16779,98,'Muhammad Hanif Bin Ngarisan','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` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.18114590644836','2020-03-11 07:43:38'),(16780,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1195\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1195/9','0.0006260871887207','2020-03-11 07:43:38'),(16781,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1195/9','0.017129182815552','2020-03-11 07:43:38'),(16782,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.00073099136352539','2020-03-11 07:43:38'),(16783,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00028896331787109','2020-03-11 07:43:38'),(16784,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00024604797363281','2020-03-11 07:43:38'),(16785,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00024318695068359','2020-03-11 07:43:38'),(16786,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023794174194336','2020-03-11 07:43:38'),(16787,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023508071899414','2020-03-11 07:43:38'),(16788,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023293495178223','2020-03-11 07:43:38'),(16789,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023412704467773','2020-03-11 07:43:38'),(16790,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023412704467773','2020-03-11 07:43:38'),(16791,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023102760314941','2020-03-11 07:43:38'),(16792,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023698806762695','2020-03-11 07:43:38'),(16793,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023007392883301','2020-03-11 07:43:38'),(16794,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1195/9','0.00023007392883301','2020-03-11 07:43:38'),(16795,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0050768852233887','2020-03-11 07:43:38'),(16796,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.0013821125030518','2020-03-11 07:43:38'),(16797,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.0057840347290039','2020-03-11 07:43:38'),(16798,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.001399040222168','2020-03-11 07:43:38'),(16799,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1195/9','0.007371187210083','2020-03-11 07:43:38'),(16800,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.0017130374908447','2020-03-11 07:43:38'),(16801,98,'Muhammad Hanif Bin Ngarisan','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/1195/9','0.00089287757873535','2020-03-11 07:43:38'),(16802,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00055098533630371','2020-03-11 07:43:43'),(16803,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0080559253692627','2020-03-11 07:43:43'),(16804,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00044584274291992','2020-03-11 07:43:43'),(16805,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0063230991363525','2020-03-11 07:43:43'),(16806,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046277046203613','2020-03-11 07:43:43'),(16807,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0070779323577881','2020-03-11 07:43:43'),(16808,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00048494338989258','2020-03-11 07:43:43'),(16809,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0048320293426514','2020-03-11 07:43:43'),(16810,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00044012069702148','2020-03-11 07:43:43'),(16811,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0099689960479736','2020-03-11 07:43:43'),(16812,98,'Muhammad Hanif Bin Ngarisan','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.037482023239136','2020-03-11 07:43:43'),(16813,98,'Muhammad Hanif Bin Ngarisan','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.0092120170593262','2020-03-11 07:43:43'),(16814,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054500102996826','2020-03-11 07:43:43'),(16815,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.077630996704102','2020-03-11 07:43:43'),(16816,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.076927185058594','2020-03-11 07:43:43'),(16817,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014139890670776','2020-03-11 07:43:43'),(16818,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0029451847076416','2020-03-11 07:43:43'),(16819,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014388084411621','2020-03-11 07:43:43'),(16820,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0027918815612793','2020-03-11 07:43:43'),(16821,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.56180500984192','2020-03-11 07:43:43'),(16822,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.20813608169556','2020-03-11 07:43:43'),(16823,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.35436391830444','2020-03-11 07:43:43'),(16824,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.10363507270813','2020-03-11 07:43:44'),(16825,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0014100074768066','2020-03-11 07:43:44'),(16826,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.001317024230957','2020-03-11 07:43:44'),(16827,98,'Muhammad Hanif Bin Ngarisan','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.00055503845214844','2020-03-11 07:43:44'),(16828,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.021788120269775','2020-03-11 07:43:44'),(16829,98,'Muhammad Hanif Bin Ngarisan','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.00099492073059082','2020-03-11 07:43:44'),(16830,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-11 07:43:44'),(16831,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036096572875977','2020-03-11 07:43:44'),(16832,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00043082237243652','2020-03-11 07:43:44'),(16833,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031208992004395','2020-03-11 07:43:44'),(16834,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039219856262207','2020-03-11 07:43:44'),(16835,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032711029052734','2020-03-11 07:43:44'),(16836,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035810470581055','2020-03-11 07:43:44'),(16837,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030112266540527','2020-03-11 07:43:44'),(16838,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032496452331543','2020-03-11 07:43:44'),(16839,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031399726867676','2020-03-11 07:43:44'),(16840,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034379959106445','2020-03-11 07:43:44'),(16841,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033402442932129','2020-03-11 07:43:44'),(16842,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051720142364502','2020-03-11 07:43:44'),(16843,98,'Muhammad Hanif Bin Ngarisan','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.0012447834014893','2020-03-11 07:43:44'),(16844,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0043890476226807','2020-03-11 07:43:44'),(16845,98,'Muhammad Hanif Bin Ngarisan','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.0011160373687744','2020-03-11 07:43:44'),(16846,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.004396915435791','2020-03-11 07:43:44'),(16847,98,'Muhammad Hanif Bin Ngarisan','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.0011200904846191','2020-03-11 07:43:44'),(16848,277,'Nazim Shah Bin Nordin','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` = \'277\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0068390369415283','2020-03-11 07:43:45'),(16849,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0051870346069336','2020-03-11 07:43:45'),(16850,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0040309429168701','2020-03-11 07:43:45'),(16851,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0062439441680908','2020-03-11 07:43:45'),(16852,277,'Nazim Shah Bin Nordin','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` = \'277\'\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.0068860054016113','2020-03-11 07:43:45'),(16853,277,'Nazim Shah Bin Nordin','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` = \'277\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0012390613555908','2020-03-11 07:43:45'),(16854,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019396066665649','2020-03-11 07:43:45'),(16855,277,'Nazim Shah Bin Nordin','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.00071597099304199','2020-03-11 07:43:45'),(16856,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-11 07:43:45'),(16857,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033402442932129','2020-03-11 07:43:45'),(16858,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033998489379883','2020-03-11 07:43:45'),(16859,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033903121948242','2020-03-11 07:43:45'),(16860,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033712387084961','2020-03-11 07:43:45'),(16861,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003359317779541','2020-03-11 07:43:45'),(16862,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003361701965332','2020-03-11 07:43:46'),(16863,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003352165222168','2020-03-11 07:43:46'),(16864,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033378601074219','2020-03-11 07:43:46'),(16865,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033378601074219','2020-03-11 07:43:46'),(16866,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033092498779297','2020-03-11 07:43:46'),(16867,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033307075500488','2020-03-11 07:43:46'),(16868,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0044879913330078','2020-03-11 07:43:46'),(16869,277,'Nazim Shah Bin Nordin','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.001194953918457','2020-03-11 07:43:46'),(16870,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0044348239898682','2020-03-11 07:43:46'),(16871,277,'Nazim Shah Bin Nordin','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.0012938976287842','2020-03-11 07:43:46'),(16872,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00053906440734863','2020-03-11 07:44:16'),(16873,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00075578689575195','2020-03-11 07:44:16'),(16874,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/406/9','0.0006868839263916','2020-03-11 07:44:16'),(16875,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/406/9','0.00058794021606445','2020-03-11 07:44:16'),(16876,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/406/9','0.0010788440704346','2020-03-11 07:44:16'),(16877,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00084805488586426','2020-03-11 07:44:16'),(16878,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00047779083251953','2020-03-11 07:44:16'),(16879,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/406/9','0.19654607772827','2020-03-11 07:44:17'),(16880,277,'Nazim Shah Bin Nordin','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` = \'406\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/406/9','0.00076603889465332','2020-03-11 07:44:17'),(16881,277,'Nazim Shah Bin Nordin','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` = \'406\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00085902214050293','2020-03-11 07:44:17'),(16882,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.16269898414612','2020-03-11 07:44:17'),(16883,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00059080123901367','2020-03-11 07:44:17'),(16884,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(406,jobID)','http://salihin.noip.me/mgs/projects/job/406/9','0.16458201408386','2020-03-11 07:44:17'),(16885,277,'Nazim Shah Bin Nordin','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` = \'406\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00066995620727539','2020-03-11 07:44:17'),(16886,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.14175605773926','2020-03-11 07:44:17'),(16887,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00085306167602539','2020-03-11 07:44:17'),(16888,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(406,jobID)','http://salihin.noip.me/mgs/projects/job/406/9','0.24618792533875','2020-03-11 07:44:17'),(16889,277,'Nazim Shah Bin Nordin','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` = \'406\'','http://salihin.noip.me/mgs/projects/job/406/9','0.0011060237884521','2020-03-11 07:44:17'),(16890,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.20088005065918','2020-03-11 07:44:17'),(16891,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00063204765319824','2020-03-11 07:44:17'),(16892,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/406/9','0.019261121749878','2020-03-11 07:44:17'),(16893,277,'Nazim Shah Bin Nordin','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/406/9','0.00067496299743652','2020-03-11 07:44:17'),(16894,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00029993057250977','2020-03-11 07:44:17'),(16895,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00029397010803223','2020-03-11 07:44:17'),(16896,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00028491020202637','2020-03-11 07:44:17'),(16897,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00028395652770996','2020-03-11 07:44:17'),(16898,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00028204917907715','2020-03-11 07:44:17'),(16899,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00027608871459961','2020-03-11 07:44:17'),(16900,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00027608871459961','2020-03-11 07:44:17'),(16901,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00027608871459961','2020-03-11 07:44:17'),(16902,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00027585029602051','2020-03-11 07:44:17'),(16903,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00028300285339355','2020-03-11 07:44:17'),(16904,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00027704238891602','2020-03-11 07:44:17'),(16905,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00027608871459961','2020-03-11 07:44:17'),(16906,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/406/9','0.0051641464233398','2020-03-11 07:44:17'),(16907,277,'Nazim Shah Bin Nordin','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/406/9','0.0013260841369629','2020-03-11 07:44:17'),(16908,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/406/9','0.0052468776702881','2020-03-11 07:44:17'),(16909,277,'Nazim Shah Bin Nordin','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/406/9','0.0013518333435059','2020-03-11 07:44:17'),(16910,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/406/9','0.0053110122680664','2020-03-11 07:44:17'),(16911,277,'Nazim Shah Bin Nordin','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/406/9','0.001288890838623','2020-03-11 07:44:17'),(16912,277,'Nazim Shah Bin Nordin','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/406/9','0.00081801414489746','2020-03-11 07:44:17'),(16913,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'9\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00054192543029785','2020-03-11 07:44:26'),(16914,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00076198577880859','2020-03-11 07:44:27'),(16915,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/406/9','0.00069403648376465','2020-03-11 07:44:27'),(16916,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/406/9','0.00059008598327637','2020-03-11 07:44:27'),(16917,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/406/9','0.001068115234375','2020-03-11 07:44:27'),(16918,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00084495544433594','2020-03-11 07:44:27'),(16919,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00047087669372559','2020-03-11 07:44:27'),(16920,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'9\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/406/9','0.20073199272156','2020-03-11 07:44:27'),(16921,277,'Nazim Shah Bin Nordin','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` = \'406\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/406/9','0.00081491470336914','2020-03-11 07:44:27'),(16922,277,'Nazim Shah Bin Nordin','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` = \'406\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00093221664428711','2020-03-11 07:44:27'),(16923,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.17897796630859','2020-03-11 07:44:27'),(16924,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00060105323791504','2020-03-11 07:44:27'),(16925,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(406,jobID)','http://salihin.noip.me/mgs/projects/job/406/9','0.2526490688324','2020-03-11 07:44:27'),(16926,277,'Nazim Shah Bin Nordin','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` = \'406\'','http://salihin.noip.me/mgs/projects/job/406/9','0.00093603134155273','2020-03-11 07:44:27'),(16927,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.18682408332825','2020-03-11 07:44:27'),(16928,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.00075507164001465','2020-03-11 07:44:27'),(16929,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(406,jobID)','http://salihin.noip.me/mgs/projects/job/406/9','0.19358396530151','2020-03-11 07:44:27'),(16930,277,'Nazim Shah Bin Nordin','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` = \'406\'','http://salihin.noip.me/mgs/projects/job/406/9','0.0007479190826416','2020-03-11 07:44:27'),(16931,277,'Nazim Shah Bin Nordin','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` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.1342179775238','2020-03-11 07:44:27'),(16932,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'406\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/406/9','0.0007328987121582','2020-03-11 07:44:27'),(16933,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/406/9','0.017366170883179','2020-03-11 07:44:27'),(16934,277,'Nazim Shah Bin Nordin','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/406/9','0.00068998336791992','2020-03-11 07:44:27'),(16935,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00036907196044922','2020-03-11 07:44:27'),(16936,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00036096572875977','2020-03-11 07:44:27'),(16937,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00035905838012695','2020-03-11 07:44:27'),(16938,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00035691261291504','2020-03-11 07:44:27'),(16939,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00035810470581055','2020-03-11 07:44:27'),(16940,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00036001205444336','2020-03-11 07:44:27'),(16941,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00035810470581055','2020-03-11 07:44:27'),(16942,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00036501884460449','2020-03-11 07:44:27'),(16943,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00036096572875977','2020-03-11 07:44:27'),(16944,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00035905838012695','2020-03-11 07:44:27'),(16945,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00036001205444336','2020-03-11 07:44:27'),(16946,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/406/9','0.00035905838012695','2020-03-11 07:44:27'),(16947,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/406/9','0.0042381286621094','2020-03-11 07:44:27'),(16948,277,'Nazim Shah Bin Nordin','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/406/9','0.0011329650878906','2020-03-11 07:44:27'),(16949,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/406/9','0.0042281150817871','2020-03-11 07:44:27'),(16950,277,'Nazim Shah Bin Nordin','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/406/9','0.0010271072387695','2020-03-11 07:44:27'),(16951,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/406/9','0.0041649341583252','2020-03-11 07:44:27'),(16952,277,'Nazim Shah Bin Nordin','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/406/9','0.0010149478912354','2020-03-11 07:44:27'),(16953,277,'Nazim Shah Bin Nordin','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/406/9','0.00066995620727539','2020-03-11 07:44:27'),(16954,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00060296058654785','2020-03-11 07:44:52'),(16955,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.017642974853516','2020-03-11 07:44:52'),(16956,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0013308525085449','2020-03-11 07:44:52'),(16957,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0092759132385254','2020-03-11 07:44:52'),(16958,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00064921379089355','2020-03-11 07:44:52'),(16959,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0087680816650391','2020-03-11 07:44:52'),(16960,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00057792663574219','2020-03-11 07:44:52'),(16961,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0052790641784668','2020-03-11 07:44:52'),(16962,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0004880428314209','2020-03-11 07:44:52'),(16963,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.010667085647583','2020-03-11 07:44:52'),(16964,277,'Nazim Shah Bin Nordin','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.037847995758057','2020-03-11 07:44:52'),(16965,277,'Nazim Shah Bin Nordin','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.0092189311981201','2020-03-11 07:44:52'),(16966,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054929256439209','2020-03-11 07:44:52'),(16967,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.08349609375','2020-03-11 07:44:52'),(16968,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.076767921447754','2020-03-11 07:44:52'),(16969,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.013942003250122','2020-03-11 07:44:52'),(16970,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0024809837341309','2020-03-11 07:44:53'),(16971,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.013903141021729','2020-03-11 07:44:53'),(16972,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0024738311767578','2020-03-11 07:44:53'),(16973,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.54806709289551','2020-03-11 07:44:53'),(16974,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.21918511390686','2020-03-11 07:44:53'),(16975,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.37969207763672','2020-03-11 07:44:53'),(16976,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.1381950378418','2020-03-11 07:44:53'),(16977,277,'Nazim Shah Bin Nordin','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` = \'277\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.010879039764404','2020-03-11 07:44:53'),(16978,277,'Nazim Shah Bin Nordin','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` = \'277\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01104998588562','2020-03-11 07:44:53'),(16979,277,'Nazim Shah Bin Nordin','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.00099301338195801','2020-03-11 07:44:53'),(16980,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.017484188079834','2020-03-11 07:44:53'),(16981,277,'Nazim Shah Bin Nordin','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.00070810317993164','2020-03-11 07:44:53'),(16982,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032305717468262','2020-03-11 07:44:53'),(16983,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030899047851562','2020-03-11 07:44:53'),(16984,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031208992004395','2020-03-11 07:44:53'),(16985,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003049373626709','2020-03-11 07:44:53'),(16986,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030517578125','2020-03-11 07:44:53'),(16987,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039482116699219','2020-03-11 07:44:53'),(16988,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035405158996582','2020-03-11 07:44:53'),(16989,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033688545227051','2020-03-11 07:44:53'),(16990,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033783912658691','2020-03-11 07:44:53'),(16991,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034093856811523','2020-03-11 07:44:53'),(16992,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003359317779541','2020-03-11 07:44:53'),(16993,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003361701965332','2020-03-11 07:44:53'),(16994,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0061020851135254','2020-03-11 07:44:53'),(16995,277,'Nazim Shah Bin Nordin','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.0012071132659912','2020-03-11 07:44:53'),(16996,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0048089027404785','2020-03-11 07:44:53'),(16997,277,'Nazim Shah Bin Nordin','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.0010809898376465','2020-03-11 07:44:53'),(16998,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0047519207000732','2020-03-11 07:44:53'),(16999,277,'Nazim Shah Bin Nordin','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.0010669231414795','2020-03-11 07:44:53'),(17000,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'277\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/workflow/workflow','0.01965594291687','2020-03-11 07:45:00'),(17001,277,'Nazim Shah Bin Nordin','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/workflow/workflow','0.00079083442687988','2020-03-11 07:45:00'),(17002,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00042486190795898','2020-03-11 07:45:00'),(17003,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041794776916504','2020-03-11 07:45:00'),(17004,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041794776916504','2020-03-11 07:45:00'),(17005,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041604042053223','2020-03-11 07:45:00'),(17006,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041389465332031','2020-03-11 07:45:00'),(17007,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041699409484863','2020-03-11 07:45:00'),(17008,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041794776916504','2020-03-11 07:45:00'),(17009,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041699409484863','2020-03-11 07:45:01'),(17010,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041913986206055','2020-03-11 07:45:01'),(17011,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041794776916504','2020-03-11 07:45:01'),(17012,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041389465332031','2020-03-11 07:45:01'),(17013,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/workflow/workflow','0.00041699409484863','2020-03-11 07:45:01'),(17014,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/workflow/workflow','0.0057060718536377','2020-03-11 07:45:01'),(17015,277,'Nazim Shah Bin Nordin','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/workflow/workflow','0.0013949871063232','2020-03-11 07:45:01'),(17016,277,'Nazim Shah Bin Nordin','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/workflow/workflow','0.0056869983673096','2020-03-11 07:45:01'),(17017,277,'Nazim Shah Bin Nordin','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/workflow/workflow','0.001323938369751','2020-03-11 07:45:01'),(17018,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT role FROM user__role WHERE user_ID = 244','http://salihin.noip.me/mgs/login/setSession','0.00047206878662109','2020-03-11 07:58:57'),(17019,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00061511993408203','2020-03-11 07:59:08'),(17020,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.022308111190796','2020-03-11 07:59:08'),(17021,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00093698501586914','2020-03-11 07:59:09'),(17022,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.017868995666504','2020-03-11 07:59:09'),(17023,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00076103210449219','2020-03-11 07:59:09'),(17024,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.011536836624146','2020-03-11 07:59:09'),(17025,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00064802169799805','2020-03-11 07:59:09'),(17026,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0061180591583252','2020-03-11 07:59:09'),(17027,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0004570484161377','2020-03-11 07:59:09'),(17028,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0070869922637939','2020-03-11 07:59:09'),(17029,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.033226013183594','2020-03-11 07:59:09'),(17030,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0084960460662842','2020-03-11 07:59:09'),(17031,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051839351654053','2020-03-11 07:59:09'),(17032,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.077481985092163','2020-03-11 07:59:09'),(17033,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.077043771743774','2020-03-11 07:59:09'),(17034,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014379978179932','2020-03-11 07:59:09'),(17035,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0027830600738525','2020-03-11 07:59:09'),(17036,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.01410698890686','2020-03-11 07:59:09'),(17037,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025548934936523','2020-03-11 07:59:09'),(17038,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.9604909420013','2020-03-11 07:59:09'),(17039,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.4652981758118','2020-03-11 07:59:09'),(17040,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.6066060066223','2020-03-11 07:59:09'),(17041,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.9142379760742','2020-03-11 07:59:09'),(17042,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.016602993011475','2020-03-11 07:59:09'),(17043,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0176100730896','2020-03-11 07:59:09'),(17044,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00096392631530762','2020-03-11 07:59:09'),(17045,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.018918037414551','2020-03-11 07:59:09'),(17046,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00076794624328613','2020-03-11 07:59:09'),(17047,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041604042053223','2020-03-11 07:59:09'),(17048,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 07:59:09'),(17049,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040388107299805','2020-03-11 07:59:09'),(17050,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00044894218444824','2020-03-11 07:59:09'),(17051,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035905838012695','2020-03-11 07:59:09'),(17052,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040602684020996','2020-03-11 07:59:09'),(17053,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040411949157715','2020-03-11 07:59:09'),(17054,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-11 07:59:09'),(17055,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040888786315918','2020-03-11 07:59:09'),(17056,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040411949157715','2020-03-11 07:59:09'),(17057,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040316581726074','2020-03-11 07:59:09'),(17058,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040602684020996','2020-03-11 07:59:09'),(17059,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055170059204102','2020-03-11 07:59:09'),(17060,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0013358592987061','2020-03-11 07:59:09'),(17061,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0052940845489502','2020-03-11 07:59:09'),(17062,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0012547969818115','2020-03-11 07:59:09'),(17063,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054819583892822','2020-03-11 07:59:09'),(17064,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0013530254364014','2020-03-11 07:59:09'),(17065,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0058619976043701','2020-03-11 07:59:30'),(17066,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0037620067596436','2020-03-11 07:59:30'),(17067,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0041799545288086','2020-03-11 07:59:30'),(17068,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0034630298614502','2020-03-11 07:59:30'),(17069,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0036361217498779','2020-03-11 07:59:30'),(17070,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00094819068908691','2020-03-11 07:59:30'),(17071,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.018802881240845','2020-03-11 07:59:30'),(17072,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00071883201599121','2020-03-11 07:59:30'),(17073,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039887428283691','2020-03-11 07:59:30'),(17074,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003960132598877','2020-03-11 07:59:30'),(17075,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039577484130859','2020-03-11 07:59:30'),(17076,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-11 07:59:30'),(17077,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039005279541016','2020-03-11 07:59:30'),(17078,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-11 07:59:30'),(17079,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-11 07:59:30'),(17080,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-11 07:59:30'),(17081,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039005279541016','2020-03-11 07:59:30'),(17082,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-11 07:59:30'),(17083,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039410591125488','2020-03-11 07:59:30'),(17084,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039577484130859','2020-03-11 07:59:30'),(17085,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052421092987061','2020-03-11 07:59:30'),(17086,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.001244068145752','2020-03-11 07:59:30'),(17087,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0046250820159912','2020-03-11 07:59:30'),(17088,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0013470649719238','2020-03-11 07:59:30'),(17089,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00061297416687012','2020-03-11 07:59:42'),(17090,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0010809898376465','2020-03-11 07:59:42'),(17091,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00066709518432617','2020-03-11 07:59:42'),(17092,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00054812431335449','2020-03-11 07:59:42'),(17093,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0011670589447021','2020-03-11 07:59:42'),(17094,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00088191032409668','2020-03-11 07:59:42'),(17095,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1241/8','0.00046014785766602','2020-03-11 07:59:42'),(17096,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.19588398933411','2020-03-11 07:59:42'),(17097,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00081801414489746','2020-03-11 07:59:42'),(17098,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00092196464538574','2020-03-11 07:59:42'),(17099,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.19577717781067','2020-03-11 07:59:43'),(17100,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00084304809570312','2020-03-11 07:59:43'),(17101,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1241,jobID)','http://salihin.noip.me/mgs/projects/job/1241/8','0.24686312675476','2020-03-11 07:59:43'),(17102,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0010700225830078','2020-03-11 07:59:43'),(17103,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.17376804351807','2020-03-11 07:59:43'),(17104,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00059199333190918','2020-03-11 07:59:43'),(17105,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00073504447937012','2020-03-11 07:59:43'),(17106,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.2017650604248','2020-03-11 07:59:43'),(17107,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00084686279296875','2020-03-11 07:59:43'),(17108,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1241,jobID)','http://salihin.noip.me/mgs/projects/job/1241/8','0.22966599464417','2020-03-11 07:59:43'),(17109,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00082993507385254','2020-03-11 07:59:43'),(17110,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.14781093597412','2020-03-11 07:59:43'),(17111,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00052404403686523','2020-03-11 07:59:43'),(17112,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00062394142150879','2020-03-11 07:59:43'),(17113,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.12268090248108','2020-03-11 07:59:43'),(17114,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00049710273742676','2020-03-11 07:59:43'),(17115,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.017634153366089','2020-03-11 07:59:43'),(17116,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00063204765319824','2020-03-11 07:59:43'),(17117,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00032711029052734','2020-03-11 07:59:43'),(17118,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00030207633972168','2020-03-11 07:59:43'),(17119,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031805038452148','2020-03-11 07:59:43'),(17120,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031709671020508','2020-03-11 07:59:43'),(17121,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00032210350036621','2020-03-11 07:59:43'),(17122,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031805038452148','2020-03-11 07:59:43'),(17123,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031614303588867','2020-03-11 07:59:43'),(17124,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00032281875610352','2020-03-11 07:59:43'),(17125,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031709671020508','2020-03-11 07:59:43'),(17126,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031685829162598','2020-03-11 07:59:43'),(17127,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.00031590461730957','2020-03-11 07:59:43'),(17128,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0003209114074707','2020-03-11 07:59:43'),(17129,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0050070285797119','2020-03-11 07:59:43'),(17130,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0013389587402344','2020-03-11 07:59:43'),(17131,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1241/8','0.005295991897583','2020-03-11 07:59:43'),(17132,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0012578964233398','2020-03-11 07:59:43'),(17133,244,'Muhammad Syafii bin Yusman','175.140.87.216','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1241/8','0.0052268505096436','2020-03-11 07:59:43'),(17134,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.0012450218200684','2020-03-11 07:59:43'),(17135,244,'Muhammad Syafii bin Yusman','175.140.87.216','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.00082302093505859','2020-03-11 07:59:43'),(17136,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00058579444885254','2020-03-11 08:13:37'),(17137,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0092241764068604','2020-03-11 08:13:37'),(17138,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00050210952758789','2020-03-11 08:13:37'),(17139,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0082509517669678','2020-03-11 08:13:37'),(17140,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0006248950958252','2020-03-11 08:13:37'),(17141,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0064880847930908','2020-03-11 08:13:37'),(17142,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00056004524230957','2020-03-11 08:13:37'),(17143,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0073010921478271','2020-03-11 08:13:37'),(17144,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049018859863281','2020-03-11 08:13:37'),(17145,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.017153024673462','2020-03-11 08:13:37'),(17146,98,'Muhammad Hanif Bin Ngarisan','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.035948038101196','2020-03-11 08:13:37'),(17147,98,'Muhammad Hanif Bin Ngarisan','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.0083441734313965','2020-03-11 08:13:37'),(17148,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0048880577087402','2020-03-11 08:13:38'),(17149,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078052997589111','2020-03-11 08:13:38'),(17150,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.07731294631958','2020-03-11 08:13:38'),(17151,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.013987064361572','2020-03-11 08:13:38'),(17152,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025980472564697','2020-03-11 08:13:38'),(17153,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014051914215088','2020-03-11 08:13:38'),(17154,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025298595428467','2020-03-11 08:13:38'),(17155,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.53655791282654','2020-03-11 08:13:38'),(17156,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.22486114501953','2020-03-11 08:13:38'),(17157,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.40254306793213','2020-03-11 08:13:38'),(17158,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.14423894882202','2020-03-11 08:13:38'),(17159,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0017180442810059','2020-03-11 08:13:38'),(17160,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016319751739502','2020-03-11 08:13:38'),(17161,98,'Muhammad Hanif Bin Ngarisan','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.00066113471984863','2020-03-11 08:13:38'),(17162,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.020389080047607','2020-03-11 08:13:38'),(17163,98,'Muhammad Hanif Bin Ngarisan','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.00084900856018066','2020-03-11 08:13:38'),(17164,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036287307739258','2020-03-11 08:13:38'),(17165,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003509521484375','2020-03-11 08:13:38'),(17166,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035190582275391','2020-03-11 08:13:38'),(17167,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003509521484375','2020-03-11 08:13:38'),(17168,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035214424133301','2020-03-11 08:13:38'),(17169,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003509521484375','2020-03-11 08:13:38'),(17170,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003509521484375','2020-03-11 08:13:38'),(17171,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034999847412109','2020-03-11 08:13:38'),(17172,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040197372436523','2020-03-11 08:13:38'),(17173,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-11 08:13:38'),(17174,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-11 08:13:38'),(17175,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039005279541016','2020-03-11 08:13:38'),(17176,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051898956298828','2020-03-11 08:13:38'),(17177,98,'Muhammad Hanif Bin Ngarisan','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.0015158653259277','2020-03-11 08:13:38'),(17178,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050559043884277','2020-03-11 08:13:38'),(17179,98,'Muhammad Hanif Bin Ngarisan','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.0014200210571289','2020-03-11 08:13:39'),(17180,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0046248435974121','2020-03-11 08:13:39'),(17181,98,'Muhammad Hanif Bin Ngarisan','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.0012080669403076','2020-03-11 08:13:39'),(17182,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00060510635375977','2020-03-11 08:15:15'),(17183,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0093200206756592','2020-03-11 08:15:16'),(17184,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00050091743469238','2020-03-11 08:15:16'),(17185,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0061271190643311','2020-03-11 08:15:16'),(17186,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00051283836364746','2020-03-11 08:15:16'),(17187,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0066900253295898','2020-03-11 08:15:16'),(17188,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00051307678222656','2020-03-11 08:15:16'),(17189,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0056018829345703','2020-03-11 08:15:16'),(17190,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00048494338989258','2020-03-11 08:15:16'),(17191,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0095748901367188','2020-03-11 08:15:16'),(17192,98,'Muhammad Hanif Bin Ngarisan','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.038217067718506','2020-03-11 08:15:16'),(17193,98,'Muhammad Hanif Bin Ngarisan','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.00838303565979','2020-03-11 08:15:16'),(17194,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0061018466949463','2020-03-11 08:15:16'),(17195,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.072494029998779','2020-03-11 08:15:16'),(17196,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.078224897384644','2020-03-11 08:15:16'),(17197,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014205932617188','2020-03-11 08:15:16'),(17198,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0024940967559814','2020-03-11 08:15:16'),(17199,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014055967330933','2020-03-11 08:15:16'),(17200,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025079250335693','2020-03-11 08:15:16'),(17201,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.55863499641418','2020-03-11 08:15:16'),(17202,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.20592498779297','2020-03-11 08:15:16'),(17203,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.30148005485535','2020-03-11 08:15:16'),(17204,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.10216188430786','2020-03-11 08:15:16'),(17205,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016849040985107','2020-03-11 08:15:16'),(17206,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0023031234741211','2020-03-11 08:15:16'),(17207,98,'Muhammad Hanif Bin Ngarisan','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.00094413757324219','2020-03-11 08:15:16'),(17208,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.021836042404175','2020-03-11 08:15:16'),(17209,98,'Muhammad Hanif Bin Ngarisan','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.00099492073059082','2020-03-11 08:15:16'),(17210,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041985511779785','2020-03-11 08:15:17'),(17211,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003819465637207','2020-03-11 08:15:17'),(17212,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-11 08:15:17'),(17213,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-11 08:15:17'),(17214,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-11 08:15:17'),(17215,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037980079650879','2020-03-11 08:15:17'),(17216,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-11 08:15:17'),(17217,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039196014404297','2020-03-11 08:15:17'),(17218,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-11 08:15:17'),(17219,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039100646972656','2020-03-11 08:15:17'),(17220,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038003921508789','2020-03-11 08:15:17'),(17221,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-11 08:15:17'),(17222,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0046470165252686','2020-03-11 08:15:17'),(17223,98,'Muhammad Hanif Bin Ngarisan','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.0012941360473633','2020-03-11 08:15:17'),(17224,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0044410228729248','2020-03-11 08:15:17'),(17225,98,'Muhammad Hanif Bin Ngarisan','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.0012078285217285','2020-03-11 08:15:17'),(17226,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0046770572662354','2020-03-11 08:15:17'),(17227,98,'Muhammad Hanif Bin Ngarisan','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.0015537738800049','2020-03-11 08:15:17'),(17228,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00058197975158691','2020-03-11 08:17:22'),(17229,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0078821182250977','2020-03-11 08:17:22'),(17230,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046801567077637','2020-03-11 08:17:22'),(17231,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0081939697265625','2020-03-11 08:17:22'),(17232,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00051999092102051','2020-03-11 08:17:22'),(17233,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0083541870117188','2020-03-11 08:17:22'),(17234,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00052809715270996','2020-03-11 08:17:22'),(17235,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0053238868713379','2020-03-11 08:17:23'),(17236,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046706199645996','2020-03-11 08:17:23'),(17237,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.010440111160278','2020-03-11 08:17:23'),(17238,98,'Muhammad Hanif Bin Ngarisan','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.037675142288208','2020-03-11 08:17:23'),(17239,98,'Muhammad Hanif Bin Ngarisan','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.0082690715789795','2020-03-11 08:17:23'),(17240,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049760341644287','2020-03-11 08:17:23'),(17241,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.069965839385986','2020-03-11 08:17:23'),(17242,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.067538976669312','2020-03-11 08:17:23'),(17243,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014227867126465','2020-03-11 08:17:23'),(17244,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025901794433594','2020-03-11 08:17:23'),(17245,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014201164245605','2020-03-11 08:17:23'),(17246,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026659965515137','2020-03-11 08:17:23'),(17247,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.58220100402832','2020-03-11 08:17:23'),(17248,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.20181798934937','2020-03-11 08:17:23'),(17249,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.34031891822815','2020-03-11 08:17:23'),(17250,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.12796211242676','2020-03-11 08:17:23'),(17251,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0015208721160889','2020-03-11 08:17:23'),(17252,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0015151500701904','2020-03-11 08:17:23'),(17253,98,'Muhammad Hanif Bin Ngarisan','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.00059294700622559','2020-03-11 08:17:23'),(17254,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.018042087554932','2020-03-11 08:17:23'),(17255,98,'Muhammad Hanif Bin Ngarisan','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.00080704689025879','2020-03-11 08:17:23'),(17256,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033402442932129','2020-03-11 08:17:23'),(17257,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020313262939453','2020-03-11 08:17:23'),(17258,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021910667419434','2020-03-11 08:17:23'),(17259,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025606155395508','2020-03-11 08:17:24'),(17260,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00019407272338867','2020-03-11 08:17:24'),(17261,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022006034851074','2020-03-11 08:17:24'),(17262,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00022006034851074','2020-03-11 08:17:24'),(17263,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020384788513184','2020-03-11 08:17:24'),(17264,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021791458129883','2020-03-11 08:17:24'),(17265,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020313262939453','2020-03-11 08:17:24'),(17266,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021195411682129','2020-03-11 08:17:24'),(17267,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020599365234375','2020-03-11 08:17:24'),(17268,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032100677490234','2020-03-11 08:17:24'),(17269,98,'Muhammad Hanif Bin Ngarisan','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.0011718273162842','2020-03-11 08:17:24'),(17270,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0034351348876953','2020-03-11 08:17:24'),(17271,98,'Muhammad Hanif Bin Ngarisan','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.0009620189666748','2020-03-11 08:17:24'),(17272,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0036060810089111','2020-03-11 08:17:24'),(17273,98,'Muhammad Hanif Bin Ngarisan','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.0011341571807861','2020-03-11 08:17:24'),(17274,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049805641174316','2020-03-11 08:18:57'),(17275,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.012525081634521','2020-03-11 08:18:57'),(17276,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046586990356445','2020-03-11 08:18:57'),(17277,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0075311660766602','2020-03-11 08:18:57'),(17278,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00043106079101562','2020-03-11 08:18:57'),(17279,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0077340602874756','2020-03-11 08:18:57'),(17280,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00046586990356445','2020-03-11 08:18:57'),(17281,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0061049461364746','2020-03-11 08:18:57'),(17282,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00043511390686035','2020-03-11 08:18:57'),(17283,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.021302938461304','2020-03-11 08:18:57'),(17284,98,'Muhammad Hanif Bin Ngarisan','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.037652969360352','2020-03-11 08:18:57'),(17285,98,'Muhammad Hanif Bin Ngarisan','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.010982990264893','2020-03-11 08:18:58'),(17286,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005626916885376','2020-03-11 08:18:58'),(17287,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078909158706665','2020-03-11 08:18:58'),(17288,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.076696157455444','2020-03-11 08:18:58'),(17289,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012864112854004','2020-03-11 08:18:58'),(17290,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026419162750244','2020-03-11 08:18:58'),(17291,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012916088104248','2020-03-11 08:18:58'),(17292,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0024909973144531','2020-03-11 08:18:58'),(17293,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.6246030330658','2020-03-11 08:18:58'),(17294,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 9))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.21866393089294','2020-03-11 08:18:58'),(17295,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.44166207313538','2020-03-11 08:18:58'),(17296,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 9))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 9)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.17054200172424','2020-03-11 08:18:58'),(17297,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.002763032913208','2020-03-11 08:18:58'),(17298,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0024328231811523','2020-03-11 08:18:58'),(17299,98,'Muhammad Hanif Bin Ngarisan','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.00098299980163574','2020-03-11 08:18:58'),(17300,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'98\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.021979808807373','2020-03-11 08:18:58'),(17301,98,'Muhammad Hanif Bin Ngarisan','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.0010230541229248','2020-03-11 08:18:58'),(17302,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041699409484863','2020-03-11 08:18:58'),(17303,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039219856262207','2020-03-11 08:18:58'),(17304,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003819465637207','2020-03-11 08:18:58'),(17305,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-11 08:18:58'),(17306,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039315223693848','2020-03-11 08:18:58'),(17307,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039386749267578','2020-03-11 08:18:59'),(17308,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003809928894043','2020-03-11 08:18:59'),(17309,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003960132598877','2020-03-11 08:18:59'),(17310,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038599967956543','2020-03-11 08:18:59'),(17311,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003972053527832','2020-03-11 08:18:59'),(17312,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003809928894043','2020-03-11 08:18:59'),(17313,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-11 08:18:59'),(17314,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005012035369873','2020-03-11 08:18:59'),(17315,98,'Muhammad Hanif Bin Ngarisan','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.0014369487762451','2020-03-11 08:18:59'),(17316,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0042970180511475','2020-03-11 08:18:59'),(17317,98,'Muhammad Hanif Bin Ngarisan','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.0013620853424072','2020-03-11 08:18:59'),(17318,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049710273742676','2020-03-11 08:18:59'),(17319,98,'Muhammad Hanif Bin Ngarisan','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.0011520385742188','2020-03-11 08:18:59'),(17320,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00058102607727051','2020-03-11 08:20:51'),(17321,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0091760158538818','2020-03-11 08:20:51'),(17322,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0004889965057373','2020-03-11 08:20:51'),(17323,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.007580041885376','2020-03-11 08:20:51'),(17324,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.0005638599395752','2020-03-11 08:20:51'),(17325,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0094499588012695','2020-03-11 08:20:51'),(17326,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00054287910461426','2020-03-11 08:20:51'),(17327,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0067019462585449','2020-03-11 08:20:51'),(17328,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.00049614906311035','2020-03-11 08:20:51'),(17329,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'9\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0099561214447021','2020-03-11 08:20:51'),(17330,98,'Muhammad Hanif Bin Ngarisan','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.038069009780884','2020-03-11 08:20:51'),(17331,98,'Muhammad Hanif Bin Ngarisan','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.0091290473937988','2020-03-11 08:20:51'),(17332,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053939819335938','2020-03-11 08:20:51'),(17333,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078459978103638','2020-03-11 08:20:51'),(17334,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Partner Office\'','http://salihin.noip.me/mgs/dashboard','0.078217029571533','2020-03-11 08:20:51'),(17335,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.01427698135376','2020-03-11 08:20:51'),(17336,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025980472564697','2020-03-11 08:20:51'),(17337,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014168977737427','2020-03-11 08:20:51'),(17338,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026578903198242','2020-03-11 08:20:51');
