INSERT INTO `_log__query` VALUES (28137,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.9521729946136','2020-03-12 07:06:36'),(28138,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.021470069885254','2020-03-12 07:06:36'),(28139,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.020036220550537','2020-03-12 07:06:36'),(28140,372,'Nurliyana Shafinaz Binti Amran','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.0010800361633301','2020-03-12 07:06:36'),(28141,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'372\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.012567043304443','2020-03-12 07:06:36'),(28142,372,'Nurliyana Shafinaz Binti Amran','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.00050497055053711','2020-03-12 07:06:36'),(28143,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026392936706543','2020-03-12 07:06:36'),(28144,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024080276489258','2020-03-12 07:06:36'),(28145,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024008750915527','2020-03-12 07:06:36'),(28146,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023698806762695','2020-03-12 07:06:36'),(28147,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023818016052246','2020-03-12 07:06:36'),(28148,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023794174194336','2020-03-12 07:06:36'),(28149,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023913383483887','2020-03-12 07:06:36'),(28150,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023722648620605','2020-03-12 07:06:37'),(28151,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023603439331055','2020-03-12 07:06:37'),(28152,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023603439331055','2020-03-12 07:06:37'),(28153,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023698806762695','2020-03-12 07:06:37'),(28154,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023603439331055','2020-03-12 07:06:37'),(28155,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055310726165771','2020-03-12 07:06:37'),(28156,372,'Nurliyana Shafinaz Binti Amran','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.0014429092407227','2020-03-12 07:06:37'),(28157,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0054740905761719','2020-03-12 07:06:37'),(28158,372,'Nurliyana Shafinaz Binti Amran','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.0014660358428955','2020-03-12 07:06:37'),(28159,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0056319236755371','2020-03-12 07:06:37'),(28160,372,'Nurliyana Shafinaz Binti Amran','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.0014450550079346','2020-03-12 07:06:37'),(28161,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0062110424041748','2020-03-12 07:06:45'),(28162,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\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.0061159133911133','2020-03-12 07:06:45'),(28163,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\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.0047488212585449','2020-03-12 07:06:45'),(28164,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\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.005871057510376','2020-03-12 07:06:45'),(28165,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\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.0064139366149902','2020-03-12 07:06:45'),(28166,372,'Nurliyana Shafinaz Binti Amran','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` = \'372\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00099897384643555','2020-03-12 07:06:45'),(28167,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'372\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.01931095123291','2020-03-12 07:06:45'),(28168,372,'Nurliyana Shafinaz Binti Amran','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.00075507164001465','2020-03-12 07:06:46'),(28169,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00042200088500977','2020-03-12 07:06:46'),(28170,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040316581726074','2020-03-12 07:06:46'),(28171,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-12 07:06:46'),(28172,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039005279541016','2020-03-12 07:06:46'),(28173,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-12 07:06:46'),(28174,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-12 07:06:46'),(28175,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-12 07:06:46'),(28176,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040483474731445','2020-03-12 07:06:46'),(28177,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039815902709961','2020-03-12 07:06:47'),(28178,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-12 07:06:47'),(28179,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-12 07:06:47'),(28180,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004279613494873','2020-03-12 07:06:47'),(28181,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0055890083312988','2020-03-12 07:06:47'),(28182,372,'Nurliyana Shafinaz Binti Amran','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.0014679431915283','2020-03-12 07:06:47'),(28183,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0056750774383545','2020-03-12 07:06:47'),(28184,372,'Nurliyana Shafinaz Binti Amran','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.0013251304626465','2020-03-12 07:06:47'),(28185,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nWHERE `service_id` = \'10\'\nORDER BY `service_id`','http://salihin.noip.me/mgs/projects/getJob','0.00074219703674316','2020-03-12 07:07:07'),(28186,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/1376/9','0.00060701370239258','2020-03-12 07:07:19'),(28187,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00078892707824707','2020-03-12 07:07:19'),(28188,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` = \'1376\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1376/9','0.00071811676025391','2020-03-12 07:07:19'),(28189,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00058984756469727','2020-03-12 07:07:19'),(28190,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0010750293731689','2020-03-12 07:07:19'),(28191,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00086188316345215','2020-03-12 07:07:19'),(28192,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/1376/9','0.00043892860412598','2020-03-12 07:07:19'),(28193,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/1376/9','0.18595600128174','2020-03-12 07:07:19'),(28194,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` = \'1376\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1376/9','0.00073719024658203','2020-03-12 07:07:19'),(28195,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.00094223022460938','2020-03-12 07:07:19'),(28196,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.0017988681793213','2020-03-12 07:07:19'),(28197,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00067996978759766','2020-03-12 07:07:19'),(28198,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1376,jobID)','http://salihin.noip.me/mgs/projects/job/1376/9','0.25258111953735','2020-03-12 07:07:19'),(28199,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.00090694427490234','2020-03-12 07:07:19'),(28200,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.0016050338745117','2020-03-12 07:07:19'),(28201,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00063204765319824','2020-03-12 07:07:19'),(28202,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1376,jobID)','http://salihin.noip.me/mgs/projects/job/1376/9','0.27387309074402','2020-03-12 07:07:19'),(28203,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.0011019706726074','2020-03-12 07:07:19'),(28204,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.0019199848175049','2020-03-12 07:07:19'),(28205,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00077986717224121','2020-03-12 07:07:19'),(28206,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/1376/9','0.022899150848389','2020-03-12 07:07:19'),(28207,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/1376/9','0.001060962677002','2020-03-12 07:07:19'),(28208,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0004420280456543','2020-03-12 07:07:19'),(28209,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040793418884277','2020-03-12 07:07:19'),(28210,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040197372436523','2020-03-12 07:07:19'),(28211,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00041389465332031','2020-03-12 07:07:19'),(28212,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040316581726074','2020-03-12 07:07:19'),(28213,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040316581726074','2020-03-12 07:07:19'),(28214,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0003960132598877','2020-03-12 07:07:19'),(28215,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00043416023254395','2020-03-12 07:07:19'),(28216,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040197372436523','2020-03-12 07:07:20'),(28217,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040006637573242','2020-03-12 07:07:20'),(28218,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040221214294434','2020-03-12 07:07:20'),(28219,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040292739868164','2020-03-12 07:07:20'),(28220,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/1376/9','0.0053918361663818','2020-03-12 07:07:20'),(28221,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/1376/9','0.0014889240264893','2020-03-12 07:07:20'),(28222,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/1376/9','0.0048320293426514','2020-03-12 07:07:20'),(28223,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/1376/9','0.0012669563293457','2020-03-12 07:07:20'),(28224,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/1376/9','0.0047791004180908','2020-03-12 07:07:20'),(28225,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/1376/9','0.0012259483337402','2020-03-12 07:07:20'),(28226,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/1376/9','0.00079488754272461','2020-03-12 07:07:20'),(28227,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/1376/9','0.00056600570678711','2020-03-12 07:08:11'),(28228,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00077295303344727','2020-03-12 07:08:11'),(28229,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` = \'1376\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1376/9','0.00067687034606934','2020-03-12 07:08:11'),(28230,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00058293342590332','2020-03-12 07:08:11'),(28231,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0010731220245361','2020-03-12 07:08:11'),(28232,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.001201868057251','2020-03-12 07:08:11'),(28233,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/1376/9','0.00041604042053223','2020-03-12 07:08:11'),(28234,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/1376/9','0.17502307891846','2020-03-12 07:08:11'),(28235,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` = \'1376\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1376/9','0.00075411796569824','2020-03-12 07:08:11'),(28236,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.00094509124755859','2020-03-12 07:08:11'),(28237,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.18088006973267','2020-03-12 07:08:11'),(28238,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00081300735473633','2020-03-12 07:08:11'),(28239,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1376,jobID)','http://salihin.noip.me/mgs/projects/job/1376/9','0.24797201156616','2020-03-12 07:08:11'),(28240,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.00099897384643555','2020-03-12 07:08:11'),(28241,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.18291091918945','2020-03-12 07:08:11'),(28242,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00083494186401367','2020-03-12 07:08:11'),(28243,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1376,jobID)','http://salihin.noip.me/mgs/projects/job/1376/9','0.32012104988098','2020-03-12 07:08:11'),(28244,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.0010759830474854','2020-03-12 07:08:11'),(28245,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.17634296417236','2020-03-12 07:08:11'),(28246,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00076603889465332','2020-03-12 07:08:11'),(28247,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/1376/9','0.020527839660645','2020-03-12 07:08:11'),(28248,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/1376/9','0.0010290145874023','2020-03-12 07:08:11'),(28249,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040912628173828','2020-03-12 07:08:11'),(28250,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040197372436523','2020-03-12 07:08:11'),(28251,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040411949157715','2020-03-12 07:08:11'),(28252,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040388107299805','2020-03-12 07:08:11'),(28253,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00039792060852051','2020-03-12 07:08:11'),(28254,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040197372436523','2020-03-12 07:08:11'),(28255,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040292739868164','2020-03-12 07:08:11'),(28256,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040102005004883','2020-03-12 07:08:12'),(28257,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040388107299805','2020-03-12 07:08:12'),(28258,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0003969669342041','2020-03-12 07:08:12'),(28259,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00039982795715332','2020-03-12 07:08:12'),(28260,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00040197372436523','2020-03-12 07:08:12'),(28261,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/1376/9','0.0052850246429443','2020-03-12 07:08:12'),(28262,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/1376/9','0.0014147758483887','2020-03-12 07:08:12'),(28263,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/1376/9','0.0054080486297607','2020-03-12 07:08:12'),(28264,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/1376/9','0.0013558864593506','2020-03-12 07:08:12'),(28265,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/1376/9','0.0051999092102051','2020-03-12 07:08:12'),(28266,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/1376/9','0.0013010501861572','2020-03-12 07:08:12'),(28267,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/1376/9','0.00083303451538086','2020-03-12 07:08:12'),(28268,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/1376/9','0.00058913230895996','2020-03-12 07:08:19'),(28269,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00077414512634277','2020-03-12 07:08:19'),(28270,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` = \'1376\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1376/9','0.0006859302520752','2020-03-12 07:08:19'),(28271,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00058507919311523','2020-03-12 07:08:19'),(28272,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1376/9','0.001060962677002','2020-03-12 07:08:19'),(28273,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00082302093505859','2020-03-12 07:08:19'),(28274,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/1376/9','0.00043892860412598','2020-03-12 07:08:19'),(28275,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/1376/9','0.17948913574219','2020-03-12 07:08:19'),(28276,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` = \'1376\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1376/9','0.00075697898864746','2020-03-12 07:08:19'),(28277,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.00094318389892578','2020-03-12 07:08:19'),(28278,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.18530011177063','2020-03-12 07:08:19'),(28279,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00087904930114746','2020-03-12 07:08:19'),(28280,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1376,jobID)','http://salihin.noip.me/mgs/projects/job/1376/9','0.23440384864807','2020-03-12 07:08:19'),(28281,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.00094819068908691','2020-03-12 07:08:19'),(28282,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.16655993461609','2020-03-12 07:08:19'),(28283,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.00084114074707031','2020-03-12 07:08:19'),(28284,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1376,jobID)','http://salihin.noip.me/mgs/projects/job/1376/9','0.32331609725952','2020-03-12 07:08:19'),(28285,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` = \'1376\'','http://salihin.noip.me/mgs/projects/job/1376/9','0.0010628700256348','2020-03-12 07:08:19'),(28286,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` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.17253184318542','2020-03-12 07:08:19'),(28287,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1376\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1376/9','0.0008091926574707','2020-03-12 07:08:20'),(28288,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/1376/9','0.027742862701416','2020-03-12 07:08:20'),(28289,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/1376/9','0.0011110305786133','2020-03-12 07:08:20'),(28290,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00050115585327148','2020-03-12 07:08:20'),(28291,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00039005279541016','2020-03-12 07:08:20'),(28292,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00036215782165527','2020-03-12 07:08:20'),(28293,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0003058910369873','2020-03-12 07:08:20'),(28294,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00042200088500977','2020-03-12 07:08:20'),(28295,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00035810470581055','2020-03-12 07:08:20'),(28296,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00035786628723145','2020-03-12 07:08:20'),(28297,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00036907196044922','2020-03-12 07:08:20'),(28298,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00031805038452148','2020-03-12 07:08:20'),(28299,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.00032615661621094','2020-03-12 07:08:20'),(28300,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0003209114074707','2020-03-12 07:08:20'),(28301,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1376/9','0.0003809928894043','2020-03-12 07:08:20'),(28302,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/1376/9','0.0061280727386475','2020-03-12 07:08:20'),(28303,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/1376/9','0.0015649795532227','2020-03-12 07:08:20'),(28304,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/1376/9','0.0053589344024658','2020-03-12 07:08:20'),(28305,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/1376/9','0.0013608932495117','2020-03-12 07:08:20'),(28306,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/1376/9','0.0052089691162109','2020-03-12 07:08:20'),(28307,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/1376/9','0.0013449192047119','2020-03-12 07:08:20'),(28308,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/1376/9','0.00084185600280762','2020-03-12 07:08:20'),(28309,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0088481903076172','2020-03-12 07:09:29'),(28310,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\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.0057010650634766','2020-03-12 07:09:29'),(28311,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\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.0046889781951904','2020-03-12 07:09:29'),(28312,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\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.0049748420715332','2020-03-12 07:09:29'),(28313,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\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.0091509819030762','2020-03-12 07:09:29'),(28314,98,'Muhammad Hanif Bin Ngarisan','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` = \'98\'\nAND `b`.`departmentID` = \'9\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0015277862548828','2020-03-12 07:09:29'),(28315,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/tasks','0.022879123687744','2020-03-12 07:09:29'),(28316,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/tasks','0.0010380744934082','2020-03-12 07:09:29'),(28317,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039100646972656','2020-03-12 07:09:29'),(28318,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039196014404297','2020-03-12 07:09:29'),(28319,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00064802169799805','2020-03-12 07:09:29'),(28320,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037002563476562','2020-03-12 07:09:29'),(28321,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036001205444336','2020-03-12 07:09:29'),(28322,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035405158996582','2020-03-12 07:09:29'),(28323,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034403800964355','2020-03-12 07:09:29'),(28324,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033998489379883','2020-03-12 07:09:29'),(28325,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032806396484375','2020-03-12 07:09:29'),(28326,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003359317779541','2020-03-12 07:09:29'),(28327,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032591819763184','2020-03-12 07:09:29'),(28328,98,'Muhammad Hanif Bin Ngarisan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033402442932129','2020-03-12 07:09:29'),(28329,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/tasks','0.0051240921020508','2020-03-12 07:09:29'),(28330,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/tasks','0.001478910446167','2020-03-12 07:09:29'),(28331,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/tasks','0.004953145980835','2020-03-12 07:09:29'),(28332,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/tasks','0.0013699531555176','2020-03-12 07:09:29'),(28333,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'321\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/Notification','0.015084981918335','2020-03-12 07:36:31'),(28334,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'321\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/Notification','0.014916896820068','2020-03-12 07:36:31'),(28335,321,'FARRAH BINTI MOHD FAUZI','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/Notification','0.00061392784118652','2020-03-12 07:36:31'),(28336,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'321\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/Notification','0.014816999435425','2020-03-12 07:36:31'),(28337,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/Notification','0.0042061805725098','2020-03-12 07:36:31'),(28338,321,'FARRAH BINTI MOHD FAUZI','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/Notification','0.0010890960693359','2020-03-12 07:36:31'),(28339,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/Notification','0.0040578842163086','2020-03-12 07:36:31'),(28340,321,'FARRAH BINTI MOHD FAUZI','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/Notification','0.0014240741729736','2020-03-12 07:36:31'),(28341,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/855/8','0.00064396858215332','2020-03-12 07:36:42'),(28342,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.00082588195800781','2020-03-12 07:36:43'),(28343,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/855/8','0.00073099136352539','2020-03-12 07:36:43'),(28344,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/855/8','0.00066113471984863','2020-03-12 07:36:43'),(28345,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/855/8','0.0011529922485352','2020-03-12 07:36:43'),(28346,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.00088596343994141','2020-03-12 07:36:43'),(28347,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/855/8','0.00052213668823242','2020-03-12 07:36:43'),(28348,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/855/8','0.18031692504883','2020-03-12 07:36:43'),(28349,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/855/8','0.00095915794372559','2020-03-12 07:36:43'),(28350,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'','http://salihin.noip.me/mgs/projects/job/855/8','0.0011060237884521','2020-03-12 07:36:43'),(28351,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.17364811897278','2020-03-12 07:36:43'),(28352,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.00088691711425781','2020-03-12 07:36:43'),(28353,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(855,jobID)','http://salihin.noip.me/mgs/projects/job/855/8','0.25075721740723','2020-03-12 07:36:43'),(28354,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'','http://salihin.noip.me/mgs/projects/job/855/8','0.00091099739074707','2020-03-12 07:36:43'),(28355,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.15155696868896','2020-03-12 07:36:43'),(28356,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.00079703330993652','2020-03-12 07:36:43'),(28357,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(855,jobID)','http://salihin.noip.me/mgs/projects/job/855/8','0.23848819732666','2020-03-12 07:36:43'),(28358,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'','http://salihin.noip.me/mgs/projects/job/855/8','0.001168966293335','2020-03-12 07:36:43'),(28359,321,'FARRAH BINTI MOHD FAUZI','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` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.16568493843079','2020-03-12 07:36:43'),(28360,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'855\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/855/8','0.00071001052856445','2020-03-12 07:36:43'),(28361,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'321\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/855/8','0.015846014022827','2020-03-12 07:36:43'),(28362,321,'FARRAH BINTI MOHD FAUZI','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/855/8','0.00064396858215332','2020-03-12 07:36:43'),(28363,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00034308433532715','2020-03-12 07:36:43'),(28364,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00026488304138184','2020-03-12 07:36:43'),(28365,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00025391578674316','2020-03-12 07:36:43'),(28366,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00024914741516113','2020-03-12 07:36:43'),(28367,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00025010108947754','2020-03-12 07:36:43'),(28368,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00024509429931641','2020-03-12 07:36:43'),(28369,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00024199485778809','2020-03-12 07:36:43'),(28370,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.0002448558807373','2020-03-12 07:36:43'),(28371,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00024080276489258','2020-03-12 07:36:43'),(28372,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00023794174194336','2020-03-12 07:36:43'),(28373,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00024604797363281','2020-03-12 07:36:43'),(28374,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/855/8','0.00023698806762695','2020-03-12 07:36:43'),(28375,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/855/8','0.0049388408660889','2020-03-12 07:36:43'),(28376,321,'FARRAH BINTI MOHD FAUZI','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/855/8','0.0015730857849121','2020-03-12 07:36:43'),(28377,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/855/8','0.0056281089782715','2020-03-12 07:36:43'),(28378,321,'FARRAH BINTI MOHD FAUZI','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/855/8','0.0015251636505127','2020-03-12 07:36:43'),(28379,321,'FARRAH BINTI MOHD FAUZI','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/855/8','0.0054569244384766','2020-03-12 07:36:43'),(28380,321,'FARRAH BINTI MOHD FAUZI','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/855/8','0.0014400482177734','2020-03-12 07:36:43'),(28381,321,'FARRAH BINTI MOHD FAUZI','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/855/8','0.00092792510986328','2020-03-12 07:36:43'),(28382,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 357','http://salihin.noip.me/mgs/login/setSession','0.00050687789916992','2020-03-12 08:10:10'),(28383,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00062894821166992','2020-03-12 08:10:22'),(28384,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.021090984344482','2020-03-12 08:10:22'),(28385,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010390281677246','2020-03-12 08:10:22'),(28386,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.019373178482056','2020-03-12 08:10:22'),(28387,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00085687637329102','2020-03-12 08:10:22'),(28388,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.012809038162231','2020-03-12 08:10:22'),(28389,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00069403648376465','2020-03-12 08:10:22'),(28390,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0067579746246338','2020-03-12 08:10:22'),(28391,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00053906440734863','2020-03-12 08:10:22'),(28392,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0074999332427979','2020-03-12 08:10:22'),(28393,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.039525985717773','2020-03-12 08:10:22'),(28394,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.0096828937530518','2020-03-12 08:10:22'),(28395,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0062940120697021','2020-03-12 08:10:22'),(28396,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.077338933944702','2020-03-12 08:10:22'),(28397,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.078810930252075','2020-03-12 08:10:22'),(28398,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.01416802406311','2020-03-12 08:10:22'),(28399,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026440620422363','2020-03-12 08:10:22'),(28400,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014197111129761','2020-03-12 08:10:22'),(28401,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026547908782959','2020-03-12 08:10:23'),(28402,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.2807159423828','2020-03-12 08:10:23'),(28403,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.2993800640106','2020-03-12 08:10:23'),(28404,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.5269539356232','2020-03-12 08:10:23'),(28405,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.8670980930328','2020-03-12 08:10:23'),(28406,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019315958023071','2020-03-12 08:10:23'),(28407,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019568920135498','2020-03-12 08:10:23'),(28408,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.00093889236450195','2020-03-12 08:10:23'),(28409,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'357\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019608974456787','2020-03-12 08:10:23'),(28410,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.00077295303344727','2020-03-12 08:10:23'),(28411,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041890144348145','2020-03-12 08:10:23'),(28412,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-12 08:10:23'),(28413,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041890144348145','2020-03-12 08:10:23'),(28414,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041913986206055','2020-03-12 08:10:23'),(28415,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040411949157715','2020-03-12 08:10:23'),(28416,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-12 08:10:23'),(28417,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0004270076751709','2020-03-12 08:10:23'),(28418,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040483474731445','2020-03-12 08:10:23'),(28419,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041890144348145','2020-03-12 08:10:23'),(28420,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040388107299805','2020-03-12 08:10:24'),(28421,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040292739868164','2020-03-12 08:10:24'),(28422,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040721893310547','2020-03-12 08:10:24'),(28423,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0045151710510254','2020-03-12 08:10:24'),(28424,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.0013110637664795','2020-03-12 08:10:24'),(28425,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0047969818115234','2020-03-12 08:10:24'),(28426,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.0013179779052734','2020-03-12 08:10:24'),(28427,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051701068878174','2020-03-12 08:10:24'),(28428,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.0013048648834229','2020-03-12 08:10:24'),(28429,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0062441825866699','2020-03-12 08:10:42'),(28430,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\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.0067641735076904','2020-03-12 08:10:42'),(28431,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\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.0033788681030273','2020-03-12 08:10:42'),(28432,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\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.0055270195007324','2020-03-12 08:10:42'),(28433,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\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.0056121349334717','2020-03-12 08:10:42'),(28434,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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` = \'357\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00096297264099121','2020-03-12 08:10:42'),(28435,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'357\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019329071044922','2020-03-12 08:10:42'),(28436,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.00075387954711914','2020-03-12 08:10:42'),(28437,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041508674621582','2020-03-12 08:10:42'),(28438,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 08:10:43'),(28439,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 08:10:43'),(28440,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-12 08:10:43'),(28441,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-12 08:10:43'),(28442,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040483474731445','2020-03-12 08:10:43'),(28443,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040578842163086','2020-03-12 08:10:43'),(28444,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-12 08:10:43'),(28445,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040578842163086','2020-03-12 08:10:43'),(28446,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004119873046875','2020-03-12 08:10:43'),(28447,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040483474731445','2020-03-12 08:10:43'),(28448,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040578842163086','2020-03-12 08:10:43'),(28449,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054450035095215','2020-03-12 08:10:43'),(28450,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.0014181137084961','2020-03-12 08:10:43'),(28451,357,'AHMAD YUSSUF ANWAR BIN YUNUS','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054030418395996','2020-03-12 08:10:43'),(28452,357,'AHMAD YUSSUF ANWAR BIN YUNUS','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.0014009475708008','2020-03-12 08:10:43'),(28453,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 81','http://salihin.noip.me/mgs/login/setSession','0.00046896934509277','2020-03-12 08:36:15'),(28454,81,'Norshimah Binti Morjan','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.0345139503479','2020-03-12 08:36:18'),(28455,81,'Norshimah Binti Morjan','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)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.021174192428589','2020-03-12 08:36:18'),(28456,81,'Norshimah Binti Morjan','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\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01720404624939','2020-03-12 08:36:18'),(28457,81,'Norshimah Binti Morjan','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0093080997467041','2020-03-12 08:36:18'),(28458,81,'Norshimah Binti Morjan','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\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.014447927474976','2020-03-12 08:36:18'),(28459,81,'Norshimah Binti Morjan','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.036603927612305','2020-03-12 08:36:18'),(28460,81,'Norshimah Binti Morjan','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.0091409683227539','2020-03-12 08:36:18'),(28461,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005486011505127','2020-03-12 08:36:18'),(28462,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.074753999710083','2020-03-12 08:36:19'),(28463,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.07813286781311','2020-03-12 08:36:19'),(28464,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014123201370239','2020-03-12 08:36:19'),(28465,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025448799133301','2020-03-12 08:36:19'),(28466,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.013928174972534','2020-03-12 08:36:19'),(28467,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025200843811035','2020-03-12 08:36:19'),(28468,81,'Norshimah Binti Morjan','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` = 2))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.36689805984497','2020-03-12 08:36:19'),(28469,81,'Norshimah Binti Morjan','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` = 2))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 2))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.096175909042358','2020-03-12 08:36:19'),(28470,81,'Norshimah Binti Morjan','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` = 2))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.25088095664978','2020-03-12 08:36:19'),(28471,81,'Norshimah Binti Morjan','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` = 2))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 2))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 2)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.08893609046936','2020-03-12 08:36:19'),(28472,81,'Norshimah Binti Morjan','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` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0017578601837158','2020-03-12 08:36:19'),(28473,81,'Norshimah Binti Morjan','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` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016520023345947','2020-03-12 08:36:19'),(28474,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00061702728271484','2020-03-12 08:36:19'),(28475,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.020226955413818','2020-03-12 08:36:19'),(28476,81,'Norshimah Binti Morjan','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.001215934753418','2020-03-12 08:36:19'),(28477,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031805038452148','2020-03-12 08:36:19'),(28478,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033879280090332','2020-03-12 08:36:19'),(28479,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032901763916016','2020-03-12 08:36:19'),(28480,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033283233642578','2020-03-12 08:36:19'),(28481,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033378601074219','2020-03-12 08:36:19'),(28482,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032496452331543','2020-03-12 08:36:19'),(28483,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033307075500488','2020-03-12 08:36:19'),(28484,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032401084899902','2020-03-12 08:36:19'),(28485,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033092498779297','2020-03-12 08:36:19'),(28486,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037693977355957','2020-03-12 08:36:19'),(28487,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037693977355957','2020-03-12 08:36:19'),(28488,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038886070251465','2020-03-12 08:36:19'),(28489,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051829814910889','2020-03-12 08:36:19'),(28490,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0014119148254395','2020-03-12 08:36:19'),(28491,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050439834594727','2020-03-12 08:36:19'),(28492,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013489723205566','2020-03-12 08:36:19'),(28493,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0050017833709717','2020-03-12 08:36:19'),(28494,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0014071464538574','2020-03-12 08:36:19'),(28495,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00061893463134766','2020-03-12 08:38:13'),(28496,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00076794624328613','2020-03-12 08:38:13'),(28497,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00066518783569336','2020-03-12 08:38:13'),(28498,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00059795379638672','2020-03-12 08:38:13'),(28499,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010800361633301','2020-03-12 08:38:13'),(28500,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00081610679626465','2020-03-12 08:38:13'),(28501,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00046205520629883','2020-03-12 08:38:13'),(28502,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.17681694030762','2020-03-12 08:38:13'),(28503,81,'Norshimah Binti Morjan','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` = \'1181\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.0008399486541748','2020-03-12 08:38:13'),(28504,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00093817710876465','2020-03-12 08:38:13'),(28505,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.15951299667358','2020-03-12 08:38:13'),(28506,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00058794021606445','2020-03-12 08:38:13'),(28507,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.19623184204102','2020-03-12 08:38:13'),(28508,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.0011260509490967','2020-03-12 08:38:13'),(28509,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.17489910125732','2020-03-12 08:38:13'),(28510,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00079989433288574','2020-03-12 08:38:13'),(28511,81,'Norshimah Binti Morjan','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` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00099396705627441','2020-03-12 08:38:13'),(28512,81,'Norshimah Binti Morjan','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` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0018141269683838','2020-03-12 08:38:13'),(28513,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00071001052856445','2020-03-12 08:38:13'),(28514,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.25703597068787','2020-03-12 08:38:13'),(28515,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00096893310546875','2020-03-12 08:38:13'),(28516,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.13846683502197','2020-03-12 08:38:13'),(28517,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00055980682373047','2020-03-12 08:38:13'),(28518,81,'Norshimah Binti Morjan','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` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00068902969360352','2020-03-12 08:38:14'),(28519,81,'Norshimah Binti Morjan','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` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0012979507446289','2020-03-12 08:38:14'),(28520,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00047588348388672','2020-03-12 08:38:14'),(28521,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.015916109085083','2020-03-12 08:38:14'),(28522,81,'Norshimah Binti Morjan','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/1181/8','0.00085711479187012','2020-03-12 08:38:14'),(28523,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00025606155395508','2020-03-12 08:38:14'),(28524,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00023698806762695','2020-03-12 08:38:14'),(28525,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00022697448730469','2020-03-12 08:38:14'),(28526,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00022315979003906','2020-03-12 08:38:14'),(28527,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00023388862609863','2020-03-12 08:38:14'),(28528,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00022196769714355','2020-03-12 08:38:14'),(28529,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00018787384033203','2020-03-12 08:38:14'),(28530,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00018000602722168','2020-03-12 08:38:14'),(28531,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00018501281738281','2020-03-12 08:38:14'),(28532,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00017786026000977','2020-03-12 08:38:14'),(28533,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00017380714416504','2020-03-12 08:38:14'),(28534,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00017690658569336','2020-03-12 08:38:14'),(28535,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0035140514373779','2020-03-12 08:38:14'),(28536,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00099802017211914','2020-03-12 08:38:14'),(28537,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.003695011138916','2020-03-12 08:38:14'),(28538,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00097107887268066','2020-03-12 08:38:14'),(28539,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0032799243927002','2020-03-12 08:38:14'),(28540,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00092983245849609','2020-03-12 08:38:14'),(28541,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00059294700622559','2020-03-12 08:38:14'),(28542,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00065088272094727','2020-03-12 08:55:13'),(28543,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00076699256896973','2020-03-12 08:55:14'),(28544,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00067591667175293','2020-03-12 08:55:14'),(28545,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00056695938110352','2020-03-12 08:55:14'),(28546,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010550022125244','2020-03-12 08:55:14'),(28547,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00084090232849121','2020-03-12 08:55:14'),(28548,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00054311752319336','2020-03-12 08:55:14'),(28549,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.17193484306335','2020-03-12 08:55:14'),(28550,81,'Norshimah Binti Morjan','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` = \'1181\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00081205368041992','2020-03-12 08:55:14'),(28551,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010170936584473','2020-03-12 08:55:14'),(28552,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.18349099159241','2020-03-12 08:55:14'),(28553,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00074601173400879','2020-03-12 08:55:14'),(28554,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.24048900604248','2020-03-12 08:55:14'),(28555,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010900497436523','2020-03-12 08:55:14'),(28556,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.17980480194092','2020-03-12 08:55:14'),(28557,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00068116188049316','2020-03-12 08:55:14'),(28558,81,'Norshimah Binti Morjan','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` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00084996223449707','2020-03-12 08:55:14'),(28559,81,'Norshimah Binti Morjan','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` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0015630722045898','2020-03-12 08:55:14'),(28560,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00064516067504883','2020-03-12 08:55:14'),(28561,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.2397620677948','2020-03-12 08:55:14'),(28562,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010848045349121','2020-03-12 08:55:14'),(28563,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.17085790634155','2020-03-12 08:55:14'),(28564,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00059604644775391','2020-03-12 08:55:14'),(28565,81,'Norshimah Binti Morjan','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` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00075006484985352','2020-03-12 08:55:14'),(28566,81,'Norshimah Binti Morjan','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` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0013830661773682','2020-03-12 08:55:14'),(28567,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00058317184448242','2020-03-12 08:55:14'),(28568,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.019523143768311','2020-03-12 08:55:14'),(28569,81,'Norshimah Binti Morjan','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/1181/8','0.00090479850769043','2020-03-12 08:55:14'),(28570,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00029611587524414','2020-03-12 08:55:14'),(28571,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00028395652770996','2020-03-12 08:55:14'),(28572,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032806396484375','2020-03-12 08:55:14'),(28573,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032496452331543','2020-03-12 08:55:14'),(28574,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032615661621094','2020-03-12 08:55:14'),(28575,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032901763916016','2020-03-12 08:55:14'),(28576,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032806396484375','2020-03-12 08:55:14'),(28577,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032711029052734','2020-03-12 08:55:14'),(28578,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032997131347656','2020-03-12 08:55:14'),(28579,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00033998489379883','2020-03-12 08:55:14'),(28580,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032591819763184','2020-03-12 08:55:15'),(28581,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032687187194824','2020-03-12 08:55:15'),(28582,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.004256010055542','2020-03-12 08:55:15'),(28583,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010888576507568','2020-03-12 08:55:15'),(28584,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.005220890045166','2020-03-12 08:55:15'),(28585,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0012640953063965','2020-03-12 08:55:15'),(28586,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0052030086517334','2020-03-12 08:55:15'),(28587,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0014472007751465','2020-03-12 08:55:15'),(28588,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00091791152954102','2020-03-12 08:55:15'),(28589,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00054597854614258','2020-03-12 08:56:00'),(28590,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0007631778717041','2020-03-12 08:56:00'),(28591,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00068211555480957','2020-03-12 08:56:00'),(28592,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00058484077453613','2020-03-12 08:56:00'),(28593,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010650157928467','2020-03-12 08:56:00'),(28594,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00084805488586426','2020-03-12 08:56:00'),(28595,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00050210952758789','2020-03-12 08:56:00'),(28596,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.18116188049316','2020-03-12 08:56:00'),(28597,81,'Norshimah Binti Morjan','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` = \'1181\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00073695182800293','2020-03-12 08:56:00'),(28598,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00083208084106445','2020-03-12 08:56:00'),(28599,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.15195298194885','2020-03-12 08:56:00'),(28600,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00054287910461426','2020-03-12 08:56:00'),(28601,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.16090512275696','2020-03-12 08:56:00'),(28602,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00065398216247559','2020-03-12 08:56:00'),(28603,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.18387293815613','2020-03-12 08:56:00'),(28604,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00078487396240234','2020-03-12 08:56:00'),(28605,81,'Norshimah Binti Morjan','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` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00092411041259766','2020-03-12 08:56:00'),(28606,81,'Norshimah Binti Morjan','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` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0017609596252441','2020-03-12 08:56:00'),(28607,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00065207481384277','2020-03-12 08:56:00'),(28608,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.23863697052002','2020-03-12 08:56:01'),(28609,81,'Norshimah Binti Morjan','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` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010340213775635','2020-03-12 08:56:01'),(28610,81,'Norshimah Binti Morjan','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` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.18816685676575','2020-03-12 08:56:01'),(28611,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00079107284545898','2020-03-12 08:56:01'),(28612,81,'Norshimah Binti Morjan','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` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00088810920715332','2020-03-12 08:56:01'),(28613,81,'Norshimah Binti Morjan','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` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0017077922821045','2020-03-12 08:56:01'),(28614,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00060009956359863','2020-03-12 08:56:01'),(28615,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.0226149559021','2020-03-12 08:56:01'),(28616,81,'Norshimah Binti Morjan','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/1181/8','0.0011680126190186','2020-03-12 08:56:01'),(28617,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00037193298339844','2020-03-12 08:56:01'),(28618,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00035500526428223','2020-03-12 08:56:01'),(28619,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034689903259277','2020-03-12 08:56:01'),(28620,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00035595893859863','2020-03-12 08:56:01'),(28621,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034403800964355','2020-03-12 08:56:01'),(28622,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034880638122559','2020-03-12 08:56:01'),(28623,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034308433532715','2020-03-12 08:56:01'),(28624,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034308433532715','2020-03-12 08:56:01'),(28625,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034713745117188','2020-03-12 08:56:01'),(28626,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034189224243164','2020-03-12 08:56:01'),(28627,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00034284591674805','2020-03-12 08:56:01'),(28628,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00033998489379883','2020-03-12 08:56:01'),(28629,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0054581165313721','2020-03-12 08:56:01'),(28630,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0013818740844727','2020-03-12 08:56:01'),(28631,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0053079128265381','2020-03-12 08:56:01'),(28632,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0013759136199951','2020-03-12 08:56:01'),(28633,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0052859783172607','2020-03-12 08:56:01'),(28634,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0012891292572021','2020-03-12 08:56:01'),(28635,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00086188316345215','2020-03-12 08:56:01'),(28636,81,'Norshimah Binti Morjan','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.00057792663574219','2020-03-12 08:56:18'),(28637,81,'Norshimah Binti Morjan','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.022348165512085','2020-03-12 08:56:18'),(28638,81,'Norshimah Binti Morjan','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.00097417831420898','2020-03-12 08:56:18'),(28639,81,'Norshimah Binti Morjan','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.016497135162354','2020-03-12 08:56:18'),(28640,81,'Norshimah Binti Morjan','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.00081396102905273','2020-03-12 08:56:18'),(28641,81,'Norshimah Binti Morjan','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.01158595085144','2020-03-12 08:56:18'),(28642,81,'Norshimah Binti Morjan','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.00063896179199219','2020-03-12 08:56:18'),(28643,81,'Norshimah Binti Morjan','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.007523775100708','2020-03-12 08:56:18'),(28644,81,'Norshimah Binti Morjan','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.00052809715270996','2020-03-12 08:56:18'),(28645,81,'Norshimah Binti Morjan','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.0081081390380859','2020-03-12 08:56:18'),(28646,81,'Norshimah Binti Morjan','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.0014090538024902','2020-03-12 08:56:18'),(28647,81,'Norshimah Binti Morjan','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.034792184829712','2020-03-12 08:56:18'),(28648,81,'Norshimah Binti Morjan','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.0084629058837891','2020-03-12 08:56:18'),(28649,81,'Norshimah Binti Morjan','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.37531614303589','2020-03-12 08:56:18'),(28650,81,'Norshimah Binti Morjan','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.00069618225097656','2020-03-12 08:56:18'),(28651,81,'Norshimah Binti Morjan','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.0077540874481201','2020-03-12 08:56:18'),(28652,81,'Norshimah Binti Morjan','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.00054001808166504','2020-03-12 08:56:18'),(28653,81,'Norshimah Binti Morjan','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.0076138973236084','2020-03-12 08:56:18'),(28654,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.024419069290161','2020-03-12 08:56:18'),(28655,81,'Norshimah Binti Morjan','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.0011818408966064','2020-03-12 08:56:18'),(28656,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00041508674621582','2020-03-12 08:56:18'),(28657,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040698051452637','2020-03-12 08:56:18'),(28658,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040793418884277','2020-03-12 08:56:18'),(28659,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040316581726074','2020-03-12 08:56:18'),(28660,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28661,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28662,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28663,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.00040888786315918','2020-03-12 08:56:18'),(28664,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28665,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28666,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28667,81,'Norshimah Binti Morjan','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-12 08:56:18'),(28668,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0049998760223389','2020-03-12 08:56:18'),(28669,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.001201868057251','2020-03-12 08:56:18'),(28670,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.004709005355835','2020-03-12 08:56:18'),(28671,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/department/summary/Audit_and_Assurance','0.0011138916015625','2020-03-12 08:56:18'),(28672,81,'Norshimah Binti Morjan','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` = \'321\'\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/department/listing','0.007396936416626','2020-03-12 08:56:49'),(28673,81,'Norshimah Binti Morjan','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` = \'321\'\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/department/listing','0.0061469078063965','2020-03-12 08:56:49'),(28674,81,'Norshimah Binti Morjan','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` = \'321\'\nAND `b`.`status` IN(1, 2)\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 1\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/department/listing','0.005450963973999','2020-03-12 08:56:49'),(28675,81,'Norshimah Binti Morjan','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` = \'321\'\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/department/listing','0.0062100887298584','2020-03-12 08:56:59'),(28676,81,'Norshimah Binti Morjan','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` = \'321\'\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/department/listing','0.0045318603515625','2020-03-12 08:56:59'),(28677,81,'Norshimah Binti Morjan','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` = \'321\'\nAND `b`.`status` IN(1, 2)\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 1\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/department/listing','0.0041899681091309','2020-03-12 08:56:59'),(28678,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00052881240844727','2020-03-12 08:57:35'),(28679,81,'Norshimah Binti Morjan','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` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00076103210449219','2020-03-12 08:57:35'),(28680,81,'Norshimah Binti Morjan','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` = \'335\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/335/8','0.00066685676574707','2020-03-12 08:57:35'),(28681,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/335/8','0.00057196617126465','2020-03-12 08:57:35'),(28682,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/335/8','0.0010700225830078','2020-03-12 08:57:35'),(28683,81,'Norshimah Binti Morjan','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` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00085306167602539','2020-03-12 08:57:35'),(28684,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00050997734069824','2020-03-12 08:57:35'),(28685,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/335/8','0.17604804039001','2020-03-12 08:57:35'),(28686,81,'Norshimah Binti Morjan','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` = \'335\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/335/8','0.00076699256896973','2020-03-12 08:57:35'),(28687,81,'Norshimah Binti Morjan','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` = \'335\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00087499618530273','2020-03-12 08:57:35'),(28688,81,'Norshimah Binti Morjan','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` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.17863321304321','2020-03-12 08:57:35'),(28689,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00070500373840332','2020-03-12 08:57:35'),(28690,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(335,jobID)','http://salihin.noip.me/mgs/projects/job/335/8','0.20932102203369','2020-03-12 08:57:35'),(28691,81,'Norshimah Binti Morjan','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` = \'335\'','http://salihin.noip.me/mgs/projects/job/335/8','0.0010209083557129','2020-03-12 08:57:35'),(28692,81,'Norshimah Binti Morjan','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` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.18139100074768','2020-03-12 08:57:35'),(28693,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00087404251098633','2020-03-12 08:57:35'),(28694,81,'Norshimah Binti Morjan','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` = \'336\'','http://salihin.noip.me/mgs/projects/job/335/8','0.001011848449707','2020-03-12 08:57:35'),(28695,81,'Norshimah Binti Morjan','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` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.1659300327301','2020-03-12 08:57:35'),(28696,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00063681602478027','2020-03-12 08:57:35'),(28697,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(335,jobID)','http://salihin.noip.me/mgs/projects/job/335/8','0.24352288246155','2020-03-12 08:57:35'),(28698,81,'Norshimah Binti Morjan','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` = \'335\'','http://salihin.noip.me/mgs/projects/job/335/8','0.0008699893951416','2020-03-12 08:57:35'),(28699,81,'Norshimah Binti Morjan','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` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.17542195320129','2020-03-12 08:57:35'),(28700,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00078797340393066','2020-03-12 08:57:35'),(28701,81,'Norshimah Binti Morjan','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` = \'336\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00098800659179688','2020-03-12 08:57:35'),(28702,81,'Norshimah Binti Morjan','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` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.18418288230896','2020-03-12 08:57:35'),(28703,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00082087516784668','2020-03-12 08:57:35'),(28704,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/335/8','0.025043964385986','2020-03-12 08:57:35'),(28705,81,'Norshimah Binti Morjan','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/335/8','0.0012121200561523','2020-03-12 08:57:36'),(28706,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00040292739868164','2020-03-12 08:57:36'),(28707,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00040698051452637','2020-03-12 08:57:36'),(28708,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00039982795715332','2020-03-12 08:57:36'),(28709,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00041604042053223','2020-03-12 08:57:36'),(28710,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00040197372436523','2020-03-12 08:57:36'),(28711,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00040698051452637','2020-03-12 08:57:36'),(28712,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00040197372436523','2020-03-12 08:57:36'),(28713,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00040698051452637','2020-03-12 08:57:36'),(28714,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00035691261291504','2020-03-12 08:57:36'),(28715,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00035309791564941','2020-03-12 08:57:36'),(28716,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00034785270690918','2020-03-12 08:57:36'),(28717,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00034594535827637','2020-03-12 08:57:36'),(28718,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/335/8','0.0052950382232666','2020-03-12 08:57:36'),(28719,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/335/8','0.0013010501861572','2020-03-12 08:57:36'),(28720,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/335/8','0.0052459239959717','2020-03-12 08:57:36'),(28721,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/335/8','0.0011229515075684','2020-03-12 08:57:36'),(28722,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/335/8','0.0046069622039795','2020-03-12 08:57:36'),(28723,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/335/8','0.0011019706726074','2020-03-12 08:57:36'),(28724,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/335/8','0.00073814392089844','2020-03-12 08:57:36'),(28725,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/337/8','0.00050687789916992','2020-03-12 08:57:58'),(28726,81,'Norshimah Binti Morjan','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` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.00080084800720215','2020-03-12 08:57:58'),(28727,81,'Norshimah Binti Morjan','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` = \'337\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/337/8','0.00067806243896484','2020-03-12 08:57:58'),(28728,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/337/8','0.000579833984375','2020-03-12 08:57:58'),(28729,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/337/8','0.0010521411895752','2020-03-12 08:57:58'),(28730,81,'Norshimah Binti Morjan','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` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.00086498260498047','2020-03-12 08:57:58'),(28731,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/337/8','0.0005030632019043','2020-03-12 08:57:58'),(28732,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/337/8','0.18355703353882','2020-03-12 08:57:58'),(28733,81,'Norshimah Binti Morjan','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` = \'337\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/337/8','0.00079703330993652','2020-03-12 08:57:58'),(28734,81,'Norshimah Binti Morjan','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` = \'337\'','http://salihin.noip.me/mgs/projects/job/337/8','0.00096702575683594','2020-03-12 08:57:58'),(28735,81,'Norshimah Binti Morjan','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` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.19123888015747','2020-03-12 08:57:58'),(28736,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.0008540153503418','2020-03-12 08:57:58'),(28737,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(337,jobID)','http://salihin.noip.me/mgs/projects/job/337/8','0.24337410926819','2020-03-12 08:57:58'),(28738,81,'Norshimah Binti Morjan','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` = \'337\'','http://salihin.noip.me/mgs/projects/job/337/8','0.0010550022125244','2020-03-12 08:57:58'),(28739,81,'Norshimah Binti Morjan','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` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.16747999191284','2020-03-12 08:57:58'),(28740,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.00064206123352051','2020-03-12 08:57:58'),(28741,81,'Norshimah Binti Morjan','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` = \'338\'','http://salihin.noip.me/mgs/projects/job/337/8','0.00076794624328613','2020-03-12 08:57:58'),(28742,81,'Norshimah Binti Morjan','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` = \'338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.13894391059875','2020-03-12 08:57:58'),(28743,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.00054717063903809','2020-03-12 08:57:58'),(28744,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(337,jobID)','http://salihin.noip.me/mgs/projects/job/337/8','0.19086503982544','2020-03-12 08:57:58'),(28745,81,'Norshimah Binti Morjan','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` = \'337\'','http://salihin.noip.me/mgs/projects/job/337/8','0.0010640621185303','2020-03-12 08:57:58'),(28746,81,'Norshimah Binti Morjan','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` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.1970911026001','2020-03-12 08:57:59'),(28747,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'337\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.00077986717224121','2020-03-12 08:57:59'),(28748,81,'Norshimah Binti Morjan','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` = \'338\'','http://salihin.noip.me/mgs/projects/job/337/8','0.00095701217651367','2020-03-12 08:57:59'),(28749,81,'Norshimah Binti Morjan','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` = \'338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.1804780960083','2020-03-12 08:57:59'),(28750,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/337/8','0.00083088874816895','2020-03-12 08:57:59'),(28751,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'81\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/337/8','0.02432107925415','2020-03-12 08:57:59'),(28752,81,'Norshimah Binti Morjan','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/337/8','0.0011739730834961','2020-03-12 08:57:59'),(28753,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00041508674621582','2020-03-12 08:57:59'),(28754,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040102005004883','2020-03-12 08:57:59'),(28755,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040507316589355','2020-03-12 08:57:59'),(28756,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00039887428283691','2020-03-12 08:57:59'),(28757,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040507316589355','2020-03-12 08:57:59'),(28758,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040102005004883','2020-03-12 08:57:59'),(28759,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040411949157715','2020-03-12 08:57:59'),(28760,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00039887428283691','2020-03-12 08:57:59'),(28761,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040483474731445','2020-03-12 08:57:59'),(28762,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00039911270141602','2020-03-12 08:57:59'),(28763,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00040411949157715','2020-03-12 08:57:59'),(28764,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/337/8','0.00039911270141602','2020-03-12 08:57:59'),(28765,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/337/8','0.0053129196166992','2020-03-12 08:57:59'),(28766,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/337/8','0.0013420581817627','2020-03-12 08:57:59'),(28767,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/337/8','0.0052800178527832','2020-03-12 08:57:59'),(28768,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/337/8','0.0012609958648682','2020-03-12 08:57:59'),(28769,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/337/8','0.0052700042724609','2020-03-12 08:57:59'),(28770,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/337/8','0.0012459754943848','2020-03-12 08:57:59'),(28771,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/337/8','0.00081896781921387','2020-03-12 08:57:59'),(28772,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 328','http://salihin.noip.me/mgs/login/setSession','0.00049090385437012','2020-03-12 09:25:58'),(28773,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00062298774719238','2020-03-12 09:26:09'),(28774,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.022016048431396','2020-03-12 09:26:09'),(28775,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010879039764404','2020-03-12 09:26:09'),(28776,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017776012420654','2020-03-12 09:26:09'),(28777,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00085997581481934','2020-03-12 09:26:09'),(28778,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010875940322876','2020-03-12 09:26:09'),(28779,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0005800724029541','2020-03-12 09:26:09'),(28780,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0062041282653809','2020-03-12 09:26:09'),(28781,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00048208236694336','2020-03-12 09:26:09'),(28782,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0072999000549316','2020-03-12 09:26:09'),(28783,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.039495944976807','2020-03-12 09:26:09'),(28784,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0095748901367188','2020-03-12 09:26:09'),(28785,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0059108734130859','2020-03-12 09:26:09'),(28786,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.080066919326782','2020-03-12 09:26:09'),(28787,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.078545093536377','2020-03-12 09:26:10'),(28788,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012579917907715','2020-03-12 09:26:10'),(28789,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0022990703582764','2020-03-12 09:26:10'),(28790,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012516021728516','2020-03-12 09:26:10'),(28791,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0023939609527588','2020-03-12 09:26:10'),(28792,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.2956330776215','2020-03-12 09:26:10'),(28793,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','1.7679901123047','2020-03-12 09:26:10'),(28794,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.4410951137543','2020-03-12 09:26:10'),(28795,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.7268400192261','2020-03-12 09:26:10'),(28796,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'328\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01180100440979','2020-03-12 09:26:10'),(28797,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'328\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.012078046798706','2020-03-12 09:26:10'),(28798,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00062298774719238','2020-03-12 09:26:10'),(28799,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'328\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.017704963684082','2020-03-12 09:26:10'),(28800,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00068187713623047','2020-03-12 09:26:10'),(28801,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-12 09:26:10'),(28802,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036787986755371','2020-03-12 09:26:10'),(28803,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036811828613281','2020-03-12 09:26:10'),(28804,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-12 09:26:10'),(28805,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-12 09:26:10'),(28806,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032520294189453','2020-03-12 09:26:10'),(28807,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039291381835938','2020-03-12 09:26:10'),(28808,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-12 09:26:10'),(28809,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-12 09:26:10'),(28810,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003659725189209','2020-03-12 09:26:10'),(28811,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003659725189209','2020-03-12 09:26:10'),(28812,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-12 09:26:10'),(28813,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0040719509124756','2020-03-12 09:26:10'),(28814,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010981559753418','2020-03-12 09:26:10'),(28815,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0044798851013184','2020-03-12 09:26:10'),(28816,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011568069458008','2020-03-12 09:26:10'),(28817,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0040450096130371','2020-03-12 09:26:10'),(28818,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0014078617095947','2020-03-12 09:26:10'),(28819,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0050461292266846','2020-03-12 09:26:28'),(28820,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0046300888061523','2020-03-12 09:26:28'),(28821,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0050599575042725','2020-03-12 09:26:28'),(28822,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0051171779632568','2020-03-12 09:26:28'),(28823,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0045740604400635','2020-03-12 09:26:28'),(28824,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'328\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0011110305786133','2020-03-12 09:26:28'),(28825,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'328\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.01945686340332','2020-03-12 09:26:28'),(28826,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00071501731872559','2020-03-12 09:26:28'),(28827,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037193298339844','2020-03-12 09:26:28'),(28828,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035214424133301','2020-03-12 09:26:28'),(28829,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-12 09:26:28'),(28830,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-12 09:26:28'),(28831,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034308433532715','2020-03-12 09:26:28'),(28832,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-12 09:26:28'),(28833,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034785270690918','2020-03-12 09:26:28'),(28834,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034189224243164','2020-03-12 09:26:28'),(28835,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034189224243164','2020-03-12 09:26:28'),(28836,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034809112548828','2020-03-12 09:26:28'),(28837,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034403800964355','2020-03-12 09:26:28'),(28838,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032615661621094','2020-03-12 09:26:29'),(28839,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054259300231934','2020-03-12 09:26:29'),(28840,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0014851093292236','2020-03-12 09:26:29'),(28841,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.005422830581665','2020-03-12 09:26:29'),(28842,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013618469238281','2020-03-12 09:26:29'),(28843,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1338/8','0.00082802772521973','2020-03-12 09:26:42'),(28844,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.00078082084655762','2020-03-12 09:26:42'),(28845,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1338/8','0.00057601928710938','2020-03-12 09:26:42'),(28846,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00047802925109863','2020-03-12 09:26:42'),(28847,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00098800659179688','2020-03-12 09:26:42'),(28848,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.00086402893066406','2020-03-12 09:26:42'),(28849,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1338/8','0.00050806999206543','2020-03-12 09:26:42'),(28850,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.18044090270996','2020-03-12 09:26:42'),(28851,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1338/8','0.00081205368041992','2020-03-12 09:26:42'),(28852,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'','http://salihin.noip.me/mgs/projects/job/1338/8','0.00094318389892578','2020-03-12 09:26:42'),(28853,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.2003231048584','2020-03-12 09:26:42'),(28854,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.00083708763122559','2020-03-12 09:26:42'),(28855,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1338,jobID)','http://salihin.noip.me/mgs/projects/job/1338/8','0.2392098903656','2020-03-12 09:26:42'),(28856,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'','http://salihin.noip.me/mgs/projects/job/1338/8','0.0010919570922852','2020-03-12 09:26:42'),(28857,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.17976999282837','2020-03-12 09:26:42'),(28858,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.00073504447937012','2020-03-12 09:26:42'),(28859,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1338,jobID)','http://salihin.noip.me/mgs/projects/job/1338/8','0.26391100883484','2020-03-12 09:26:42'),(28860,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'','http://salihin.noip.me/mgs/projects/job/1338/8','0.0011200904846191','2020-03-12 09:26:42'),(28861,328,'AZRAI BIN ABDUL MAJID','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` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.18602705001831','2020-03-12 09:26:42'),(28862,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1338\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1338/8','0.00083708763122559','2020-03-12 09:26:42'),(28863,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'328\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1338/8','0.019646883010864','2020-03-12 09:26:42'),(28864,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0007479190826416','2020-03-12 09:26:43'),(28865,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00039482116699219','2020-03-12 09:26:43'),(28866,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00035810470581055','2020-03-12 09:26:43'),(28867,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0002899169921875','2020-03-12 09:26:43'),(28868,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00037097930908203','2020-03-12 09:26:43'),(28869,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00031805038452148','2020-03-12 09:26:43'),(28870,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00030183792114258','2020-03-12 09:26:43'),(28871,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0003659725189209','2020-03-12 09:26:43'),(28872,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00033211708068848','2020-03-12 09:26:43'),(28873,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00034594535827637','2020-03-12 09:26:43'),(28874,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00036191940307617','2020-03-12 09:26:43'),(28875,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00035500526428223','2020-03-12 09:26:43'),(28876,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1338/8','0.00037217140197754','2020-03-12 09:26:43'),(28877,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0054152011871338','2020-03-12 09:26:43'),(28878,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0016071796417236','2020-03-12 09:26:43'),(28879,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0049829483032227','2020-03-12 09:26:43'),(28880,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0012471675872803','2020-03-12 09:26:43'),(28881,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0047848224639893','2020-03-12 09:26:43'),(28882,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0012221336364746','2020-03-12 09:26:43'),(28883,328,'AZRAI BIN ABDUL MAJID','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1338/8','0.0007929801940918','2020-03-12 09:26:43'),(28884,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT role FROM user__role WHERE user_ID = 175','http://salihin.noip.me/mgs/login/setSession','0.00049400329589844','2020-03-12 09:40:06'),(28885,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00065708160400391','2020-03-12 09:40:17'),(28886,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.023957014083862','2020-03-12 09:40:17'),(28887,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00094485282897949','2020-03-12 09:40:17'),(28888,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.017836093902588','2020-03-12 09:40:17'),(28889,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00089597702026367','2020-03-12 09:40:17'),(28890,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.012019157409668','2020-03-12 09:40:17'),(28891,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00063610076904297','2020-03-12 09:40:17'),(28892,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.008159875869751','2020-03-12 09:40:17'),(28893,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00048589706420898','2020-03-12 09:40:17'),(28894,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0073180198669434','2020-03-12 09:40:17'),(28895,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.036617994308472','2020-03-12 09:40:17'),(28896,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0085198879241943','2020-03-12 09:40:17'),(28897,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0052359104156494','2020-03-12 09:40:17'),(28898,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.067084074020386','2020-03-12 09:40:17'),(28899,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.062371969223022','2020-03-12 09:40:17'),(28900,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.010349988937378','2020-03-12 09:40:17'),(28901,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0018618106842041','2020-03-12 09:40:17'),(28902,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.010147094726562','2020-03-12 09:40:17'),(28903,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0018539428710938','2020-03-12 09:40:17'),(28904,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.6137561798096','2020-03-12 09:40:17'),(28905,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.2055249214172','2020-03-12 09:40:17'),(28906,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.2785880565643','2020-03-12 09:40:17'),(28907,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.6957309246063','2020-03-12 09:40:17'),(28908,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.017599821090698','2020-03-12 09:40:17'),(28909,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.017854928970337','2020-03-12 09:40:17'),(28910,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00085616111755371','2020-03-12 09:40:17'),(28911,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019832134246826','2020-03-12 09:40:17'),(28912,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0007171630859375','2020-03-12 09:40:17'),(28913,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037288665771484','2020-03-12 09:40:17'),(28914,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035405158996582','2020-03-12 09:40:17'),(28915,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034999847412109','2020-03-12 09:40:17'),(28916,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034809112548828','2020-03-12 09:40:17'),(28917,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034689903259277','2020-03-12 09:40:17'),(28918,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034618377685547','2020-03-12 09:40:17'),(28919,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-12 09:40:18'),(28920,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034999847412109','2020-03-12 09:40:18'),(28921,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-12 09:40:18'),(28922,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-12 09:40:18'),(28923,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-12 09:40:18'),(28924,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-12 09:40:18'),(28925,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049281120300293','2020-03-12 09:40:18'),(28926,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011909008026123','2020-03-12 09:40:18'),(28927,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0042870044708252','2020-03-12 09:40:18'),(28928,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011749267578125','2020-03-12 09:40:18'),(28929,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0044441223144531','2020-03-12 09:40:18'),(28930,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011210441589355','2020-03-12 09:40:18'),(28931,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0055990219116211','2020-03-12 09:43:20'),(28932,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0039358139038086','2020-03-12 09:43:20'),(28933,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0056900978088379','2020-03-12 09:43:20'),(28934,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0059578418731689','2020-03-12 09:43:20'),(28935,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0054399967193604','2020-03-12 09:43:20'),(28936,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00091290473937988','2020-03-12 09:43:20'),(28937,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.017579078674316','2020-03-12 09:43:20'),(28938,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.00066709518432617','2020-03-12 09:43:20'),(28939,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036811828613281','2020-03-12 09:43:20'),(28940,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036096572875977','2020-03-12 09:43:20'),(28941,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036096572875977','2020-03-12 09:43:20'),(28942,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036907196044922','2020-03-12 09:43:20'),(28943,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036215782165527','2020-03-12 09:43:20'),(28944,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036501884460449','2020-03-12 09:43:20'),(28945,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037097930908203','2020-03-12 09:43:21'),(28946,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036287307739258','2020-03-12 09:43:21'),(28947,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036406517028809','2020-03-12 09:43:21'),(28948,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003659725189209','2020-03-12 09:43:21'),(28949,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036215782165527','2020-03-12 09:43:21'),(28950,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036096572875977','2020-03-12 09:43:21'),(28951,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052490234375','2020-03-12 09:43:21'),(28952,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.001338005065918','2020-03-12 09:43:21'),(28953,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053129196166992','2020-03-12 09:43:21'),(28954,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0012350082397461','2020-03-12 09:43:21'),(28955,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00053286552429199','2020-03-12 09:45:26'),(28956,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.021955966949463','2020-03-12 09:45:26'),(28957,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0013918876647949','2020-03-12 09:45:26'),(28958,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.01761794090271','2020-03-12 09:45:26'),(28959,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00084996223449707','2020-03-12 09:45:26'),(28960,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.011528015136719','2020-03-12 09:45:26'),(28961,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00065088272094727','2020-03-12 09:45:26'),(28962,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0068650245666504','2020-03-12 09:45:26'),(28963,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00052905082702637','2020-03-12 09:45:26'),(28964,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0068769454956055','2020-03-12 09:45:26'),(28965,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.035104990005493','2020-03-12 09:45:26'),(28966,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0094799995422363','2020-03-12 09:45:26'),(28967,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0058820247650146','2020-03-12 09:45:26'),(28968,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078420877456665','2020-03-12 09:45:26'),(28969,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.07889199256897','2020-03-12 09:45:26'),(28970,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014123916625977','2020-03-12 09:45:26'),(28971,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026340484619141','2020-03-12 09:45:26'),(28972,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014024972915649','2020-03-12 09:45:26'),(28973,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026109218597412','2020-03-12 09:45:26'),(28974,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.2122189998627','2020-03-12 09:45:26'),(28975,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.3033790588379','2020-03-12 09:45:26'),(28976,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.2109248638153','2020-03-12 09:45:26'),(28977,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.5077049732208','2020-03-12 09:45:26'),(28978,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019548177719116','2020-03-12 09:45:26'),(28979,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019629001617432','2020-03-12 09:45:26'),(28980,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00095677375793457','2020-03-12 09:45:26'),(28981,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019683837890625','2020-03-12 09:45:27'),(28982,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.00073790550231934','2020-03-12 09:45:27'),(28983,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-12 09:45:27'),(28984,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040102005004883','2020-03-12 09:45:27'),(28985,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040197372436523','2020-03-12 09:45:27'),(28986,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040197372436523','2020-03-12 09:45:27'),(28987,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040078163146973','2020-03-12 09:45:27'),(28988,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040102005004883','2020-03-12 09:45:27'),(28989,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039982795715332','2020-03-12 09:45:27'),(28990,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040102005004883','2020-03-12 09:45:27'),(28991,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040102005004883','2020-03-12 09:45:27'),(28992,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040102005004883','2020-03-12 09:45:27'),(28993,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040197372436523','2020-03-12 09:45:27'),(28994,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040388107299805','2020-03-12 09:45:27'),(28995,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055689811706543','2020-03-12 09:45:27'),(28996,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013959407806396','2020-03-12 09:45:27'),(28997,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.00531005859375','2020-03-12 09:45:27'),(28998,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013089179992676','2020-03-12 09:45:27'),(28999,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005547046661377','2020-03-12 09:45:27'),(29000,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014379024505615','2020-03-12 09:45:27'),(29001,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00066709518432617','2020-03-12 09:45:39'),(29002,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.021162033081055','2020-03-12 09:45:39'),(29003,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010008811950684','2020-03-12 09:45:39'),(29004,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.017549991607666','2020-03-12 09:45:39'),(29005,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00091195106506348','2020-03-12 09:45:39'),(29006,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.014096021652222','2020-03-12 09:45:39'),(29007,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00072884559631348','2020-03-12 09:45:39'),(29008,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0070750713348389','2020-03-12 09:45:39'),(29009,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00061798095703125','2020-03-12 09:45:39'),(29010,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0090668201446533','2020-03-12 09:45:39'),(29011,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.039006948471069','2020-03-12 09:45:39'),(29012,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0094749927520752','2020-03-12 09:45:39'),(29013,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0058140754699707','2020-03-12 09:45:39'),(29014,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.069190979003906','2020-03-12 09:45:39'),(29015,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.063030958175659','2020-03-12 09:45:39'),(29016,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014137029647827','2020-03-12 09:45:39'),(29017,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0026240348815918','2020-03-12 09:45:39'),(29018,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014052867889404','2020-03-12 09:45:39'),(29019,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026109218597412','2020-03-12 09:45:39'),(29020,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.2550830841064','2020-03-12 09:45:39'),(29021,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.2841761112213','2020-03-12 09:45:39'),(29022,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.6630969047546','2020-03-12 09:45:39'),(29023,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.7622449398041','2020-03-12 09:45:39'),(29024,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019797086715698','2020-03-12 09:45:39'),(29025,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019618988037109','2020-03-12 09:45:39'),(29026,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00095009803771973','2020-03-12 09:45:39'),(29027,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019927024841309','2020-03-12 09:45:39'),(29028,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.00074386596679688','2020-03-12 09:45:39'),(29029,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0004119873046875','2020-03-12 09:45:39'),(29030,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040388107299805','2020-03-12 09:45:39'),(29031,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040388107299805','2020-03-12 09:45:39'),(29032,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040411949157715','2020-03-12 09:45:39'),(29033,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040602684020996','2020-03-12 09:45:39'),(29034,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-12 09:45:39'),(29035,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040698051452637','2020-03-12 09:45:39'),(29036,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-12 09:45:39'),(29037,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040316581726074','2020-03-12 09:45:39'),(29038,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040388107299805','2020-03-12 09:45:39'),(29039,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040411949157715','2020-03-12 09:45:39'),(29040,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-12 09:45:39'),(29041,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0056078433990479','2020-03-12 09:45:39'),(29042,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014321804046631','2020-03-12 09:45:39'),(29043,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053479671478271','2020-03-12 09:45:39'),(29044,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0015609264373779','2020-03-12 09:45:39'),(29045,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005587100982666','2020-03-12 09:45:40'),(29046,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014729499816895','2020-03-12 09:45:40'),(29047,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.004723072052002','2020-03-12 09:45:40'),(29048,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0067059993743896','2020-03-12 09:45:40'),(29049,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0064709186553955','2020-03-12 09:45:40'),(29050,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0062639713287354','2020-03-12 09:45:40'),(29051,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\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.0051751136779785','2020-03-12 09:45:40'),(29052,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00098299980163574','2020-03-12 09:45:40'),(29053,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019982099533081','2020-03-12 09:45:40'),(29054,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.00071001052856445','2020-03-12 09:45:40'),(29055,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037193298339844','2020-03-12 09:45:40'),(29056,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035285949707031','2020-03-12 09:45:40'),(29057,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-12 09:45:40'),(29058,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035405158996582','2020-03-12 09:45:40'),(29059,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034904479980469','2020-03-12 09:45:40'),(29060,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034809112548828','2020-03-12 09:45:40'),(29061,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034689903259277','2020-03-12 09:45:40'),(29062,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034618377685547','2020-03-12 09:45:40'),(29063,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-12 09:45:40'),(29064,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003509521484375','2020-03-12 09:45:40'),(29065,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034403800964355','2020-03-12 09:45:40'),(29066,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034809112548828','2020-03-12 09:45:40'),(29067,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.004863977432251','2020-03-12 09:45:40'),(29068,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0012190341949463','2020-03-12 09:45:40'),(29069,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0047850608825684','2020-03-12 09:45:40'),(29070,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011599063873291','2020-03-12 09:45:40'),(29071,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00062394142150879','2020-03-12 09:45:52'),(29072,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.022789001464844','2020-03-12 09:45:52'),(29073,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00098180770874023','2020-03-12 09:45:52'),(29074,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.016446828842163','2020-03-12 09:45:52'),(29075,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00082087516784668','2020-03-12 09:45:52'),(29076,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.010916948318481','2020-03-12 09:45:52'),(29077,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00074291229248047','2020-03-12 09:45:52'),(29078,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0091991424560547','2020-03-12 09:45:52'),(29079,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00054311752319336','2020-03-12 09:45:52'),(29080,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.007084846496582','2020-03-12 09:45:52'),(29081,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.039083957672119','2020-03-12 09:45:52'),(29082,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0094888210296631','2020-03-12 09:45:52'),(29083,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0057919025421143','2020-03-12 09:45:52'),(29084,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.075947046279907','2020-03-12 09:45:52'),(29085,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.067076921463013','2020-03-12 09:45:52'),(29086,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.011173009872437','2020-03-12 09:45:52'),(29087,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0020530223846436','2020-03-12 09:45:52'),(29088,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.01115608215332','2020-03-12 09:45:52'),(29089,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0020341873168945','2020-03-12 09:45:52'),(29090,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.0737750530243','2020-03-12 09:45:52'),(29091,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.3687100410461','2020-03-12 09:45:52'),(29092,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.5951581001282','2020-03-12 09:45:52'),(29093,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.6775059700012','2020-03-12 09:45:52'),(29094,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.011713027954102','2020-03-12 09:45:52'),(29095,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.018754005432129','2020-03-12 09:45:52'),(29096,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00093698501586914','2020-03-12 09:45:52'),(29097,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019998073577881','2020-03-12 09:45:52'),(29098,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.00083613395690918','2020-03-12 09:45:52'),(29099,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00053286552429199','2020-03-12 09:45:52'),(29100,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034093856811523','2020-03-12 09:45:52'),(29101,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-12 09:45:52'),(29102,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00039911270141602','2020-03-12 09:45:52'),(29103,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036501884460449','2020-03-12 09:45:52'),(29104,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003821849822998','2020-03-12 09:45:52'),(29105,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037407875061035','2020-03-12 09:45:52'),(29106,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00054097175598145','2020-03-12 09:45:52'),(29107,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0004279613494873','2020-03-12 09:45:52'),(29108,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003659725189209','2020-03-12 09:45:52'),(29109,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037813186645508','2020-03-12 09:45:52'),(29110,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0004119873046875','2020-03-12 09:45:52'),(29111,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055480003356934','2020-03-12 09:45:52'),(29112,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014138221740723','2020-03-12 09:45:53'),(29113,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053610801696777','2020-03-12 09:45:53'),(29114,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014550685882568','2020-03-12 09:45:53'),(29115,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055391788482666','2020-03-12 09:45:53'),(29116,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013890266418457','2020-03-12 09:45:53'),(29117,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00074100494384766','2020-03-12 09:46:04'),(29118,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.023613929748535','2020-03-12 09:46:04'),(29119,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010619163513184','2020-03-12 09:46:04'),(29120,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.018855094909668','2020-03-12 09:46:04'),(29121,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00082683563232422','2020-03-12 09:46:04'),(29122,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.010781049728394','2020-03-12 09:46:04'),(29123,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00066494941711426','2020-03-12 09:46:04'),(29124,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0084948539733887','2020-03-12 09:46:04'),(29125,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00053191184997559','2020-03-12 09:46:04'),(29126,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.007051944732666','2020-03-12 09:46:04'),(29127,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.034678936004639','2020-03-12 09:46:04'),(29128,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.0084469318389893','2020-03-12 09:46:04'),(29129,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0051679611206055','2020-03-12 09:46:04'),(29130,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078149080276489','2020-03-12 09:46:04'),(29131,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.077588081359863','2020-03-12 09:46:04'),(29132,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014007806777954','2020-03-12 09:46:04'),(29133,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025458335876465','2020-03-12 09:46:04'),(29134,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014559030532837','2020-03-12 09:46:04'),(29135,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0030200481414795','2020-03-12 09:46:05'),(29136,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.3509118556976','2020-03-12 09:46:05'),(29137,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.3664770126343','2020-03-12 09:46:05'),(29138,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.6056039333344','2020-03-12 09:46:05'),(29139,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.6300270557404','2020-03-12 09:46:05'),(29140,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019601821899414','2020-03-12 09:46:05'),(29141,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.020206928253174','2020-03-12 09:46:05'),(29142,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0012819766998291','2020-03-12 09:46:05'),(29143,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.019720077514648','2020-03-12 09:46:05'),(29144,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','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.00070691108703613','2020-03-12 09:46:05'),(29145,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037097930908203','2020-03-12 09:46:05'),(29146,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035285949707031','2020-03-12 09:46:05'),(29147,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034904479980469','2020-03-12 09:46:05'),(29148,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034809112548828','2020-03-12 09:46:05'),(29149,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034809112548828','2020-03-12 09:46:05'),(29150,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034713745117188','2020-03-12 09:46:05'),(29151,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034713745117188','2020-03-12 09:46:05'),(29152,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-12 09:46:05'),(29153,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-12 09:46:05'),(29154,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-12 09:46:05'),(29155,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034594535827637','2020-03-12 09:46:05'),(29156,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-12 09:46:05'),(29157,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055539608001709','2020-03-12 09:46:05'),(29158,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013828277587891','2020-03-12 09:46:05'),(29159,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053689479827881','2020-03-12 09:46:05'),(29160,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0016200542449951','2020-03-12 09:46:05'),(29161,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0058398246765137','2020-03-12 09:46:05'),(29162,175,'Amir Zul Hanif Bin Rahmat','183.171.64.157','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0015890598297119','2020-03-12 09:46:05'),(29163,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 370','http://salihin.noip.me/mgs/login/setSession','0.00047206878662109','2020-03-12 11:09:28'),(29164,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00061798095703125','2020-03-12 11:09:39'),(29165,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.022320032119751','2020-03-12 11:09:39'),(29166,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00099396705627441','2020-03-12 11:09:39'),(29167,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.018436908721924','2020-03-12 11:09:39'),(29168,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00090694427490234','2020-03-12 11:09:39'),(29169,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.013059854507446','2020-03-12 11:09:39'),(29170,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00068402290344238','2020-03-12 11:09:39'),(29171,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0076549053192139','2020-03-12 11:09:39'),(29172,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00053501129150391','2020-03-12 11:09:39'),(29173,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0079231262207031','2020-03-12 11:09:39'),(29174,370,'Siti Nur Ain Binti Mohd Salleh','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.039546012878418','2020-03-12 11:09:39'),(29175,370,'Siti Nur Ain Binti Mohd Salleh','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.009699821472168','2020-03-12 11:09:39'),(29176,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0059819221496582','2020-03-12 11:09:39'),(29177,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078651905059814','2020-03-12 11:09:40'),(29178,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.078418970108032','2020-03-12 11:09:40'),(29179,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014096021652222','2020-03-12 11:09:40'),(29180,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0027220249176025','2020-03-12 11:09:40'),(29181,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014061212539673','2020-03-12 11:09:40'),(29182,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025990009307861','2020-03-12 11:09:40'),(29183,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.1110939979553','2020-03-12 11:09:40'),(29184,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.3159980773926','2020-03-12 11:09:40'),(29185,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.6054849624634','2020-03-12 11:09:40'),(29186,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.6061420440674','2020-03-12 11:09:40'),(29187,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.012653112411499','2020-03-12 11:09:40'),(29188,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.012726068496704','2020-03-12 11:09:40'),(29189,370,'Siti Nur Ain Binti Mohd Salleh','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.00060296058654785','2020-03-12 11:09:40'),(29190,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01970100402832','2020-03-12 11:09:40'),(29191,370,'Siti Nur Ain Binti Mohd Salleh','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.00076913833618164','2020-03-12 11:09:40'),(29192,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042009353637695','2020-03-12 11:09:40'),(29193,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042104721069336','2020-03-12 11:09:40'),(29194,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041794776916504','2020-03-12 11:09:40'),(29195,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0004270076751709','2020-03-12 11:09:40'),(29196,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036907196044922','2020-03-12 11:09:40'),(29197,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035691261291504','2020-03-12 11:09:40'),(29198,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035405158996582','2020-03-12 11:09:40'),(29199,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036191940307617','2020-03-12 11:09:40'),(29200,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035381317138672','2020-03-12 11:09:40'),(29201,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034904479980469','2020-03-12 11:09:40'),(29202,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035810470581055','2020-03-12 11:09:40'),(29203,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035691261291504','2020-03-12 11:09:40'),(29204,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0049798488616943','2020-03-12 11:09:40'),(29205,370,'Siti Nur Ain Binti Mohd Salleh','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.0012412071228027','2020-03-12 11:09:41'),(29206,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.004857063293457','2020-03-12 11:09:41'),(29207,370,'Siti Nur Ain Binti Mohd Salleh','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.0013899803161621','2020-03-12 11:09:41'),(29208,370,'Siti Nur Ain Binti Mohd Salleh','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-12 11:09:41'),(29209,370,'Siti Nur Ain Binti Mohd Salleh','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.0014231204986572','2020-03-12 11:09:41'),(29210,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0050599575042725','2020-03-12 11:10:07'),(29211,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0056941509246826','2020-03-12 11:10:07'),(29212,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0047650337219238','2020-03-12 11:10:07'),(29213,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0036168098449707','2020-03-12 11:10:07'),(29214,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0031030178070068','2020-03-12 11:10:07'),(29215,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00089192390441895','2020-03-12 11:10:07'),(29216,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.018308877944946','2020-03-12 11:10:07'),(29217,370,'Siti Nur Ain Binti Mohd Salleh','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.00069499015808105','2020-03-12 11:10:07'),(29218,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003809928894043','2020-03-12 11:10:07'),(29219,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035500526428223','2020-03-12 11:10:07'),(29220,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035595893859863','2020-03-12 11:10:07'),(29221,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035405158996582','2020-03-12 11:10:07'),(29222,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036001205444336','2020-03-12 11:10:07'),(29223,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036001205444336','2020-03-12 11:10:07'),(29224,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035810470581055','2020-03-12 11:10:07'),(29225,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034689903259277','2020-03-12 11:10:07'),(29226,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034689903259277','2020-03-12 11:10:07'),(29227,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-12 11:10:07'),(29228,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035190582275391','2020-03-12 11:10:08'),(29229,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00028204917907715','2020-03-12 11:10:08'),(29230,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0055510997772217','2020-03-12 11:10:08'),(29231,370,'Siti Nur Ain Binti Mohd Salleh','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.0014679431915283','2020-03-12 11:10:08'),(29232,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054810047149658','2020-03-12 11:10:08'),(29233,370,'Siti Nur Ain Binti Mohd Salleh','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.0012331008911133','2020-03-12 11:10:08'),(29234,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0061500072479248','2020-03-12 11:10:24'),(29235,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0042350292205811','2020-03-12 11:10:24'),(29236,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0051171779632568','2020-03-12 11:10:24'),(29237,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0052108764648438','2020-03-12 11:10:24'),(29238,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\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.0043931007385254','2020-03-12 11:10:24'),(29239,370,'Siti Nur Ain Binti Mohd Salleh','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` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0011351108551025','2020-03-12 11:10:24'),(29240,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019864082336426','2020-03-12 11:10:24'),(29241,370,'Siti Nur Ain Binti Mohd Salleh','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.00069308280944824','2020-03-12 11:10:24'),(29242,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037407875061035','2020-03-12 11:10:24'),(29243,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036501884460449','2020-03-12 11:10:24'),(29244,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036478042602539','2020-03-12 11:10:24'),(29245,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036716461181641','2020-03-12 11:10:24'),(29246,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003659725189209','2020-03-12 11:10:24'),(29247,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036311149597168','2020-03-12 11:10:24'),(29248,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036907196044922','2020-03-12 11:10:24'),(29249,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037384033203125','2020-03-12 11:10:25'),(29250,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036406517028809','2020-03-12 11:10:25'),(29251,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036311149597168','2020-03-12 11:10:25'),(29252,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036907196044922','2020-03-12 11:10:25'),(29253,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036501884460449','2020-03-12 11:10:25'),(29254,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054938793182373','2020-03-12 11:10:25'),(29255,370,'Siti Nur Ain Binti Mohd Salleh','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.0013389587402344','2020-03-12 11:10:25'),(29256,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054290294647217','2020-03-12 11:10:25'),(29257,370,'Siti Nur Ain Binti Mohd Salleh','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.0012581348419189','2020-03-12 11:10:25'),(29258,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 378','http://salihin.noip.me/mgs/login/setSession','0.00036287307739258','2020-03-13 03:05:22'),(29259,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00063395500183105','2020-03-13 03:05:32'),(29260,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.02299690246582','2020-03-13 03:05:32'),(29261,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010561943054199','2020-03-13 03:05:32'),(29262,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017388105392456','2020-03-13 03:05:32'),(29263,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00077414512634277','2020-03-13 03:05:32'),(29264,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010687112808228','2020-03-13 03:05:32'),(29265,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00064992904663086','2020-03-13 03:05:32'),(29266,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0087881088256836','2020-03-13 03:05:32'),(29267,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00054311752319336','2020-03-13 03:05:32'),(29268,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0070328712463379','2020-03-13 03:05:32'),(29269,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.03913402557373','2020-03-13 03:05:32'),(29270,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0096311569213867','2020-03-13 03:05:32'),(29271,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0058548450469971','2020-03-13 03:05:32'),(29272,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.081552028656006','2020-03-13 03:05:32'),(29273,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.074485778808594','2020-03-13 03:05:32'),(29274,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014152050018311','2020-03-13 03:05:32'),(29275,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.002612829208374','2020-03-13 03:05:32'),(29276,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.013952970504761','2020-03-13 03:05:32'),(29277,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025429725646973','2020-03-13 03:05:32'),(29278,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.6606469154358','2020-03-13 03:05:32'),(29279,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','1.8668458461761','2020-03-13 03:05:32'),(29280,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.8672780990601','2020-03-13 03:05:32'),(29281,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.5398089885712','2020-03-13 03:05:32'),(29282,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'378\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01175594329834','2020-03-13 03:05:32'),(29283,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'378\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.015117883682251','2020-03-13 03:05:32'),(29284,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00090694427490234','2020-03-13 03:05:32'),(29285,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'378\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.017675161361694','2020-03-13 03:05:32'),(29286,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00068116188049316','2020-03-13 03:05:32'),(29287,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003809928894043','2020-03-13 03:05:32'),(29288,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003659725189209','2020-03-13 03:05:32'),(29289,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-13 03:05:32'),(29290,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003662109375','2020-03-13 03:05:32'),(29291,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-13 03:05:32'),(29292,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003659725189209','2020-03-13 03:05:32'),(29293,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036501884460449','2020-03-13 03:05:33'),(29294,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003659725189209','2020-03-13 03:05:33'),(29295,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-13 03:05:33'),(29296,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003669261932373','2020-03-13 03:05:33'),(29297,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00036406517028809','2020-03-13 03:05:33'),(29298,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00037097930908203','2020-03-13 03:05:33'),(29299,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0036580562591553','2020-03-13 03:05:33'),(29300,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012249946594238','2020-03-13 03:05:33'),(29301,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0033760070800781','2020-03-13 03:05:33'),(29302,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00093197822570801','2020-03-13 03:05:33'),(29303,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0033919811248779','2020-03-13 03:05:33'),(29304,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011661052703857','2020-03-13 03:05:33'),(29305,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0048739910125732','2020-03-13 03:05:40'),(29306,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0042951107025146','2020-03-13 03:05:40'),(29307,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0058529376983643','2020-03-13 03:05:40'),(29308,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0039830207824707','2020-03-13 03:05:40'),(29309,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0062010288238525','2020-03-13 03:05:40'),(29310,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'378\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0010221004486084','2020-03-13 03:05:40'),(29311,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'378\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.01786994934082','2020-03-13 03:05:40'),(29312,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.0007021427154541','2020-03-13 03:05:40'),(29313,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00037193298339844','2020-03-13 03:05:40'),(29314,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035381317138672','2020-03-13 03:05:40'),(29315,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-13 03:05:40'),(29316,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034594535827637','2020-03-13 03:05:40'),(29317,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-13 03:05:40'),(29318,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034117698669434','2020-03-13 03:05:40'),(29319,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034213066101074','2020-03-13 03:05:40'),