(8730,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.18364000320435','2020-03-10 20:19:14'),(8731,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.021016120910645','2020-03-10 20:19:14'),(8732,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.0049011707305908','2020-03-10 20:19:14'),(8733,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032248497009277','2020-03-10 20:19:14'),(8734,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.041521072387695','2020-03-10 20:19:14'),(8735,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.040051937103271','2020-03-10 20:19:14'),(8736,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0069749355316162','2020-03-10 20:19:14'),(8737,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0015370845794678','2020-03-10 20:19:14'),(8738,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0068469047546387','2020-03-10 20:19:15'),(8739,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.001478910446167','2020-03-10 20:19:15'),(8740,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.24854803085327','2020-03-10 20:19:15'),(8741,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.083528995513916','2020-03-10 20:19:15'),(8742,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.22746300697327','2020-03-10 20:19:15'),(8743,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.11010694503784','2020-03-10 20:19:15'),(8744,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.002068042755127','2020-03-10 20:19:15'),(8745,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'142\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016660690307617','2020-03-10 20:19:15'),(8746,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00078105926513672','2020-03-10 20:19:15'),(8747,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010187149047852','2020-03-10 20:19:15'),(8748,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.00058579444885254','2020-03-10 20:19:15'),(8749,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003201961517334','2020-03-10 20:19:15'),(8750,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00017690658569336','2020-03-10 20:19:15'),(8751,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016403198242188','2020-03-10 20:19:15'),(8752,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014591217041016','2020-03-10 20:19:15'),(8753,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014400482177734','2020-03-10 20:19:15'),(8754,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-10 20:19:15'),(8755,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001380443572998','2020-03-10 20:19:15'),(8756,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013613700866699','2020-03-10 20:19:15'),(8757,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013518333435059','2020-03-10 20:19:15'),(8758,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013399124145508','2020-03-10 20:19:15'),(8759,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-10 20:19:15'),(8760,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013303756713867','2020-03-10 20:19:15'),(8761,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030109882354736','2020-03-10 20:19:15'),(8762,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0010769367218018','2020-03-10 20:19:15'),(8763,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.002863883972168','2020-03-10 20:19:15'),(8764,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0010430812835693','2020-03-10 20:19:15'),(8765,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029151439666748','2020-03-10 20:19:15'),(8766,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011270046234131','2020-03-10 20:19:15'),(8767,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0060908794403076','2020-03-10 20:19:22'),(8768,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0053820610046387','2020-03-10 20:19:22'),(8769,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.006540060043335','2020-03-10 20:19:22'),(8770,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0031979084014893','2020-03-10 20:19:22'),(8771,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0059518814086914','2020-03-10 20:19:22'),(8772,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013790130615234','2020-03-10 20:19:22'),(8773,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.0098240375518799','2020-03-10 20:19:22'),(8774,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.00056314468383789','2020-03-10 20:19:22'),(8775,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00031018257141113','2020-03-10 20:19:22'),(8776,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00017094612121582','2020-03-10 20:19:22'),(8777,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0001530647277832','2020-03-10 20:19:22'),(8778,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00014209747314453','2020-03-10 20:19:22'),(8779,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013995170593262','2020-03-10 20:19:22'),(8780,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013399124145508','2020-03-10 20:19:22'),(8781,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013995170593262','2020-03-10 20:19:22'),(8782,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00014591217041016','2020-03-10 20:19:22'),(8783,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00015592575073242','2020-03-10 20:19:22'),(8784,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013494491577148','2020-03-10 20:19:22'),(8785,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012898445129395','2020-03-10 20:19:22'),(8786,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012707710266113','2020-03-10 20:19:22'),(8787,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0030510425567627','2020-03-10 20:19:22'),(8788,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.001176118850708','2020-03-10 20:19:22'),(8789,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0029430389404297','2020-03-10 20:19:23'),(8790,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011239051818848','2020-03-10 20:19:23'),(8791,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00042104721069336','2020-03-10 20:19:39'),(8792,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00054192543029785','2020-03-10 20:19:39'),(8793,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00049090385437012','2020-03-10 20:19:39'),(8794,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00052714347839355','2020-03-10 20:19:39'),(8795,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00065207481384277','2020-03-10 20:19:39'),(8796,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00066399574279785','2020-03-10 20:19:39'),(8797,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00033307075500488','2020-03-10 20:19:39'),(8798,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.099030017852783','2020-03-10 20:19:39'),(8799,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00065994262695312','2020-03-10 20:19:39'),(8800,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00076603889465332','2020-03-10 20:19:39'),(8801,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.10980010032654','2020-03-10 20:19:39'),(8802,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00057005882263184','2020-03-10 20:19:39'),(8803,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.4253749847412','2020-03-10 20:19:39'),(8804,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00078296661376953','2020-03-10 20:19:39'),(8805,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.10164189338684','2020-03-10 20:19:39'),(8806,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00059390068054199','2020-03-10 20:19:39'),(8807,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.4331200122833','2020-03-10 20:19:39'),(8808,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00078892707824707','2020-03-10 20:19:39'),(8809,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.1187469959259','2020-03-10 20:19:39'),(8810,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.0005800724029541','2020-03-10 20:19:39'),(8811,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.010219097137451','2020-03-10 20:19:39'),(8812,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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/1244/2','0.00062012672424316','2020-03-10 20:19:39'),(8813,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00041294097900391','2020-03-10 20:19:39'),(8814,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00023794174194336','2020-03-10 20:19:39'),(8815,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00021886825561523','2020-03-10 20:19:39'),(8816,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0001990795135498','2020-03-10 20:19:39'),(8817,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00019407272338867','2020-03-10 20:19:39'),(8818,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00019598007202148','2020-03-10 20:19:39'),(8819,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00019001960754395','2020-03-10 20:19:40'),(8820,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00018095970153809','2020-03-10 20:19:40'),(8821,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00018405914306641','2020-03-10 20:19:40'),(8822,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00017809867858887','2020-03-10 20:19:40'),(8823,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00017285346984863','2020-03-10 20:19:40'),(8824,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00017404556274414','2020-03-10 20:19:40'),(8825,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0036699771881104','2020-03-10 20:19:40'),(8826,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.00118088722229','2020-03-10 20:19:40'),(8827,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0037918090820312','2020-03-10 20:19:40'),(8828,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0012078285217285','2020-03-10 20:19:40'),(8829,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0037350654602051','2020-03-10 20:19:40'),(8830,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011520385742188','2020-03-10 20:19:40'),(8831,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.00086593627929688','2020-03-10 20:19:40'),(8832,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00040602684020996','2020-03-10 20:23:13'),(8833,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00050497055053711','2020-03-10 20:23:13'),(8834,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00045919418334961','2020-03-10 20:23:13'),(8835,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00039100646972656','2020-03-10 20:23:13'),(8836,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00064802169799805','2020-03-10 20:23:13'),(8837,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00055789947509766','2020-03-10 20:23:13'),(8838,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00023293495178223','2020-03-10 20:23:13'),(8839,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.099976062774658','2020-03-10 20:23:13'),(8840,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00055384635925293','2020-03-10 20:23:13'),(8841,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.0006108283996582','2020-03-10 20:23:13'),(8842,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.10633397102356','2020-03-10 20:23:13'),(8843,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00048398971557617','2020-03-10 20:23:13'),(8844,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.6629920005798','2020-03-10 20:23:13'),(8845,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.0019168853759766','2020-03-10 20:23:13'),(8846,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.10012006759644','2020-03-10 20:23:13'),(8847,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00049090385437012','2020-03-10 20:23:13'),(8848,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.7457849979401','2020-03-10 20:23:13'),(8849,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00066304206848145','2020-03-10 20:23:13'),(8850,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.10050702095032','2020-03-10 20:23:14'),(8851,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00045394897460938','2020-03-10 20:23:14'),(8852,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.009814977645874','2020-03-10 20:23:14'),(8853,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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/1244/2','0.00055193901062012','2020-03-10 20:23:14'),(8854,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00026798248291016','2020-03-10 20:23:14'),(8855,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00014495849609375','2020-03-10 20:23:14'),(8856,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013184547424316','2020-03-10 20:23:14'),(8857,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013184547424316','2020-03-10 20:23:14'),(8858,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00015401840209961','2020-03-10 20:23:14'),(8859,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013518333435059','2020-03-10 20:23:14'),(8860,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012683868408203','2020-03-10 20:23:14'),(8861,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013494491577148','2020-03-10 20:23:14'),(8862,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00016307830810547','2020-03-10 20:23:14'),(8863,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00014209747314453','2020-03-10 20:23:14'),(8864,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012683868408203','2020-03-10 20:23:14'),(8865,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012397766113281','2020-03-10 20:23:14'),(8866,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0030779838562012','2020-03-10 20:23:14'),(8867,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011301040649414','2020-03-10 20:23:14'),(8868,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0031540393829346','2020-03-10 20:23:14'),(8869,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011188983917236','2020-03-10 20:23:14'),(8870,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0031499862670898','2020-03-10 20:23:14'),(8871,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011601448059082','2020-03-10 20:23:14'),(8872,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0007779598236084','2020-03-10 20:23:14'),(8873,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00039196014404297','2020-03-10 20:23:30'),(8874,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00051689147949219','2020-03-10 20:23:30'),(8875,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00045514106750488','2020-03-10 20:23:30'),(8876,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00038290023803711','2020-03-10 20:23:30'),(8877,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00060677528381348','2020-03-10 20:23:30'),(8878,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00054097175598145','2020-03-10 20:23:30'),(8879,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00024700164794922','2020-03-10 20:23:30'),(8880,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.099240064620972','2020-03-10 20:23:30'),(8881,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00053215026855469','2020-03-10 20:23:30'),(8882,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00065088272094727','2020-03-10 20:23:30'),(8883,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.099266052246094','2020-03-10 20:23:30'),(8884,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00046300888061523','2020-03-10 20:23:31'),(8885,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.4043860435486','2020-03-10 20:23:31'),(8886,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00069713592529297','2020-03-10 20:23:31'),(8887,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.099862098693848','2020-03-10 20:23:31'),(8888,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00050997734069824','2020-03-10 20:23:31'),(8889,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.4019649028778','2020-03-10 20:23:31'),(8890,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00067400932312012','2020-03-10 20:23:31'),(8891,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.099420070648193','2020-03-10 20:23:31'),(8892,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00044012069702148','2020-03-10 20:23:31'),(8893,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.0098230838775635','2020-03-10 20:23:31'),(8894,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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/1244/2','0.00053715705871582','2020-03-10 20:23:31'),(8895,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00030899047851562','2020-03-10 20:23:31'),(8896,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00015902519226074','2020-03-10 20:23:31'),(8897,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00014615058898926','2020-03-10 20:23:31'),(8898,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013208389282227','2020-03-10 20:23:31'),(8899,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00014209747314453','2020-03-10 20:23:31'),(8900,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012993812561035','2020-03-10 20:23:31'),(8901,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012993812561035','2020-03-10 20:23:31'),(8902,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0001220703125','2020-03-10 20:23:31'),(8903,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012493133544922','2020-03-10 20:23:31'),(8904,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00014901161193848','2020-03-10 20:23:31'),(8905,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012397766113281','2020-03-10 20:23:31'),(8906,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00011992454528809','2020-03-10 20:23:31'),(8907,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0031280517578125','2020-03-10 20:23:31'),(8908,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011429786682129','2020-03-10 20:23:31'),(8909,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0031030178070068','2020-03-10 20:23:31'),(8910,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011699199676514','2020-03-10 20:23:31'),(8911,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0030379295349121','2020-03-10 20:23:31'),(8912,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0012099742889404','2020-03-10 20:23:31'),(8913,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.00069999694824219','2020-03-10 20:23:31'),(8914,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'2\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00040602684020996','2020-03-10 20:23:46'),(8915,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00044584274291992','2020-03-10 20:23:46'),(8916,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00043392181396484','2020-03-10 20:23:46'),(8917,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0002591609954834','2020-03-10 20:23:46'),(8918,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00047087669372559','2020-03-10 20:23:46'),(8919,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00052499771118164','2020-03-10 20:23:46'),(8920,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00020813941955566','2020-03-10 20:23:46'),(8921,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'2\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.098484992980957','2020-03-10 20:23:46'),(8922,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.00052094459533691','2020-03-10 20:23:46'),(8923,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00062298774719238','2020-03-10 20:23:46'),(8924,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.098773956298828','2020-03-10 20:23:46'),(8925,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00049519538879395','2020-03-10 20:23:46'),(8926,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.3199582099915','2020-03-10 20:23:46'),(8927,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.011610984802246','2020-03-10 20:23:46'),(8928,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.099274158477783','2020-03-10 20:23:46'),(8929,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.0004420280456543','2020-03-10 20:23:46'),(8930,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1244,jobID)','http://salihin.noip.me/mgs/projects/job/1244/2','4.3758211135864','2020-03-10 20:23:47'),(8931,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'','http://salihin.noip.me/mgs/projects/job/1244/2','0.00065088272094727','2020-03-10 20:23:47'),(8932,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.099068880081177','2020-03-10 20:23:47'),(8933,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1244\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1244/2','0.00047802925109863','2020-03-10 20:23:47'),(8934,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1244/2','0.0097119808197021','2020-03-10 20:23:47'),(8935,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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/1244/2','0.00053286552429199','2020-03-10 20:23:47'),(8936,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00029611587524414','2020-03-10 20:23:47'),(8937,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00014901161193848','2020-03-10 20:23:47'),(8938,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0001370906829834','2020-03-10 20:23:47'),(8939,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013399124145508','2020-03-10 20:23:47'),(8940,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013279914855957','2020-03-10 20:23:47'),(8941,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012588500976562','2020-03-10 20:23:47'),(8942,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012707710266113','2020-03-10 20:23:47'),(8943,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012803077697754','2020-03-10 20:23:47'),(8944,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013089179992676','2020-03-10 20:23:47'),(8945,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013089179992676','2020-03-10 20:23:47'),(8946,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00013494491577148','2020-03-10 20:23:47'),(8947,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1244/2','0.00012516975402832','2020-03-10 20:23:47'),(8948,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0028371810913086','2020-03-10 20:23:47'),(8949,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0010859966278076','2020-03-10 20:23:47'),(8950,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0030910968780518','2020-03-10 20:23:47'),(8951,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0012638568878174','2020-03-10 20:23:47'),(8952,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1244/2','0.0030601024627686','2020-03-10 20:23:47'),(8953,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.0011200904846191','2020-03-10 20:23:47'),(8954,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1244/2','0.00076889991760254','2020-03-10 20:23:47'),(8955,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0039920806884766','2020-03-10 20:24:46'),(8956,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.005277156829834','2020-03-10 20:24:46'),(8957,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0055019855499268','2020-03-10 20:24:46'),(8958,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0031869411468506','2020-03-10 20:24:46'),(8959,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.084199905395508','2020-03-10 20:24:46'),(8960,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'142\'\nAND `b`.`departmentID` = \'2\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013158321380615','2020-03-10 20:24:46'),(8961,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'142\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.0099470615386963','2020-03-10 20:24:47'),(8962,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','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.00055098533630371','2020-03-10 20:24:47'),(8963,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039100646972656','2020-03-10 20:24:47'),(8964,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0001828670501709','2020-03-10 20:24:47'),(8965,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00015091896057129','2020-03-10 20:24:47'),(8966,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0001380443572998','2020-03-10 20:24:47'),(8967,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00021791458129883','2020-03-10 20:24:47'),(8968,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013589859008789','2020-03-10 20:24:47'),(8969,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013899803161621','2020-03-10 20:24:47'),(8970,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013494491577148','2020-03-10 20:24:47'),(8971,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012302398681641','2020-03-10 20:24:47'),(8972,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0001220703125','2020-03-10 20:24:47'),(8973,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012087821960449','2020-03-10 20:24:47'),(8974,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0001220703125','2020-03-10 20:24:47'),(8975,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.002971887588501','2020-03-10 20:24:47'),(8976,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011930465698242','2020-03-10 20:24:47'),(8977,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0030388832092285','2020-03-10 20:24:47'),(8978,142,'Nina Farhana Binti Abdul Mutalib','14.192.211.154','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.001021146774292','2020-03-10 20:24:47'),(8979,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 372','http://salihin.noip.me/mgs/login/setSession','0.00034594535827637','2020-03-11 00:30:05'),(8980,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0004279613494873','2020-03-11 00:30:11'),(8981,372,'Nurliyana Shafinaz Binti Amran','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.20357799530029','2020-03-11 00:30:11'),(8982,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.000701904296875','2020-03-11 00:30:11'),(8983,372,'Nurliyana Shafinaz Binti Amran','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.015424966812134','2020-03-11 00:30:11'),(8984,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00055885314941406','2020-03-11 00:30:11'),(8985,372,'Nurliyana Shafinaz Binti Amran','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.011770009994507','2020-03-11 00:30:11'),(8986,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00045299530029297','2020-03-11 00:30:11'),(8987,372,'Nurliyana Shafinaz Binti Amran','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.02490496635437','2020-03-11 00:30:11'),(8988,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00036215782165527','2020-03-11 00:30:11'),(8989,372,'Nurliyana Shafinaz Binti Amran','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.034558057785034','2020-03-11 00:30:11'),(8990,372,'Nurliyana Shafinaz Binti Amran','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.020297050476074','2020-03-11 00:30:11'),(8991,372,'Nurliyana Shafinaz Binti Amran','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.0050709247589111','2020-03-11 00:30:11'),(8992,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.0032141208648682','2020-03-11 00:30:12'),(8993,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.040493965148926','2020-03-11 00:30:12'),(8994,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.040621042251587','2020-03-11 00:30:12'),(8995,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0070219039916992','2020-03-11 00:30:12'),(8996,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.001554012298584','2020-03-11 00:30:12'),(8997,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.00699782371521','2020-03-11 00:30:12'),(8998,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0016288757324219','2020-03-11 00:30:12'),(8999,372,'Nurliyana Shafinaz Binti Amran','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','1.6907868385315','2020-03-11 00:30:12'),(9000,372,'Nurliyana Shafinaz Binti Amran','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.2563290596008','2020-03-11 00:30:12'),(9001,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`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.3374969959259','2020-03-11 00:30:12'),(9002,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.0012090206146','2020-03-11 00:30:12'),(9003,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.0094819068908691','2020-03-11 00:30:12'),(9004,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.0096859931945801','2020-03-11 00:30:12'),(9005,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.00069022178649902','2020-03-11 00:30:12'),(9006,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.0094192028045654','2020-03-11 00:30:12'),(9007,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.0005338191986084','2020-03-11 00:30:12'),(9008,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031113624572754','2020-03-11 00:30:12'),(9009,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018095970153809','2020-03-11 00:30:12'),(9010,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014996528625488','2020-03-11 00:30:12'),(9011,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 00:30:12'),(9012,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014495849609375','2020-03-11 00:30:12'),(9013,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014901161193848','2020-03-11 00:30:12'),(9014,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013518333435059','2020-03-11 00:30:12'),(9015,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014591217041016','2020-03-11 00:30:12'),(9016,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013184547424316','2020-03-11 00:30:12'),(9017,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 00:30:12'),(9018,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013089179992676','2020-03-11 00:30:12'),(9019,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014400482177734','2020-03-11 00:30:12'),(9020,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.0031619071960449','2020-03-11 00:30:12'),(9021,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.0011520385742188','2020-03-11 00:30:12'),(9022,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.0029268264770508','2020-03-11 00:30:12'),(9023,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.0010080337524414','2020-03-11 00:30:12'),(9024,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.0029499530792236','2020-03-11 00:30:12'),(9025,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.001072883605957','2020-03-11 00:30:12'),(9026,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.005540132522583','2020-03-11 00:30:21'),(9027,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.0060958862304688','2020-03-11 00:30:21'),(9028,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.002910852432251','2020-03-11 00:30:21'),(9029,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.0042650699615479','2020-03-11 00:30:21'),(9030,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.0038580894470215','2020-03-11 00:30:21'),(9031,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.0013089179992676','2020-03-11 00:30:21'),(9032,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.0094389915466309','2020-03-11 00:30:21'),(9033,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.00061392784118652','2020-03-11 00:30:21'),(9034,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-11 00:30:21'),(9035,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00018501281738281','2020-03-11 00:30:21'),(9036,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00017881393432617','2020-03-11 00:30:21'),(9037,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00016498565673828','2020-03-11 00:30:21'),(9038,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00016999244689941','2020-03-11 00:30:21'),(9039,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00021100044250488','2020-03-11 00:30:21'),(9040,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00016283988952637','2020-03-11 00:30:22'),(9041,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00015616416931152','2020-03-11 00:30:22'),(9042,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00018405914306641','2020-03-11 00:30:22'),(9043,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00018000602722168','2020-03-11 00:30:22'),(9044,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00015807151794434','2020-03-11 00:30:22'),(9045,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00015497207641602','2020-03-11 00:30:22'),(9046,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.0036728382110596','2020-03-11 00:30:22'),(9047,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.0012149810791016','2020-03-11 00:30:22'),(9048,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.0036342144012451','2020-03-11 00:30:22'),(9049,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.0010960102081299','2020-03-11 00:30:22'),(9050,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT role FROM user__role WHERE user_ID = 81','http://salihin.noip.me/mgs/login/setSession','0.00032901763916016','2020-03-11 00:31:09'),(9051,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.49314284324646','2020-03-11 00:31:12'),(9052,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017838954925537','2020-03-11 00:31:12'),(9053,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.016903877258301','2020-03-11 00:31:12'),(9054,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.08409595489502','2020-03-11 00:31:12'),(9055,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.17757296562195','2020-03-11 00:31:12'),(9056,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.020262002944946','2020-03-11 00:31:12'),(9057,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0049929618835449','2020-03-11 00:31:12'),(9058,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032229423522949','2020-03-11 00:31:12'),(9059,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.040775060653687','2020-03-11 00:31:12'),(9060,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.040348052978516','2020-03-11 00:31:12'),(9061,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0069639682769775','2020-03-11 00:31:12'),(9062,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0015699863433838','2020-03-11 00:31:12'),(9063,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0071449279785156','2020-03-11 00:31:12'),(9064,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.001554012298584','2020-03-11 00:31:12'),(9065,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.24171304702759','2020-03-11 00:31:12'),(9066,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.081257104873657','2020-03-11 00:31:12'),(9067,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.22657489776611','2020-03-11 00:31:12'),(9068,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.076777935028076','2020-03-11 00:31:12'),(9069,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0015888214111328','2020-03-11 00:31:12'),(9070,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016331672668457','2020-03-11 00:31:12'),(9071,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00074601173400879','2020-03-11 00:31:12'),(9072,81,'Norshimah Binti Morjan','192.168.1.254','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.011959075927734','2020-03-11 00:31:13'),(9073,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00082492828369141','2020-03-11 00:31:13'),(9074,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003058910369873','2020-03-11 00:31:13'),(9075,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014019012451172','2020-03-11 00:31:13'),(9076,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 00:31:13'),(9077,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013089179992676','2020-03-11 00:31:13'),(9078,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001227855682373','2020-03-11 00:31:13'),(9079,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00018787384033203','2020-03-11 00:31:13'),(9080,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001220703125','2020-03-11 00:31:13'),(9081,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011920928955078','2020-03-11 00:31:13'),(9082,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012111663818359','2020-03-11 00:31:13'),(9083,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 00:31:13'),(9084,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-11 00:31:13'),(9085,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-11 00:31:13'),(9086,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.003148078918457','2020-03-11 00:31:13'),(9087,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011131763458252','2020-03-11 00:31:13'),(9088,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029511451721191','2020-03-11 00:31:13'),(9089,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011289119720459','2020-03-11 00:31:13'),(9090,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029129981994629','2020-03-11 00:31:13'),(9091,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012497901916504','2020-03-11 00:31:13'),(9092,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.47773194313049','2020-03-11 00:33:04'),(9093,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.02120304107666','2020-03-11 00:33:04'),(9094,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01624584197998','2020-03-11 00:33:04'),(9095,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.080796003341675','2020-03-11 00:33:04'),(9096,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.18236517906189','2020-03-11 00:33:04'),(9097,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.020766019821167','2020-03-11 00:33:04'),(9098,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.005058765411377','2020-03-11 00:33:04'),(9099,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032820701599121','2020-03-11 00:33:04'),(9100,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.041007995605469','2020-03-11 00:33:04'),(9101,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.040703773498535','2020-03-11 00:33:04'),(9102,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0070772171020508','2020-03-11 00:33:04'),(9103,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0016019344329834','2020-03-11 00:33:04'),(9104,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0070738792419434','2020-03-11 00:33:04'),(9105,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.001594066619873','2020-03-11 00:33:04'),(9106,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.23961687088013','2020-03-11 00:33:04'),(9107,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.081244945526123','2020-03-11 00:33:04'),(9108,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.22508811950684','2020-03-11 00:33:04'),(9109,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.076114892959595','2020-03-11 00:33:04'),(9110,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0015640258789062','2020-03-11 00:33:04'),(9111,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0016429424285889','2020-03-11 00:33:04'),(9112,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00071001052856445','2020-03-11 00:33:04'),(9113,81,'Norshimah Binti Morjan','192.168.1.254','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.011883020401001','2020-03-11 00:33:04'),(9114,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0007779598236084','2020-03-11 00:33:04'),(9115,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038313865661621','2020-03-11 00:33:04'),(9116,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014495849609375','2020-03-11 00:33:05'),(9117,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012707710266113','2020-03-11 00:33:05'),(9118,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014901161193848','2020-03-11 00:33:05'),(9119,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015997886657715','2020-03-11 00:33:05'),(9120,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012087821960449','2020-03-11 00:33:05'),(9121,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011801719665527','2020-03-11 00:33:05'),(9122,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012302398681641','2020-03-11 00:33:05'),(9123,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012803077697754','2020-03-11 00:33:05'),(9124,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 00:33:05'),(9125,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012612342834473','2020-03-11 00:33:05'),(9126,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012016296386719','2020-03-11 00:33:05'),(9127,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0031819343566895','2020-03-11 00:33:05'),(9128,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010380744934082','2020-03-11 00:33:05'),(9129,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029218196868896','2020-03-11 00:33:05'),(9130,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010719299316406','2020-03-11 00:33:05'),(9131,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029339790344238','2020-03-11 00:33:05'),(9132,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011298656463623','2020-03-11 00:33:05'),(9133,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.47195887565613','2020-03-11 00:33:59'),(9134,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.017497062683105','2020-03-11 00:33:59'),(9135,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01681113243103','2020-03-11 00:33:59'),(9136,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.083449125289917','2020-03-11 00:33:59'),(9137,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.18216490745544','2020-03-11 00:33:59'),(9138,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.020849943161011','2020-03-11 00:33:59'),(9139,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0050339698791504','2020-03-11 00:33:59'),(9140,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032408237457275','2020-03-11 00:33:59'),(9141,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.04094409942627','2020-03-11 00:33:59'),(9142,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.040307998657227','2020-03-11 00:33:59'),(9143,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0069990158081055','2020-03-11 00:33:59'),(9144,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0016078948974609','2020-03-11 00:33:59'),(9145,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.00701904296875','2020-03-11 00:33:59'),(9146,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0016021728515625','2020-03-11 00:33:59'),(9147,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.24523901939392','2020-03-11 00:33:59'),(9148,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.083548069000244','2020-03-11 00:33:59'),(9149,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.22482299804688','2020-03-11 00:33:59'),(9150,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.075890779495239','2020-03-11 00:33:59'),(9151,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.00164794921875','2020-03-11 00:33:59'),(9152,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0015909671783447','2020-03-11 00:33:59'),(9153,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00078177452087402','2020-03-11 00:33:59'),(9154,81,'Norshimah Binti Morjan','192.168.1.254','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.012075901031494','2020-03-11 00:33:59'),(9155,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00087499618530273','2020-03-11 00:33:59'),(9156,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031805038452148','2020-03-11 00:33:59'),(9157,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00017905235290527','2020-03-11 00:34:00'),(9158,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015997886657715','2020-03-11 00:34:00'),(9159,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 00:34:00'),(9160,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014781951904297','2020-03-11 00:34:00'),(9161,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 00:34:00'),(9162,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-11 00:34:00'),(9163,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013399124145508','2020-03-11 00:34:00'),(9164,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013494491577148','2020-03-11 00:34:00'),(9165,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-11 00:34:00'),(9166,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014209747314453','2020-03-11 00:34:00'),(9167,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013089179992676','2020-03-11 00:34:00'),(9168,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030651092529297','2020-03-11 00:34:00'),(9169,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011429786682129','2020-03-11 00:34:00'),(9170,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0028209686279297','2020-03-11 00:34:00'),(9171,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010709762573242','2020-03-11 00:34:00'),(9172,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0028150081634521','2020-03-11 00:34:00'),(9173,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.001082181930542','2020-03-11 00:34:00'),(9174,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 168','http://salihin.noip.me/mgs/login/setSession','0.00023198127746582','2020-03-11 00:34:54'),(9175,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.00044608116149902','2020-03-11 00:34:55'),(9176,168,'Nurul Natasha Binti Etrizal','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.024339199066162','2020-03-11 00:34:55'),(9177,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.00040197372436523','2020-03-11 00:34:55'),(9178,168,'Nurul Natasha Binti Etrizal','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.010456085205078','2020-03-11 00:34:55'),(9179,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.00034809112548828','2020-03-11 00:34:55'),(9180,168,'Nurul Natasha Binti Etrizal','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0095829963684082','2020-03-11 00:34:55'),(9181,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.00033903121948242','2020-03-11 00:34:55'),(9182,168,'Nurul Natasha Binti Etrizal','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.024760961532593','2020-03-11 00:34:55'),(9183,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.0003969669342041','2020-03-11 00:34:56'),(9184,168,'Nurul Natasha Binti Etrizal','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(\'2\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.010727882385254','2020-03-11 00:34:56'),(9185,168,'Nurul Natasha Binti Etrizal','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.020605087280273','2020-03-11 00:34:56'),(9186,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.47154498100281','2020-03-11 00:34:56'),(9187,168,'Nurul Natasha Binti Etrizal','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.0052430629730225','2020-03-11 00:34:56'),(9188,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.018746137619019','2020-03-11 00:34:56'),(9189,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0035929679870605','2020-03-11 00:34:56'),(9190,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.015403985977173','2020-03-11 00:34:56'),(9191,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.041537046432495','2020-03-11 00:34:56'),(9192,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.083481073379517','2020-03-11 00:34:56'),(9193,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.040499210357666','2020-03-11 00:34:56'),(9194,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.18685102462769','2020-03-11 00:34:56'),(9195,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0069200992584229','2020-03-11 00:34:56'),(9196,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.021218061447144','2020-03-11 00:34:56'),(9197,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0015411376953125','2020-03-11 00:34:56'),(9198,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0050649642944336','2020-03-11 00:34:56'),(9199,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0067381858825684','2020-03-11 00:34:56'),(9200,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0031490325927734','2020-03-11 00:34:56'),(9201,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0014398097991943','2020-03-11 00:34:56'),(9202,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.040884971618652','2020-03-11 00:34:56'),(9203,168,'Nurul Natasha Binti Etrizal','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.25777316093445','2020-03-11 00:34:56'),(9204,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.039847135543823','2020-03-11 00:34:56'),(9205,168,'Nurul Natasha Binti Etrizal','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.081273078918457','2020-03-11 00:34:56'),(9206,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0069470405578613','2020-03-11 00:34:56'),(9207,168,'Nurul Natasha Binti Etrizal','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.22068381309509','2020-03-11 00:34:57'),(9208,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0015249252319336','2020-03-11 00:34:57'),(9209,168,'Nurul Natasha Binti Etrizal','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.077758073806763','2020-03-11 00:34:57'),(9210,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0068418979644775','2020-03-11 00:34:57'),(9211,168,'Nurul Natasha Binti Etrizal','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` = \'168\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.009429931640625','2020-03-11 00:34:57'),(9212,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0014300346374512','2020-03-11 00:34:57'),(9213,168,'Nurul Natasha Binti Etrizal','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` = \'168\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0094289779663086','2020-03-11 00:34:57'),(9214,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.24348020553589','2020-03-11 00:34:57'),(9215,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00064992904663086','2020-03-11 00:34:57'),(9216,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 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.083235025405884','2020-03-11 00:34:57'),(9217,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'168\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0094079971313477','2020-03-11 00:34:57'),(9218,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.22715401649475','2020-03-11 00:34:57'),(9219,168,'Nurul Natasha Binti Etrizal','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.00048089027404785','2020-03-11 00:34:57'),(9220,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 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.077080011367798','2020-03-11 00:34:57'),(9221,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031208992004395','2020-03-11 00:34:57'),(9222,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0014691352844238','2020-03-11 00:34:57'),(9223,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00019097328186035','2020-03-11 00:34:57'),(9224,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'81\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0014090538024902','2020-03-11 00:34:57'),(9225,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016903877258301','2020-03-11 00:34:57'),(9226,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0005791187286377','2020-03-11 00:34:57'),(9227,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016212463378906','2020-03-11 00:34:57'),(9228,81,'Norshimah Binti Morjan','192.168.1.254','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.012127161026001','2020-03-11 00:34:57'),(9229,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016021728515625','2020-03-11 00:34:57'),(9230,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00085997581481934','2020-03-11 00:34:57'),(9231,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001521110534668','2020-03-11 00:34:57'),(9232,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030183792114258','2020-03-11 00:34:57'),(9233,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015687942504883','2020-03-11 00:34:57'),(9234,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015902519226074','2020-03-11 00:34:57'),(9235,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015091896057129','2020-03-11 00:34:57'),(9236,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013995170593262','2020-03-11 00:34:57'),(9237,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014805793762207','2020-03-11 00:34:57'),(9238,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013494491577148','2020-03-11 00:34:57'),(9239,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014710426330566','2020-03-11 00:34:57'),(9240,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016999244689941','2020-03-11 00:34:57'),(9241,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014495849609375','2020-03-11 00:34:57'),(9242,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012588500976562','2020-03-11 00:34:57'),(9243,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014615058898926','2020-03-11 00:34:57'),(9244,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013089179992676','2020-03-11 00:34:57'),(9245,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0034358501434326','2020-03-11 00:34:57'),(9246,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016188621520996','2020-03-11 00:34:57'),(9247,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00093388557434082','2020-03-11 00:34:57'),(9248,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00016999244689941','2020-03-11 00:34:58'),(9249,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0033729076385498','2020-03-11 00:34:58'),(9250,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013089179992676','2020-03-11 00:34:58'),(9251,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00095891952514648','2020-03-11 00:34:58'),(9252,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012707710266113','2020-03-11 00:34:58'),(9253,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0033888816833496','2020-03-11 00:34:58'),(9254,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014996528625488','2020-03-11 00:34:58'),(9255,168,'Nurul Natasha Binti Etrizal','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00093984603881836','2020-03-11 00:34:58'),(9256,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029599666595459','2020-03-11 00:34:58'),(9257,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011320114135742','2020-03-11 00:34:58'),(9258,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029020309448242','2020-03-11 00:34:58'),(9259,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010998249053955','2020-03-11 00:34:58'),(9260,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030040740966797','2020-03-11 00:34:58'),(9261,81,'Norshimah Binti Morjan','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0012109279632568','2020-03-11 00:34:58'),(9262,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT role FROM user__role WHERE user_ID = 117','http://salihin.noip.me/mgs/login/setSession','0.0003361701965332','2020-03-11 00:38:57'),(9263,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/dashboard','0.00043797492980957','2020-03-11 00:38:59'),(9264,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'5\', \'13\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.011900901794434','2020-03-11 00:38:59'),(9265,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-11 00:38:59'),(9266,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'5\', \'13\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.01091194152832','2020-03-11 00:38:59'),(9267,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/dashboard','0.00036501884460449','2020-03-11 00:38:59'),(9268,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'5\', \'13\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010222911834717','2020-03-11 00:38:59'),(9269,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/dashboard','0.00040292739868164','2020-03-11 00:38:59'),(9270,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'5\', \'13\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0094239711761475','2020-03-11 00:38:59'),(9271,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/dashboard','0.0003211498260498','2020-03-11 00:38:59'),(9272,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'5\', \'13\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.027086019515991','2020-03-11 00:38:59'),(9273,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.019340038299561','2020-03-11 00:38:59'),(9274,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0051760673522949','2020-03-11 00:38:59'),(9275,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032470226287842','2020-03-11 00:38:59'),(9276,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.039674997329712','2020-03-11 00:38:59'),(9277,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Accounting\'','http://salihin.noip.me/mgs/dashboard','0.038596868515015','2020-03-11 00:38:59'),(9278,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0068650245666504','2020-03-11 00:38:59'),(9279,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0014150142669678','2020-03-11 00:38:59'),(9280,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0067319869995117','2020-03-11 00:38:59'),(9281,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0048480033874512','2020-03-11 00:38:59'),(9282,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 5)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.26870393753052','2020-03-11 00:38:59'),(9283,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 5)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.2163519859314','2020-03-11 00:38:59'),(9284,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 5)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.24588894844055','2020-03-11 00:38:59'),(9285,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) 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` = 5))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 5)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.19765710830688','2020-03-11 00:38:59'),(9286,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'117\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0065000057220459','2020-03-11 00:39:01'),(9287,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'117\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0065798759460449','2020-03-11 00:39:01'),(9288,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00071501731872559','2020-03-11 00:39:01'),(9289,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'117\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0099000930786133','2020-03-11 00:39:01'),(9290,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00051116943359375','2020-03-11 00:39:01'),(9291,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030422210693359','2020-03-11 00:39:02'),(9292,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014209747314453','2020-03-11 00:39:02'),(9293,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013208389282227','2020-03-11 00:39:02'),(9294,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014615058898926','2020-03-11 00:39:02'),(9295,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015997886657715','2020-03-11 00:39:02'),(9296,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013399124145508','2020-03-11 00:39:02'),(9297,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013113021850586','2020-03-11 00:39:02'),(9298,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 00:39:02'),(9299,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 00:39:02'),(9300,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013303756713867','2020-03-11 00:39:02'),(9301,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013494491577148','2020-03-11 00:39:02'),(9302,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 00:39:02'),(9303,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030579566955566','2020-03-11 00:39:02'),(9304,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010769367218018','2020-03-11 00:39:02'),(9305,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030310153961182','2020-03-11 00:39:02'),(9306,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010769367218018','2020-03-11 00:39:02'),(9307,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.003093957901001','2020-03-11 00:39:02'),(9308,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010769367218018','2020-03-11 00:39:02'),(9309,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'117\'\nAND `b`.`departmentID` = \'5\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0057699680328369','2020-03-11 00:39:12'),(9310,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'117\'\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.0053081512451172','2020-03-11 00:39:12'),(9311,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'117\'\nAND `b`.`departmentID` = \'5\'\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.0041918754577637','2020-03-11 00:39:12'),(9312,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'117\'\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.4197678565979','2020-03-11 00:39:12'),(9313,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'117\'\nAND `b`.`departmentID` = \'5\'\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.0037779808044434','2020-03-11 00:39:12'),(9314,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'117\'\nAND `b`.`departmentID` = \'5\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0012760162353516','2020-03-11 00:39:12'),(9315,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'117\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.0097489356994629','2020-03-11 00:39:12'),(9316,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00050806999206543','2020-03-11 00:39:12'),(9317,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00028395652770996','2020-03-11 00:39:12'),(9318,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00016093254089355','2020-03-11 00:39:12'),(9319,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00014090538024902','2020-03-11 00:39:12'),(9320,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012779235839844','2020-03-11 00:39:13'),(9321,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012898445129395','2020-03-11 00:39:13'),(9322,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012516975402832','2020-03-11 00:39:13'),(9323,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012803077697754','2020-03-11 00:39:13'),(9324,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012111663818359','2020-03-11 00:39:13'),(9325,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012993812561035','2020-03-11 00:39:13'),(9326,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00013303756713867','2020-03-11 00:39:13'),(9327,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012016296386719','2020-03-11 00:39:13'),(9328,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012302398681641','2020-03-11 00:39:14'),(9329,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0029451847076416','2020-03-11 00:39:14'),(9330,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0010819435119629','2020-03-11 00:39:14'),(9331,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0029089450836182','2020-03-11 00:39:14'),(9332,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0010850429534912','2020-03-11 00:39:14'),(9333,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'5\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00041007995605469','2020-03-11 00:39:50'),(9334,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00052595138549805','2020-03-11 00:39:50'),(9335,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.00046014785766602','2020-03-11 00:39:50'),(9336,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/382/5','0.00050520896911621','2020-03-11 00:39:50'),(9337,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/382/5','0.00075292587280273','2020-03-11 00:39:50'),(9338,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00056004524230957','2020-03-11 00:39:50'),(9339,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00025486946105957','2020-03-11 00:39:50'),(9340,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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(\'5\', \'13\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.099380970001221','2020-03-11 00:39:50'),(9341,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.0021309852600098','2020-03-11 00:39:50'),(9342,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00068211555480957','2020-03-11 00:39:50'),(9343,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.106693983078','2020-03-11 00:39:50'),(9344,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00043606758117676','2020-03-11 00:39:50'),(9345,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(382,jobID)','http://salihin.noip.me/mgs/projects/job/382/5','4.5681660175323','2020-03-11 00:39:50'),(9346,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00081396102905273','2020-03-11 00:39:50'),(9347,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.1004478931427','2020-03-11 00:39:50'),(9348,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00046896934509277','2020-03-11 00:39:50'),(9349,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00066208839416504','2020-03-11 00:39:50'),(9350,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.0016758441925049','2020-03-11 00:39:50'),(9351,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00043201446533203','2020-03-11 00:39:50'),(9352,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00069379806518555','2020-03-11 00:39:50'),(9353,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.099812030792236','2020-03-11 00:39:50'),(9354,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00046110153198242','2020-03-11 00:39:50'),(9355,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00062203407287598','2020-03-11 00:39:50'),(9356,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.09912896156311','2020-03-11 00:39:50'),(9357,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00045680999755859','2020-03-11 00:39:50'),(9358,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(382,jobID)','http://salihin.noip.me/mgs/projects/job/382/5','4.4254198074341','2020-03-11 00:39:51'),(9359,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00072193145751953','2020-03-11 00:39:51'),(9360,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.10599303245544','2020-03-11 00:39:51'),(9361,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00049686431884766','2020-03-11 00:39:51'),(9362,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'','http://salihin.noip.me/mgs/projects/job/382/5','0.0007331371307373','2020-03-11 00:39:51'),(9363,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.001708984375','2020-03-11 00:39:51'),(9364,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00040316581726074','2020-03-11 00:39:51'),(9365,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00055193901062012','2020-03-11 00:39:51'),(9366,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.099699020385742','2020-03-11 00:39:51'),(9367,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00043106079101562','2020-03-11 00:39:51'),(9368,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00065994262695312','2020-03-11 00:39:51'),(9369,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.10471391677856','2020-03-11 00:39:51'),(9370,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00044608116149902','2020-03-11 00:39:51'),(9371,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'117\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.0097651481628418','2020-03-11 00:39:51'),(9372,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00053095817565918','2020-03-11 00:39:51'),(9373,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00030803680419922','2020-03-11 00:39:51'),(9374,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00016498565673828','2020-03-11 00:39:51'),(9375,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00014209747314453','2020-03-11 00:39:51'),(9376,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00013494491577148','2020-03-11 00:39:51'),(9377,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00014495849609375','2020-03-11 00:39:51'),(9378,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00013613700866699','2020-03-11 00:39:51'),(9379,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00013089179992676','2020-03-11 00:39:51'),(9380,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00012707710266113','2020-03-11 00:39:51'),(9381,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00012397766113281','2020-03-11 00:39:51'),(9382,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00012612342834473','2020-03-11 00:39:51'),(9383,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00013113021850586','2020-03-11 00:39:51'),(9384,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00012707710266113','2020-03-11 00:39:51'),(9385,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0037539005279541','2020-03-11 00:39:51'),(9386,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.001154899597168','2020-03-11 00:39:51'),(9387,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0030457973480225','2020-03-11 00:39:51'),(9388,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0012469291687012','2020-03-11 00:39:51'),(9389,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0029971599578857','2020-03-11 00:39:51'),(9390,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0011570453643799','2020-03-11 00:39:51'),(9391,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00081515312194824','2020-03-11 00:39:51'),(9392,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'5\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00035190582275391','2020-03-11 00:40:26'),(9393,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00047087669372559','2020-03-11 00:40:26'),(9394,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.00035285949707031','2020-03-11 00:40:26'),(9395,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/382/5','0.00025796890258789','2020-03-11 00:40:26'),(9396,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/382/5','0.00048303604125977','2020-03-11 00:40:26'),(9397,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00044512748718262','2020-03-11 00:40:27'),(9398,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/projects/job/382/5','0.0001978874206543','2020-03-11 00:40:27'),(9399,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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(\'5\', \'13\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.096042156219482','2020-03-11 00:40:27'),(9400,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.00049686431884766','2020-03-11 00:40:27'),(9401,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00063204765319824','2020-03-11 00:40:27'),(9402,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.098063945770264','2020-03-11 00:40:27'),(9403,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00043201446533203','2020-03-11 00:40:27'),(9404,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(382,jobID)','http://salihin.noip.me/mgs/projects/job/382/5','4.3089978694916','2020-03-11 00:40:28'),(9405,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00063800811767578','2020-03-11 00:40:28'),(9406,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.096920013427734','2020-03-11 00:40:28'),(9407,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00045990943908691','2020-03-11 00:40:28'),(9408,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00055789947509766','2020-03-11 00:40:28'),(9409,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.0019750595092773','2020-03-11 00:40:28'),(9410,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00040388107299805','2020-03-11 00:40:28'),(9411,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00057291984558105','2020-03-11 00:40:28'),(9412,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097432851791382','2020-03-11 00:40:28'),(9413,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00042295455932617','2020-03-11 00:40:28'),(9414,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00052976608276367','2020-03-11 00:40:28'),(9415,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.098098039627075','2020-03-11 00:40:28'),(9416,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00046300888061523','2020-03-11 00:40:28'),(9417,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(382,jobID)','http://salihin.noip.me/mgs/projects/job/382/5','4.4050660133362','2020-03-11 00:40:28'),(9418,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00063300132751465','2020-03-11 00:40:29'),(9419,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.09801197052002','2020-03-11 00:40:29'),(9420,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00045299530029297','2020-03-11 00:40:29'),(9421,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00057697296142578','2020-03-11 00:40:29'),(9422,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.0015912055969238','2020-03-11 00:40:29'),(9423,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00041389465332031','2020-03-11 00:40:29'),(9424,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00057101249694824','2020-03-11 00:40:29'),(9425,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097091913223267','2020-03-11 00:40:29'),(9426,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00042891502380371','2020-03-11 00:40:29'),(9427,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00052404403686523','2020-03-11 00:40:29'),(9428,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097897052764893','2020-03-11 00:40:29'),(9429,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00041103363037109','2020-03-11 00:40:29'),(9430,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'117\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.0095410346984863','2020-03-11 00:40:29'),(9431,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00048589706420898','2020-03-11 00:40:29'),(9432,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00025701522827148','2020-03-11 00:40:29'),(9433,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00013399124145508','2020-03-11 00:40:29'),(9434,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00012302398681641','2020-03-11 00:40:29'),(9435,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011992454528809','2020-03-11 00:40:29'),(9436,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.0001218318939209','2020-03-11 00:40:29'),(9437,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00012087821960449','2020-03-11 00:40:30'),(9438,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011992454528809','2020-03-11 00:40:30'),(9439,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011706352233887','2020-03-11 00:40:30'),(9440,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011706352233887','2020-03-11 00:40:30'),(9441,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011897087097168','2020-03-11 00:40:30'),(9442,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011801719665527','2020-03-11 00:40:30'),(9443,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011801719665527','2020-03-11 00:40:30'),(9444,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0028040409088135','2020-03-11 00:40:30'),(9445,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00098919868469238','2020-03-11 00:40:30'),(9446,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0028479099273682','2020-03-11 00:40:30'),(9447,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0010249614715576','2020-03-11 00:40:30'),(9448,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0028331279754639','2020-03-11 00:40:30'),(9449,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0010180473327637','2020-03-11 00:40:30'),(9450,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00067520141601562','2020-03-11 00:40:31'),(9451,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','INSERT','INSERT INTO `job__task_daily_summary` (`jobID`, `userID`, `summary`, `updatedTS`, `is_delete`) VALUES (\'382\', \'117\', \'<p>10/03/2020</p><p>Done key-in all bank transaction, send queries and pending documents from client via email.</p><p><br></p>\', \'2020-03-11 08:42:04\', 0)','http://salihin.noip.me/mgs/projects/update_daily_works','0.079278945922852','2020-03-11 00:42:04'),(9452,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`user_ID`, `b`.`name`\nFROM `user__role` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_ID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`role` = \'SUPERVISOR\'\nAND `b`.`department_id` = \'5\'','http://salihin.noip.me/mgs/projects/update_daily_works','0.098055124282837','2020-03-11 00:42:04'),(9453,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','INSERT','INSERT INTO `notification` (`icon`, `iconColor`, `message`, `link`, `receiverID`, `createdBY`, `is_read`, `updatedTS`) VALUES (\'fas fa-pen\', \'bg-primary\', \'Muhammad Zhafri Bin Ainol Kamal has created new daily updates for job 00382\', \'http://salihin.noip.me/mgs/projects/job/382/5?tab=pane_conversation\', \'21\', \'117\', 0, \'2020-03-11 08:42:04\')','http://salihin.noip.me/mgs/projects/update_daily_works','0.022590160369873','2020-03-11 00:42:04'),(9454,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','INSERT','INSERT INTO `user__activity` (`activity`, `userID`, `metadata`, `icon`, `updatedTS`) VALUES (\'Create a new daily update for job id : 00382\', \'117\', \'a:3:{s:6:\\\"job_id\\\";s:3:\\\"382\\\";s:7:\\\"dept_id\\\";s:1:\\\"5\\\";s:7:\\\"content\\\";s:126:\\\"<p>10/03/2020</p><p>Done key-in all bank transaction, send queries and pending documents from client via email.</p><p><br></p>\\\";}\', \'fas fa-pen\', \'2020-03-11 08:42:04\')','http://salihin.noip.me/mgs/projects/update_daily_works','0.016052961349487','2020-03-11 00:42:04'),(9455,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'5\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00038003921508789','2020-03-11 00:42:14'),(9456,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00043320655822754','2020-03-11 00:42:14'),(9457,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.0004279613494873','2020-03-11 00:42:14'),(9458,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/382/5','0.00040102005004883','2020-03-11 00:42:14'),(9459,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/382/5','0.00061988830566406','2020-03-11 00:42:14'),(9460,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00047111511230469','2020-03-11 00:42:14'),(9461,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Accounting\'','http://salihin.noip.me/mgs/projects/job/382/5','0.0002138614654541','2020-03-11 00:42:14'),(9462,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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(\'5\', \'13\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.096668004989624','2020-03-11 00:42:14'),(9463,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.0024769306182861','2020-03-11 00:42:14'),(9464,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00060009956359863','2020-03-11 00:42:14'),(9465,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.10150194168091','2020-03-11 00:42:14'),(9466,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00045204162597656','2020-03-11 00:42:14'),(9467,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(382,jobID)','http://salihin.noip.me/mgs/projects/job/382/5','4.2799601554871','2020-03-11 00:42:14'),(9468,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.0020818710327148','2020-03-11 00:42:14'),(9469,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097768068313599','2020-03-11 00:42:14'),(9470,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.002086877822876','2020-03-11 00:42:14'),(9471,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00060105323791504','2020-03-11 00:42:14'),(9472,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.0016942024230957','2020-03-11 00:42:14'),(9473,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00040316581726074','2020-03-11 00:42:14'),(9474,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00058293342590332','2020-03-11 00:42:14'),(9475,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.096982002258301','2020-03-11 00:42:14'),(9476,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00046396255493164','2020-03-11 00:42:14'),(9477,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00056695938110352','2020-03-11 00:42:14'),(9478,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097659826278687','2020-03-11 00:42:14'),(9479,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00089502334594727','2020-03-11 00:42:14'),(9480,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(382,jobID)','http://salihin.noip.me/mgs/projects/job/382/5','4.243537902832','2020-03-11 00:42:14'),(9481,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00058698654174805','2020-03-11 00:42:15'),(9482,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097385168075562','2020-03-11 00:42:15'),(9483,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'382\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00041985511779785','2020-03-11 00:42:15'),(9484,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00051021575927734','2020-03-11 00:42:15'),(9485,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.0017709732055664','2020-03-11 00:42:15'),(9486,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'383\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00038695335388184','2020-03-11 00:42:15'),(9487,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00057291984558105','2020-03-11 00:42:15'),(9488,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.09770393371582','2020-03-11 00:42:15'),(9489,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'384\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.00041794776916504','2020-03-11 00:42:15'),(9490,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'','http://salihin.noip.me/mgs/projects/job/382/5','0.00057697296142578','2020-03-11 00:42:15'),(9491,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','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` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.097230911254883','2020-03-11 00:42:15'),(9492,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'385\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/382/5','0.0004119873046875','2020-03-11 00:42:15'),(9493,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'117\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/382/5','0.0095429420471191','2020-03-11 00:42:15'),(9494,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00047206878662109','2020-03-11 00:42:15'),(9495,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00025296211242676','2020-03-11 00:42:15'),(9496,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00013399124145508','2020-03-11 00:42:15'),(9497,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.0001220703125','2020-03-11 00:42:15'),(9498,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011706352233887','2020-03-11 00:42:15'),(9499,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011801719665527','2020-03-11 00:42:15'),(9500,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011706352233887','2020-03-11 00:42:15'),(9501,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011801719665527','2020-03-11 00:42:15'),(9502,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011301040649414','2020-03-11 00:42:15'),(9503,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011491775512695','2020-03-11 00:42:15'),(9504,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011515617370605','2020-03-11 00:42:15'),(9505,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011301040649414','2020-03-11 00:42:15'),(9506,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/382/5','0.00011396408081055','2020-03-11 00:42:15'),(9507,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0027511119842529','2020-03-11 00:42:15'),(9508,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00096797943115234','2020-03-11 00:42:15'),(9509,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0028009414672852','2020-03-11 00:42:15'),(9510,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0010530948638916','2020-03-11 00:42:15'),(9511,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0028579235076904','2020-03-11 00:42:15'),(9512,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.0010039806365967','2020-03-11 00:42:15'),(9513,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/382/5','0.00069880485534668','2020-03-11 00:42:15'),(9514,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','INSERT','INSERT INTO `job__task_daily_summary` (`jobID`, `userID`, `summary`, `updatedTS`, `is_delete`) VALUES (\'382\', \'117\', \'<p>10/03/2020</p><p>Done key-in all bank transaction, send queries and pending documents from client via email.</p><p><br></p>\', \'2020-03-11 08:42:15\', 0)','http://salihin.noip.me/mgs/projects/update_daily_works','0.012040138244629','2020-03-11 00:42:15'),(9515,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','SELECT','SELECT `a`.`user_ID`, `b`.`name`\nFROM `user__role` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`user_ID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`role` = \'SUPERVISOR\'\nAND `b`.`department_id` = \'5\'','http://salihin.noip.me/mgs/projects/update_daily_works','0.096544981002808','2020-03-11 00:42:15'),(9516,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','INSERT','INSERT INTO `notification` (`icon`, `iconColor`, `message`, `link`, `receiverID`, `createdBY`, `is_read`, `updatedTS`) VALUES (\'fas fa-pen\', \'bg-primary\', \'Muhammad Zhafri Bin Ainol Kamal has created new daily updates for job 00382\', \'http://salihin.noip.me/mgs/projects/job/382/5?tab=pane_conversation\', \'21\', \'117\', 0, \'2020-03-11 08:42:15\')','http://salihin.noip.me/mgs/projects/update_daily_works','0.024215936660767','2020-03-11 00:42:15'),(9517,117,'Muhammad Zhafri Bin Ainol Kamal','192.168.1.254','INSERT','INSERT INTO `user__activity` (`activity`, `userID`, `metadata`, `icon`, `updatedTS`) VALUES (\'Create a new daily update for job id : 00382\', \'117\', \'a:3:{s:6:\\\"job_id\\\";s:3:\\\"382\\\";s:7:\\\"dept_id\\\";s:1:\\\"5\\\";s:7:\\\"content\\\";s:126:\\\"<p>10/03/2020</p><p>Done key-in all bank transaction, send queries and pending documents from client via email.</p><p><br></p>\\\";}\', \'fas fa-pen\', \'2020-03-11 08:42:15\')','http://salihin.noip.me/mgs/projects/update_daily_works','0.016205072402954','2020-03-11 00:42:15'),(9518,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.0003819465637207','2020-03-11 01:49:33'),(9519,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.0004119873046875','2020-03-11 01:49:40'),(9520,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.20729398727417','2020-03-11 01:49:40'),(9521,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.00064301490783691','2020-03-11 01:49:40'),(9522,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.014480113983154','2020-03-11 01:49:40'),(9523,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.00059700012207031','2020-03-11 01:49:40'),(9524,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.013056039810181','2020-03-11 01:49:40'),(9525,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.00047588348388672','2020-03-11 01:49:40'),(9526,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.024029016494751','2020-03-11 01:49:40'),(9527,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.0003809928894043','2020-03-11 01:49:40'),(9528,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.033408880233765','2020-03-11 01:49:40'),(9529,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.020072937011719','2020-03-11 01:49:40'),(9530,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.0049760341644287','2020-03-11 01:49:40'),(9531,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.0032229423522949','2020-03-11 01:49:40'),(9532,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.041365146636963','2020-03-11 01:49:40'),(9533,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.040897130966187','2020-03-11 01:49:40'),(9534,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.0069561004638672','2020-03-11 01:49:40'),(9535,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.0015969276428223','2020-03-11 01:49:40'),(9536,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.0072200298309326','2020-03-11 01:49:40'),(9537,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.0016098022460938','2020-03-11 01:49:40'),(9538,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','1.7103598117828','2020-03-11 01:49:40'),(9539,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.2644288539886','2020-03-11 01:49:40'),(9540,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.3458080291748','2020-03-11 01:49:40'),(9541,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.0193471908569','2020-03-11 01:49:40'),(9542,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.0095798969268799','2020-03-11 01:49:40'),(9543,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.0098230838775635','2020-03-11 01:49:40'),(9544,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.00072193145751953','2020-03-11 01:49:40'),(9545,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.0095000267028809','2020-03-11 01:49:40'),(9546,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.00053906440734863','2020-03-11 01:49:40'),(9547,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029683113098145','2020-03-11 01:49:40'),(9548,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00017499923706055','2020-03-11 01:49:40'),(9549,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015497207641602','2020-03-11 01:49:40'),(9550,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015616416931152','2020-03-11 01:49:40'),(9551,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015115737915039','2020-03-11 01:49:40'),(9552,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014209747314453','2020-03-11 01:49:40'),(9553,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014209747314453','2020-03-11 01:49:40'),(9554,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013589859008789','2020-03-11 01:49:41'),(9555,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013613700866699','2020-03-11 01:49:41'),(9556,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001380443572998','2020-03-11 01:49:41'),(9557,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013303756713867','2020-03-11 01:49:41'),(9558,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 01:49:41'),(9559,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.0030288696289062','2020-03-11 01:49:41'),(9560,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.0011298656463623','2020-03-11 01:49:41'),(9561,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.0029709339141846','2020-03-11 01:49:41'),(9562,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.0010600090026855','2020-03-11 01:49:41'),(9563,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.0030131340026855','2020-03-11 01:49:41'),(9564,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.0011110305786133','2020-03-11 01:49:41'),(9565,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.0048208236694336','2020-03-11 01:49:47'),(9566,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.0046100616455078','2020-03-11 01:49:47'),(9567,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.0034258365631104','2020-03-11 01:49:47'),(9568,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.0038449764251709','2020-03-11 01:49:47'),(9569,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.0031020641326904','2020-03-11 01:49:47'),(9570,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.0011298656463623','2020-03-11 01:49:47'),(9571,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.0092289447784424','2020-03-11 01:49:47'),(9572,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.00043892860412598','2020-03-11 01:49:47'),(9573,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00022006034851074','2020-03-11 01:49:47'),(9574,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012993812561035','2020-03-11 01:49:47'),(9575,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012493133544922','2020-03-11 01:49:48'),(9576,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012111663818359','2020-03-11 01:49:48'),(9577,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012111663818359','2020-03-11 01:49:48'),(9578,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00011992454528809','2020-03-11 01:49:48'),(9579,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012302398681641','2020-03-11 01:49:48'),(9580,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00011897087097168','2020-03-11 01:49:48'),(9581,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00011777877807617','2020-03-11 01:49:48'),(9582,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00011920928955078','2020-03-11 01:49:48'),(9583,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00012016296386719','2020-03-11 01:49:48'),(9584,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00011897087097168','2020-03-11 01:49:48'),(9585,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0029399394989014','2020-03-11 01:49:48'),(9586,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.00093197822570801','2020-03-11 01:49:48'),(9587,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0029950141906738','2020-03-11 01:49:48'),(9588,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.00098800659179688','2020-03-11 01:49:48'),(9589,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0004420280456543','2020-03-11 02:15:35'),(9590,372,'Nurliyana Shafinaz Binti Amran','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.20797991752625','2020-03-11 02:15:35'),(9591,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00071310997009277','2020-03-11 02:15:35'),(9592,372,'Nurliyana Shafinaz Binti Amran','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.013136863708496','2020-03-11 02:15:35'),(9593,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00059103965759277','2020-03-11 02:15:35'),(9594,372,'Nurliyana Shafinaz Binti Amran','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.0097470283508301','2020-03-11 02:15:35'),(9595,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00046014785766602','2020-03-11 02:15:35'),(9596,372,'Nurliyana Shafinaz Binti Amran','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.020673990249634','2020-03-11 02:15:35'),(9597,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00047707557678223','2020-03-11 02:15:35'),(9598,372,'Nurliyana Shafinaz Binti Amran','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.028907060623169','2020-03-11 02:15:35'),(9599,372,'Nurliyana Shafinaz Binti Amran','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.019220113754272','2020-03-11 02:15:35'),(9600,372,'Nurliyana Shafinaz Binti Amran','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.0050899982452393','2020-03-11 02:15:35'),(9601,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.0034961700439453','2020-03-11 02:15:35'),(9602,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.038878917694092','2020-03-11 02:15:35'),(9603,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.038655042648315','2020-03-11 02:15:35'),(9604,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012947082519531','2020-03-11 02:15:35'),(9605,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0015609264373779','2020-03-11 02:15:35'),(9606,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0067899227142334','2020-03-11 02:15:35'),(9607,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0014488697052002','2020-03-11 02:15:35'),(9608,372,'Nurliyana Shafinaz Binti Amran','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','1.698429107666','2020-03-11 02:15:35'),(9609,372,'Nurliyana Shafinaz Binti Amran','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.2153358459473','2020-03-11 02:15:35'),(9610,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`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.3682940006256','2020-03-11 02:15:35'),(9611,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','0.96785712242126','2020-03-11 02:15:35'),(9612,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.0090949535369873','2020-03-11 02:15:35'),(9613,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.009376049041748','2020-03-11 02:15:35'),(9614,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.0006110668182373','2020-03-11 02:15:36'),(9615,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.0093531608581543','2020-03-11 02:15:36'),(9616,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.00044894218444824','2020-03-11 02:15:36'),(9617,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00055193901062012','2020-03-11 02:15:36'),(9618,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001680850982666','2020-03-11 02:15:36'),(9619,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014901161193848','2020-03-11 02:15:36'),(9620,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014591217041016','2020-03-11 02:15:36'),(9621,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014710426330566','2020-03-11 02:15:36'),(9622,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014400482177734','2020-03-11 02:15:36'),(9623,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014400482177734','2020-03-11 02:15:36'),(9624,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014305114746094','2020-03-11 02:15:36'),(9625,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014305114746094','2020-03-11 02:15:36'),(9626,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 02:15:36'),(9627,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014400482177734','2020-03-11 02:15:36'),(9628,372,'Nurliyana Shafinaz Binti Amran','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014305114746094','2020-03-11 02:15:36'),(9629,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.0087549686431885','2020-03-11 02:15:36'),(9630,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.0041148662567139','2020-03-11 02:15:36'),(9631,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.0033080577850342','2020-03-11 02:15:36'),(9632,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.0010440349578857','2020-03-11 02:15:36'),(9633,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.0033509731292725','2020-03-11 02:15:36'),(9634,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.0009160041809082','2020-03-11 02:15:36'),(9635,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.00030088424682617','2020-03-11 02:36:42'),(9636,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.46014499664307','2020-03-11 02:36:46'),(9637,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.016878128051758','2020-03-11 02:36:46'),(9638,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.016080856323242','2020-03-11 02:36:46'),(9639,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.079258918762207','2020-03-11 02:36:46'),(9640,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.17608380317688','2020-03-11 02:36:46'),(9641,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.020267009735107','2020-03-11 02:36:46'),(9642,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.0048930644989014','2020-03-11 02:36:46'),(9643,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.0030519962310791','2020-03-11 02:36:46'),(9644,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.039674997329712','2020-03-11 02:36:46'),(9645,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Shared Services\'','http://salihin.noip.me/mgs/dashboard','0.038676023483276','2020-03-11 02:36:46'),(9646,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.0068848133087158','2020-03-11 02:36:46'),(9647,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.0013821125030518','2020-03-11 02:36:46'),(9648,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.0067288875579834','2020-03-11 02:36:46'),(9649,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.0013790130615234','2020-03-11 02:36:46'),(9650,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.23441696166992','2020-03-11 02:36:46'),(9651,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.080458879470825','2020-03-11 02:36:46'),(9652,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.22070908546448','2020-03-11 02:36:46'),(9653,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.081588983535767','2020-03-11 02:36:46'),(9654,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.0015218257904053','2020-03-11 02:36:46'),(9655,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.0015299320220947','2020-03-11 02:36:46'),(9656,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.00065994262695312','2020-03-11 02:36:46'),(9657,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.01189112663269','2020-03-11 02:36:46'),(9658,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.00090503692626953','2020-03-11 02:36:46'),(9659,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00028204917907715','2020-03-11 02:36:46'),(9660,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014519691467285','2020-03-11 02:36:46'),(9661,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015997886657715','2020-03-11 02:36:46'),(9662,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014400482177734','2020-03-11 02:36:46'),(9663,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001380443572998','2020-03-11 02:36:46'),(9664,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012588500976562','2020-03-11 02:36:46'),(9665,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012516975402832','2020-03-11 02:36:46'),(9666,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012516975402832','2020-03-11 02:36:46'),(9667,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001218318939209','2020-03-11 02:36:46'),(9668,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012397766113281','2020-03-11 02:36:46'),(9669,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012516975402832','2020-03-11 02:36:46'),(9670,81,'Norshimah Binti Morjan','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011897087097168','2020-03-11 02:36:46'),(9671,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.0027899742126465','2020-03-11 02:36:46'),(9672,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.00093889236450195','2020-03-11 02:36:46'),(9673,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.0027410984039307','2020-03-11 02:36:47'),(9674,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.0009770393371582','2020-03-11 02:36:47'),(9675,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.0027849674224854','2020-03-11 02:36:47'),(9676,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.00092196464538574','2020-03-11 02:36:47'),(9677,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.45385503768921','2020-03-11 02:36:59'),(9678,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.018357992172241','2020-03-11 02:36:59'),(9679,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.016647815704346','2020-03-11 02:36:59'),(9680,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.078073024749756','2020-03-11 02:36:59'),(9681,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.16934299468994','2020-03-11 02:36:59'),(9682,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.01950216293335','2020-03-11 02:36:59'),(9683,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0047321319580078','2020-03-11 02:36:59'),(9684,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0032401084899902','2020-03-11 02:36:59'),(9685,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.03931713104248','2020-03-11 02:36:59'),(9686,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'IT\'','http://salihin.noip.me/mgs/dashboard','0.03873610496521','2020-03-11 02:36:59'),(9687,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0070350170135498','2020-03-11 02:36:59'),(9688,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0014829635620117','2020-03-11 02:36:59'),(9689,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.006864070892334','2020-03-11 02:36:59'),(9690,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0014400482177734','2020-03-11 02:36:59'),(9691,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.062324047088623','2020-03-11 02:36:59'),(9692,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.024363994598389','2020-03-11 02:36:59'),(9693,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.061402082443237','2020-03-11 02:36:59'),(9694,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.021406888961792','2020-03-11 02:36:59'),(9695,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'304\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0014169216156006','2020-03-11 02:36:59'),(9696,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'304\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0014431476593018','2020-03-11 02:36:59'),(9697,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0006248950958252','2020-03-11 02:36:59'),(9698,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'304\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010502099990845','2020-03-11 02:36:59'),(9699,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.0006568431854248','2020-03-11 02:36:59'),(9700,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00028419494628906','2020-03-11 02:37:00'),(9701,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014209747314453','2020-03-11 02:37:00'),(9702,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013113021850586','2020-03-11 02:37:00'),(9703,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013017654418945','2020-03-11 02:37:00'),(9704,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011992454528809','2020-03-11 02:37:00'),(9705,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011777877807617','2020-03-11 02:37:00'),(9706,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012898445129395','2020-03-11 02:37:00'),(9707,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012803077697754','2020-03-11 02:37:00'),(9708,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011706352233887','2020-03-11 02:37:00'),(9709,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011801719665527','2020-03-11 02:37:00'),(9710,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011515617370605','2020-03-11 02:37:00'),(9711,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011706352233887','2020-03-11 02:37:00'),(9712,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030019283294678','2020-03-11 02:37:00'),(9713,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011510848999023','2020-03-11 02:37:00'),(9714,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0028841495513916','2020-03-11 02:37:00'),(9715,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010409355163574','2020-03-11 02:37:00'),(9716,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029029846191406','2020-03-11 02:37:00'),(9717,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0010859966278076','2020-03-11 02:37:00'),(9718,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.5880241394043','2020-03-11 02:37:13'),(9719,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.019304990768433','2020-03-11 02:37:13'),(9720,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.015107870101929','2020-03-11 02:37:13'),(9721,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.085048913955688','2020-03-11 02:37:13'),(9722,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.183837890625','2020-03-11 02:37:13'),(9723,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.020467042922974','2020-03-11 02:37:13'),(9724,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.0053780078887939','2020-03-11 02:37:13'),(9725,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030930042266846','2020-03-11 02:37:13'),(9726,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.039039134979248','2020-03-11 02:37:13'),(9727,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'IT\'','http://salihin.noip.me/mgs/dashboard','0.038574934005737','2020-03-11 02:37:13'),(9728,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0069589614868164','2020-03-11 02:37:13'),(9729,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0013880729675293','2020-03-11 02:37:13'),(9730,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0066750049591064','2020-03-11 02:37:13'),(9731,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0013689994812012','2020-03-11 02:37:13'),(9732,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.063003063201904','2020-03-11 02:37:13'),(9733,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.0278639793396','2020-03-11 02:37:13'),(9734,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.061088800430298','2020-03-11 02:37:13'),(9735,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) 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` = 1))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 1)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.022048950195312','2020-03-11 02:37:13'),(9736,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'304\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0013859272003174','2020-03-11 02:37:13'),(9737,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'304\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0014309883117676','2020-03-11 02:37:13'),(9738,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00060915946960449','2020-03-11 02:37:13'),(9739,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'304\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.010648965835571','2020-03-11 02:37:13'),(9740,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00066089630126953','2020-03-11 02:37:13'),(9741,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00031518936157227','2020-03-11 02:37:13'),(9742,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015902519226074','2020-03-11 02:37:13'),(9743,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015687942504883','2020-03-11 02:37:13'),(9744,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013899803161621','2020-03-11 02:37:13'),(9745,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00013303756713867','2020-03-11 02:37:13'),(9746,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00012302398681641','2020-03-11 02:37:13'),(9747,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001218318939209','2020-03-11 02:37:13'),(9748,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015091896057129','2020-03-11 02:37:13'),(9749,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014805793762207','2020-03-11 02:37:13'),(9750,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011801719665527','2020-03-11 02:37:13'),(9751,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001227855682373','2020-03-11 02:37:13'),(9752,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00011897087097168','2020-03-11 02:37:13'),(9753,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029981136322021','2020-03-11 02:37:13'),(9754,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011379718780518','2020-03-11 02:37:13'),(9755,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0029311180114746','2020-03-11 02:37:13'),(9756,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011310577392578','2020-03-11 02:37:13'),(9757,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0030200481414795','2020-03-11 02:37:13'),(9758,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0011398792266846','2020-03-11 02:37:13'),(9759,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 24','http://salihin.noip.me/mgs/login/setSession','0.13391184806824','2020-03-11 03:08:00'),(9760,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00040006637573242','2020-03-11 03:08:11'),(9761,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.61342811584473','2020-03-11 03:08:11'),(9762,24,'Nor Azlinda Binti Shahrul Zaman','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00069212913513184','2020-03-11 03:08:11');
