INSERT INTO `_log__query` VALUES (19990,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'330\'','http://salihin.noip.me/mgs/projects/job/330/8','0.00079989433288574','2020-03-11 11:01:10'),(19991,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'330\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/330/8','0.12915802001953','2020-03-11 11:01:10'),(19992,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'330\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/330/8','0.00052189826965332','2020-03-11 11:01:10'),(19993,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'331\'','http://salihin.noip.me/mgs/projects/job/330/8','0.00061202049255371','2020-03-11 11:01:10'),(19994,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'331\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/330/8','0.19000697135925','2020-03-11 11:01:10'),(19995,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'331\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/330/8','0.00084209442138672','2020-03-11 11:01:10'),(19996,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'103\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/330/8','0.015768051147461','2020-03-11 11:01:10'),(19997,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/330/8','0.00088095664978027','2020-03-11 11:01:10'),(19998,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00029611587524414','2020-03-11 11:01:10'),(19999,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00030708312988281','2020-03-11 11:01:10'),(20000,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00027298927307129','2020-03-11 11:01:10'),(20001,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00028800964355469','2020-03-11 11:01:10'),(20002,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00027298927307129','2020-03-11 11:01:10'),(20003,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00024700164794922','2020-03-11 11:01:10'),(20004,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00035786628723145','2020-03-11 11:01:10'),(20005,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00024509429931641','2020-03-11 11:01:10'),(20006,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00022697448730469','2020-03-11 11:01:10'),(20007,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00032496452331543','2020-03-11 11:01:10'),(20008,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00032591819763184','2020-03-11 11:01:10'),(20009,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/330/8','0.00027799606323242','2020-03-11 11:01:10'),(20010,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/330/8','0.0042369365692139','2020-03-11 11:01:10'),(20011,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/330/8','0.0010790824890137','2020-03-11 11:01:10'),(20012,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/330/8','0.0052821636199951','2020-03-11 11:01:10'),(20013,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/330/8','0.001223087310791','2020-03-11 11:01:10'),(20014,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/330/8','0.0051918029785156','2020-03-11 11:01:10'),(20015,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/330/8','0.0012400150299072','2020-03-11 11:01:10'),(20016,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/330/8','0.00075387954711914','2020-03-11 11:01:10'),(20017,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/228/8','0.00058293342590332','2020-03-11 11:01:30'),(20018,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.00077986717224121','2020-03-11 11:01:30'),(20019,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/228/8','0.00063204765319824','2020-03-11 11:01:30'),(20020,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/228/8','0.00052499771118164','2020-03-11 11:01:30'),(20021,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/228/8','0.00097393989562988','2020-03-11 11:01:31'),(20022,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.00080490112304688','2020-03-11 11:01:31'),(20023,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/228/8','0.00042390823364258','2020-03-11 11:01:31'),(20024,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/228/8','0.18688893318176','2020-03-11 11:01:31'),(20025,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'228\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/228/8','0.00069499015808105','2020-03-11 11:01:31'),(20026,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'228\'','http://salihin.noip.me/mgs/projects/job/228/8','0.00081205368041992','2020-03-11 11:01:31'),(20027,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.15387201309204','2020-03-11 11:01:31'),(20028,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.00063681602478027','2020-03-11 11:01:31'),(20029,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(228,jobID)','http://salihin.noip.me/mgs/projects/job/228/8','0.26950001716614','2020-03-11 11:01:31'),(20030,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'228\'','http://salihin.noip.me/mgs/projects/job/228/8','0.001093864440918','2020-03-11 11:01:31'),(20031,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.17398905754089','2020-03-11 11:01:31'),(20032,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.00078988075256348','2020-03-11 11:01:31'),(20033,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(228,jobID)','http://salihin.noip.me/mgs/projects/job/228/8','0.17372608184814','2020-03-11 11:01:31'),(20034,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'228\'','http://salihin.noip.me/mgs/projects/job/228/8','0.0007178783416748','2020-03-11 11:01:31'),(20035,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.17683696746826','2020-03-11 11:01:31'),(20036,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'228\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/228/8','0.00076103210449219','2020-03-11 11:01:31'),(20037,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'103\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/228/8','0.017060995101929','2020-03-11 11:01:31'),(20038,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/228/8','0.00068116188049316','2020-03-11 11:01:31'),(20039,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00037503242492676','2020-03-11 11:01:31'),(20040,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036191940307617','2020-03-11 11:01:31'),(20041,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.0003669261932373','2020-03-11 11:01:31'),(20042,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036191940307617','2020-03-11 11:01:31'),(20043,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.0003669261932373','2020-03-11 11:01:31'),(20044,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036191940307617','2020-03-11 11:01:31'),(20045,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036096572875977','2020-03-11 11:01:31'),(20046,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036191940307617','2020-03-11 11:01:31'),(20047,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036215782165527','2020-03-11 11:01:31'),(20048,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.0003659725189209','2020-03-11 11:01:31'),(20049,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00036096572875977','2020-03-11 11:01:31'),(20050,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/228/8','0.00037097930908203','2020-03-11 11:01:31'),(20051,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0053708553314209','2020-03-11 11:01:31'),(20052,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0014278888702393','2020-03-11 11:01:31'),(20053,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0053949356079102','2020-03-11 11:01:31'),(20054,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0016839504241943','2020-03-11 11:01:31'),(20055,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0054600238800049','2020-03-11 11:01:31'),(20056,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0015439987182617','2020-03-11 11:01:31'),(20057,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/228/8','0.0011651515960693','2020-03-11 11:01:31'),(20058,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/310/8','0.00047802925109863','2020-03-11 11:01:41'),(20059,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.0006561279296875','2020-03-11 11:01:41'),(20060,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/310/8','0.00057005882263184','2020-03-11 11:01:41'),(20061,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/310/8','0.00054001808166504','2020-03-11 11:01:41'),(20062,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/310/8','0.00095582008361816','2020-03-11 11:01:41'),(20063,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.00075984001159668','2020-03-11 11:01:41'),(20064,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/310/8','0.00045299530029297','2020-03-11 11:01:41'),(20065,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/310/8','0.17451095581055','2020-03-11 11:01:41'),(20066,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'310\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/310/8','0.0007319450378418','2020-03-11 11:01:41'),(20067,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'310\'','http://salihin.noip.me/mgs/projects/job/310/8','0.00094103813171387','2020-03-11 11:01:41'),(20068,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.13035988807678','2020-03-11 11:01:41'),(20069,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.00051689147949219','2020-03-11 11:01:41'),(20070,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(310,jobID)','http://salihin.noip.me/mgs/projects/job/310/8','0.1445369720459','2020-03-11 11:01:41'),(20071,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'310\'','http://salihin.noip.me/mgs/projects/job/310/8','0.00062799453735352','2020-03-11 11:01:41'),(20072,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.10315299034119','2020-03-11 11:01:41'),(20073,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.00044608116149902','2020-03-11 11:01:41'),(20074,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(310,jobID)','http://salihin.noip.me/mgs/projects/job/310/8','0.12098002433777','2020-03-11 11:01:41'),(20075,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'310\'','http://salihin.noip.me/mgs/projects/job/310/8','0.0006401538848877','2020-03-11 11:01:41'),(20076,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.10500407218933','2020-03-11 11:01:41'),(20077,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'310\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/310/8','0.00049090385437012','2020-03-11 11:01:41'),(20078,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'103\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/310/8','0.01137900352478','2020-03-11 11:01:41'),(20079,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/310/8','0.00047016143798828','2020-03-11 11:01:41'),(20080,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00023794174194336','2020-03-11 11:01:41'),(20081,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00022292137145996','2020-03-11 11:01:41'),(20082,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021600723266602','2020-03-11 11:01:41'),(20083,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00022196769714355','2020-03-11 11:01:41'),(20084,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021600723266602','2020-03-11 11:01:41'),(20085,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021910667419434','2020-03-11 11:01:41'),(20086,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021600723266602','2020-03-11 11:01:41'),(20087,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021505355834961','2020-03-11 11:01:41'),(20088,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021886825561523','2020-03-11 11:01:41'),(20089,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00021505355834961','2020-03-11 11:01:41'),(20090,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.0002140998840332','2020-03-11 11:01:41'),(20091,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/310/8','0.00022101402282715','2020-03-11 11:01:41'),(20092,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/310/8','0.0030279159545898','2020-03-11 11:01:41'),(20093,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/310/8','0.00079107284545898','2020-03-11 11:01:41'),(20094,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/310/8','0.0030210018157959','2020-03-11 11:01:41'),(20095,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/310/8','0.00079607963562012','2020-03-11 11:01:41'),(20096,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/310/8','0.0029478073120117','2020-03-11 11:01:41'),(20097,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/310/8','0.00075197219848633','2020-03-11 11:01:41'),(20098,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/310/8','0.00047802925109863','2020-03-11 11:01:41'),(20099,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'103\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0068728923797607','2020-03-11 11:01:47'),(20100,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'103\'\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.0038080215454102','2020-03-11 11:01:47'),(20101,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'103\'\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.0046489238739014','2020-03-11 11:01:47'),(20102,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'103\'\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.0037050247192383','2020-03-11 11:01:47'),(20103,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'103\'\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.0036189556121826','2020-03-11 11:01:48'),(20104,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'103\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00086092948913574','2020-03-11 11:01:48'),(20105,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'103\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019315958023071','2020-03-11 11:01:48'),(20106,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00075483322143555','2020-03-11 11:01:48'),(20107,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-11 11:01:48'),(20108,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-11 11:01:48'),(20109,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003960132598877','2020-03-11 11:01:48'),(20110,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039792060852051','2020-03-11 11:01:48'),(20111,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039887428283691','2020-03-11 11:01:48'),(20112,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039100646972656','2020-03-11 11:01:48'),(20113,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003960132598877','2020-03-11 11:01:48'),(20114,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003972053527832','2020-03-11 11:01:48'),(20115,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039505958557129','2020-03-11 11:01:48'),(20116,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003960132598877','2020-03-11 11:01:48'),(20117,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-11 11:01:48'),(20118,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003969669342041','2020-03-11 11:01:48'),(20119,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0051970481872559','2020-03-11 11:01:48'),(20120,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0014119148254395','2020-03-11 11:01:48'),(20121,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0050599575042725','2020-03-11 11:01:48'),(20122,103,'Wan Nur Hazwani Chik Binti Wan Ismail','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013329982757568','2020-03-11 11:01:48'),(20123,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 175','http://salihin.noip.me/mgs/login/setSession','0.00037479400634766','2020-03-11 14:30:14'),(20124,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0006401538848877','2020-03-11 14:30:23'),(20125,175,'Amir Zul Hanif Bin Rahmat','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.021613121032715','2020-03-11 14:30:23'),(20126,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010509490966797','2020-03-11 14:30:23'),(20127,175,'Amir Zul Hanif Bin Rahmat','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.016963005065918','2020-03-11 14:30:23'),(20128,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00073909759521484','2020-03-11 14:30:23'),(20129,175,'Amir Zul Hanif Bin Rahmat','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.011353015899658','2020-03-11 14:30:23'),(20130,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00066781044006348','2020-03-11 14:30:23'),(20131,175,'Amir Zul Hanif Bin Rahmat','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.0079391002655029','2020-03-11 14:30:23'),(20132,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00056195259094238','2020-03-11 14:30:23'),(20133,175,'Amir Zul Hanif Bin Rahmat','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.010699987411499','2020-03-11 14:30:23'),(20134,175,'Amir Zul Hanif Bin Rahmat','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.039831161499023','2020-03-11 14:30:23'),(20135,175,'Amir Zul Hanif Bin Rahmat','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.0096769332885742','2020-03-11 14:30:23'),(20136,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0060560703277588','2020-03-11 14:30:23'),(20137,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.076028108596802','2020-03-11 14:30:23'),(20138,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.07166314125061','2020-03-11 14:30:23'),(20139,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014200210571289','2020-03-11 14:30:23'),(20140,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0025558471679688','2020-03-11 14:30:23'),(20141,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.014070987701416','2020-03-11 14:30:23'),(20142,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0025560855865479','2020-03-11 14:30:23'),(20143,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.7856059074402','2020-03-11 14:30:23'),(20144,175,'Amir Zul Hanif Bin Rahmat','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.3434109687805','2020-03-11 14:30:23'),(20145,175,'Amir Zul Hanif Bin Rahmat','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.5840740203857','2020-03-11 14:30:23'),(20146,175,'Amir Zul Hanif Bin Rahmat','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.97872805595398','2020-03-11 14:30:23'),(20147,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0087289810180664','2020-03-11 14:30:23'),(20148,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.0085458755493164','2020-03-11 14:30:23'),(20149,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00040912628173828','2020-03-11 14:30:24'),(20150,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01959490776062','2020-03-11 14:30:24'),(20151,175,'Amir Zul Hanif Bin Rahmat','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.00075483322143555','2020-03-11 14:30:24'),(20152,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00043392181396484','2020-03-11 14:30:24'),(20153,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034880638122559','2020-03-11 14:30:24'),(20154,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034117698669434','2020-03-11 14:30:24'),(20155,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00033283233642578','2020-03-11 14:30:24'),(20156,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0003349781036377','2020-03-11 14:30:24'),(20157,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00034499168395996','2020-03-11 14:30:24'),(20158,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032496452331543','2020-03-11 14:30:24'),(20159,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032687187194824','2020-03-11 14:30:24'),(20160,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00032901763916016','2020-03-11 14:30:24'),(20161,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00028204917907715','2020-03-11 14:30:24'),(20162,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026798248291016','2020-03-11 14:30:24'),(20163,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026798248291016','2020-03-11 14:30:24'),(20164,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0044851303100586','2020-03-11 14:30:24'),(20165,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00095796585083008','2020-03-11 14:30:24'),(20166,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0038318634033203','2020-03-11 14:30:24'),(20167,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00094008445739746','2020-03-11 14:30:24'),(20168,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0040910243988037','2020-03-11 14:30:24'),(20169,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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 14:30:24'),(20170,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0043399333953857','2020-03-11 14:39:27'),(20171,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.004371166229248','2020-03-11 14:39:27'),(20172,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0044400691986084','2020-03-11 14:39:28'),(20173,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.006080150604248','2020-03-11 14:39:28'),(20174,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0053439140319824','2020-03-11 14:39:28'),(20175,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0013339519500732','2020-03-11 14:39:28'),(20176,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019231081008911','2020-03-11 14:39:28'),(20177,175,'Amir Zul Hanif Bin Rahmat','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.00077605247497559','2020-03-11 14:39:28'),(20178,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041508674621582','2020-03-11 14:39:28'),(20179,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041007995605469','2020-03-11 14:39:28'),(20180,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-11 14:39:28'),(20181,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040483474731445','2020-03-11 14:39:28'),(20182,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-11 14:39:28'),(20183,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040578842163086','2020-03-11 14:39:28'),(20184,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040793418884277','2020-03-11 14:39:28'),(20185,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-11 14:39:28'),(20186,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041294097900391','2020-03-11 14:39:28'),(20187,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040888786315918','2020-03-11 14:39:28'),(20188,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-11 14:39:28'),(20189,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040316581726074','2020-03-11 14:39:28'),(20190,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054428577423096','2020-03-11 14:39:28'),(20191,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013318061828613','2020-03-11 14:39:28'),(20192,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053329467773438','2020-03-11 14:39:28'),(20193,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011138916015625','2020-03-11 14:39:28'),(20194,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00054192543029785','2020-03-11 14:39:40'),(20195,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00077104568481445','2020-03-11 14:39:40'),(20196,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1037/8','0.00069403648376465','2020-03-11 14:39:40'),(20197,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00062417984008789','2020-03-11 14:39:40'),(20198,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0010819435119629','2020-03-11 14:39:40'),(20199,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00085210800170898','2020-03-11 14:39:40'),(20200,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00049710273742676','2020-03-11 14:39:40'),(20201,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.19288086891174','2020-03-11 14:39:41'),(20202,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1037\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1037/8','0.00093698501586914','2020-03-11 14:39:41'),(20203,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1037\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00089311599731445','2020-03-11 14:39:41'),(20204,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.16005301475525','2020-03-11 14:39:41'),(20205,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00059008598327637','2020-03-11 14:39:41'),(20206,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1037,jobID)','http://salihin.noip.me/mgs/projects/job/1037/8','0.16481709480286','2020-03-11 14:39:41'),(20207,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1037\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00061202049255371','2020-03-11 14:39:41'),(20208,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.11284995079041','2020-03-11 14:39:41'),(20209,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00041079521179199','2020-03-11 14:39:41'),(20210,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1038\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00050806999206543','2020-03-11 14:39:41'),(20211,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.10443902015686','2020-03-11 14:39:41'),(20212,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00044703483581543','2020-03-11 14:39:41'),(20213,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1037,jobID)','http://salihin.noip.me/mgs/projects/job/1037/8','0.24648213386536','2020-03-11 14:39:41'),(20214,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1037\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.0010747909545898','2020-03-11 14:39:41'),(20215,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.19386076927185','2020-03-11 14:39:41'),(20216,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.0007321834564209','2020-03-11 14:39:41'),(20217,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1038\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00087285041809082','2020-03-11 14:39:41'),(20218,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.19420194625854','2020-03-11 14:39:41'),(20219,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00084400177001953','2020-03-11 14:39:41'),(20220,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1037/8','0.019020080566406','2020-03-11 14:39:41'),(20221,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00072598457336426','2020-03-11 14:39:41'),(20222,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00041294097900391','2020-03-11 14:39:41'),(20223,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00039815902709961','2020-03-11 14:39:41'),(20224,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00039982795715332','2020-03-11 14:39:41'),(20225,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00040221214294434','2020-03-11 14:39:41'),(20226,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0003969669342041','2020-03-11 14:39:41'),(20227,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00040316581726074','2020-03-11 14:39:41'),(20228,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00039911270141602','2020-03-11 14:39:41'),(20229,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00040602684020996','2020-03-11 14:39:41'),(20230,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00039005279541016','2020-03-11 14:39:41'),(20231,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00038695335388184','2020-03-11 14:39:41'),(20232,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00040006637573242','2020-03-11 14:39:41'),(20233,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00039887428283691','2020-03-11 14:39:41'),(20234,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0053849220275879','2020-03-11 14:39:41'),(20235,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.0013978481292725','2020-03-11 14:39:41'),(20236,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0052659511566162','2020-03-11 14:39:41'),(20237,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.001262903213501','2020-03-11 14:39:41'),(20238,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0052120685577393','2020-03-11 14:39:41'),(20239,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.0012481212615967','2020-03-11 14:39:41'),(20240,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.00081491470336914','2020-03-11 14:39:41'),(20241,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.0005488395690918','2020-03-11 14:39:56'),(20242,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00076603889465332','2020-03-11 14:39:56'),(20243,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1037/8','0.00069379806518555','2020-03-11 14:39:56'),(20244,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00059700012207031','2020-03-11 14:39:56'),(20245,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0010719299316406','2020-03-11 14:39:56'),(20246,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00085115432739258','2020-03-11 14:39:56'),(20247,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00050091743469238','2020-03-11 14:39:56'),(20248,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.1949291229248','2020-03-11 14:39:56'),(20249,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1037\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1037/8','0.0012350082397461','2020-03-11 14:39:56'),(20250,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1037\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00094485282897949','2020-03-11 14:39:56'),(20251,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.16446805000305','2020-03-11 14:39:56'),(20252,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.0005950927734375','2020-03-11 14:39:56'),(20253,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1037,jobID)','http://salihin.noip.me/mgs/projects/job/1037/8','0.16902613639832','2020-03-11 14:39:56'),(20254,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1037\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00077414512634277','2020-03-11 14:39:56'),(20255,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.13503813743591','2020-03-11 14:39:56'),(20256,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00091910362243652','2020-03-11 14:39:56'),(20257,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1038\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.0027968883514404','2020-03-11 14:39:56'),(20258,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.19615888595581','2020-03-11 14:39:57'),(20259,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00084686279296875','2020-03-11 14:39:57'),(20260,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1037,jobID)','http://salihin.noip.me/mgs/projects/job/1037/8','0.24072217941284','2020-03-11 14:39:57'),(20261,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1037\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00094890594482422','2020-03-11 14:39:57'),(20262,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.16297101974487','2020-03-11 14:39:57'),(20263,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1037\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00059700012207031','2020-03-11 14:39:57'),(20264,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1038\'','http://salihin.noip.me/mgs/projects/job/1037/8','0.00070810317993164','2020-03-11 14:39:57'),(20265,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.12646102905273','2020-03-11 14:39:57'),(20266,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1038\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1037/8','0.00044798851013184','2020-03-11 14:39:57'),(20267,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1037/8','0.011296033859253','2020-03-11 14:39:57'),(20268,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00041818618774414','2020-03-11 14:39:57'),(20269,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00021195411682129','2020-03-11 14:39:57'),(20270,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00020194053649902','2020-03-11 14:39:57'),(20271,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019693374633789','2020-03-11 14:39:57'),(20272,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0001978874206543','2020-03-11 14:39:57'),(20273,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019598007202148','2020-03-11 14:39:57'),(20274,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0001990795135498','2020-03-11 14:39:57'),(20275,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019502639770508','2020-03-11 14:39:57'),(20276,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019383430480957','2020-03-11 14:39:57'),(20277,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0001978874206543','2020-03-11 14:39:57'),(20278,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019407272338867','2020-03-11 14:39:57'),(20279,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019598007202148','2020-03-11 14:39:57'),(20280,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1037/8','0.00019502639770508','2020-03-11 14:39:57'),(20281,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0031349658966064','2020-03-11 14:39:57'),(20282,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.00082015991210938','2020-03-11 14:39:57'),(20283,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0051729679107666','2020-03-11 14:39:57'),(20284,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.0012099742889404','2020-03-11 14:39:57'),(20285,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1037/8','0.0051310062408447','2020-03-11 14:39:57'),(20286,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.0017638206481934','2020-03-11 14:39:57'),(20287,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1037/8','0.00098514556884766','2020-03-11 14:39:57'),(20288,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0050148963928223','2020-03-11 14:40:05'),(20289,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0046308040618896','2020-03-11 14:40:05'),(20290,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0052599906921387','2020-03-11 14:40:05'),(20291,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0040159225463867','2020-03-11 14:40:05'),(20292,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0062241554260254','2020-03-11 14:40:05'),(20293,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0010459423065186','2020-03-11 14:40:05'),(20294,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019461870193481','2020-03-11 14:40:05'),(20295,175,'Amir Zul Hanif Bin Rahmat','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.00084018707275391','2020-03-11 14:40:05'),(20296,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041007995605469','2020-03-11 14:40:05'),(20297,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032901763916016','2020-03-11 14:40:05'),(20298,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029921531677246','2020-03-11 14:40:05'),(20299,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00038695335388184','2020-03-11 14:40:05'),(20300,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034093856811523','2020-03-11 14:40:05'),(20301,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00030207633972168','2020-03-11 14:40:05'),(20302,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032687187194824','2020-03-11 14:40:05'),(20303,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004279613494873','2020-03-11 14:40:05'),(20304,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-11 14:40:05'),(20305,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032806396484375','2020-03-11 14:40:05'),(20306,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00030016899108887','2020-03-11 14:40:05'),(20307,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00032305717468262','2020-03-11 14:40:05'),(20308,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053980350494385','2020-03-11 14:40:05'),(20309,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014100074768066','2020-03-11 14:40:05'),(20310,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053210258483887','2020-03-11 14:40:05'),(20311,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013020038604736','2020-03-11 14:40:05'),(20312,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00054597854614258','2020-03-11 14:40:10'),(20313,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00076508522033691','2020-03-11 14:40:10'),(20314,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1039/8','0.00069499015808105','2020-03-11 14:40:11'),(20315,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00059413909912109','2020-03-11 14:40:11'),(20316,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0010669231414795','2020-03-11 14:40:11'),(20317,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00084710121154785','2020-03-11 14:40:11'),(20318,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.0005028247833252','2020-03-11 14:40:11'),(20319,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.19491314888','2020-03-11 14:40:11'),(20320,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1039\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1039/8','0.00077700614929199','2020-03-11 14:40:11'),(20321,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1039\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00087380409240723','2020-03-11 14:40:11'),(20322,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.16307187080383','2020-03-11 14:40:11'),(20323,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00055813789367676','2020-03-11 14:40:11'),(20324,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1039,jobID)','http://salihin.noip.me/mgs/projects/job/1039/8','0.25358605384827','2020-03-11 14:40:11'),(20325,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1039\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.0011041164398193','2020-03-11 14:40:11'),(20326,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.18468499183655','2020-03-11 14:40:11'),(20327,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00068879127502441','2020-03-11 14:40:11'),(20328,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1040\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00084996223449707','2020-03-11 14:40:11'),(20329,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.14890289306641','2020-03-11 14:40:11'),(20330,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00052905082702637','2020-03-11 14:40:11'),(20331,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1039,jobID)','http://salihin.noip.me/mgs/projects/job/1039/8','0.17409300804138','2020-03-11 14:40:11'),(20332,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1039\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00076007843017578','2020-03-11 14:40:11'),(20333,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.19534206390381','2020-03-11 14:40:11'),(20334,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00074887275695801','2020-03-11 14:40:11'),(20335,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1040\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00092697143554688','2020-03-11 14:40:11'),(20336,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.17159509658813','2020-03-11 14:40:11'),(20337,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00085902214050293','2020-03-11 14:40:11'),(20338,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1039/8','0.015611171722412','2020-03-11 14:40:11'),(20339,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00058197975158691','2020-03-11 14:40:11'),(20340,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0002899169921875','2020-03-11 14:40:11'),(20341,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00027108192443848','2020-03-11 14:40:11'),(20342,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00026392936706543','2020-03-11 14:40:11'),(20343,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00034785270690918','2020-03-11 14:40:11'),(20344,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00026106834411621','2020-03-11 14:40:11'),(20345,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0002589225769043','2020-03-11 14:40:11'),(20346,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00026178359985352','2020-03-11 14:40:11'),(20347,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00025606155395508','2020-03-11 14:40:11'),(20348,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0002589225769043','2020-03-11 14:40:11'),(20349,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00026202201843262','2020-03-11 14:40:11'),(20350,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00025582313537598','2020-03-11 14:40:11'),(20351,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00025701522827148','2020-03-11 14:40:11'),(20352,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0045750141143799','2020-03-11 14:40:11'),(20353,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.0044260025024414','2020-03-11 14:40:11'),(20354,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0055019855499268','2020-03-11 14:40:11'),(20355,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.0015430450439453','2020-03-11 14:40:11'),(20356,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0052750110626221','2020-03-11 14:40:11'),(20357,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.001305103302002','2020-03-11 14:40:11'),(20358,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.00074601173400879','2020-03-11 14:40:12'),(20359,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00054597854614258','2020-03-11 14:40:21'),(20360,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00076603889465332','2020-03-11 14:40:22'),(20361,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1039/8','0.00069785118103027','2020-03-11 14:40:22'),(20362,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0005958080291748','2020-03-11 14:40:22'),(20363,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0010700225830078','2020-03-11 14:40:22'),(20364,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00085306167602539','2020-03-11 14:40:22'),(20365,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00049781799316406','2020-03-11 14:40:22'),(20366,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.19736909866333','2020-03-11 14:40:22'),(20367,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1039\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1039/8','0.00081014633178711','2020-03-11 14:40:22'),(20368,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1039\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00092506408691406','2020-03-11 14:40:22'),(20369,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.16386699676514','2020-03-11 14:40:22'),(20370,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00083398818969727','2020-03-11 14:40:22'),(20371,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1039,jobID)','http://salihin.noip.me/mgs/projects/job/1039/8','0.25656199455261','2020-03-11 14:40:22'),(20372,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1039\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00097107887268066','2020-03-11 14:40:22'),(20373,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.16105818748474','2020-03-11 14:40:22'),(20374,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00052905082702637','2020-03-11 14:40:22'),(20375,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1040\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00066804885864258','2020-03-11 14:40:22'),(20376,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.13389205932617','2020-03-11 14:40:22'),(20377,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00046992301940918','2020-03-11 14:40:22'),(20378,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1039,jobID)','http://salihin.noip.me/mgs/projects/job/1039/8','0.16082215309143','2020-03-11 14:40:22'),(20379,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1039\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00062084197998047','2020-03-11 14:40:22'),(20380,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.10389494895935','2020-03-11 14:40:22'),(20381,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1039\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00039792060852051','2020-03-11 14:40:22'),(20382,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1040\'','http://salihin.noip.me/mgs/projects/job/1039/8','0.00049114227294922','2020-03-11 14:40:22'),(20383,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.092805147171021','2020-03-11 14:40:22'),(20384,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1040\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1039/8','0.00033998489379883','2020-03-11 14:40:22'),(20385,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1039/8','0.0088369846343994','2020-03-11 14:40:22'),(20386,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00033807754516602','2020-03-11 14:40:22'),(20387,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00016903877258301','2020-03-11 14:40:22'),(20388,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00016093254089355','2020-03-11 14:40:22'),(20389,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015687942504883','2020-03-11 14:40:22'),(20390,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015592575073242','2020-03-11 14:40:22'),(20391,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015902519226074','2020-03-11 14:40:22'),(20392,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015592575073242','2020-03-11 14:40:22'),(20393,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015711784362793','2020-03-11 14:40:22'),(20394,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015902519226074','2020-03-11 14:40:22'),(20395,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015592575073242','2020-03-11 14:40:22'),(20396,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015497207641602','2020-03-11 14:40:22'),(20397,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00015902519226074','2020-03-11 14:40:22'),(20398,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1039/8','0.00013303756713867','2020-03-11 14:40:22'),(20399,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0024631023406982','2020-03-11 14:40:22'),(20400,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.00063395500183105','2020-03-11 14:40:22'),(20401,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0055510997772217','2020-03-11 14:40:22'),(20402,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.0014550685882568','2020-03-11 14:40:22'),(20403,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1039/8','0.0052859783172607','2020-03-11 14:40:22'),(20404,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.001317024230957','2020-03-11 14:40:22'),(20405,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1039/8','0.00097894668579102','2020-03-11 14:40:23'),(20406,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0005488395690918','2020-03-11 14:40:31'),(20407,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.000762939453125','2020-03-11 14:40:31'),(20408,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1051/8','0.00069093704223633','2020-03-11 14:40:31'),(20409,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00059318542480469','2020-03-11 14:40:31'),(20410,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0010628700256348','2020-03-11 14:40:31'),(20411,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00084710121154785','2020-03-11 14:40:31'),(20412,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0005030632019043','2020-03-11 14:40:31'),(20413,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.19786095619202','2020-03-11 14:40:31'),(20414,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1051\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1051/8','0.00076484680175781','2020-03-11 14:40:31'),(20415,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1051\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00093913078308105','2020-03-11 14:40:31'),(20416,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.16312193870544','2020-03-11 14:40:31'),(20417,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00054502487182617','2020-03-11 14:40:31'),(20418,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1051,jobID)','http://salihin.noip.me/mgs/projects/job/1051/8','0.20128989219666','2020-03-11 14:40:31'),(20419,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1051\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0010130405426025','2020-03-11 14:40:31'),(20420,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.20732808113098','2020-03-11 14:40:31'),(20421,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.0008399486541748','2020-03-11 14:40:31'),(20422,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1052\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0010120868682861','2020-03-11 14:40:31'),(20423,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.19518089294434','2020-03-11 14:40:31'),(20424,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00077700614929199','2020-03-11 14:40:31'),(20425,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1051,jobID)','http://salihin.noip.me/mgs/projects/job/1051/8','0.30881500244141','2020-03-11 14:40:31'),(20426,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1051\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0010690689086914','2020-03-11 14:40:31'),(20427,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.17585301399231','2020-03-11 14:40:31'),(20428,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00063109397888184','2020-03-11 14:40:31'),(20429,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1052\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00081586837768555','2020-03-11 14:40:31'),(20430,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.19439601898193','2020-03-11 14:40:31'),(20431,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00091290473937988','2020-03-11 14:40:31'),(20432,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1051/8','0.019512891769409','2020-03-11 14:40:31'),(20433,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00078797340393066','2020-03-11 14:40:31'),(20434,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00041389465332031','2020-03-11 14:40:31'),(20435,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00032997131347656','2020-03-11 14:40:31'),(20436,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00035977363586426','2020-03-11 14:40:31'),(20437,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00035214424133301','2020-03-11 14:40:31'),(20438,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00035500526428223','2020-03-11 14:40:31'),(20439,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00033020973205566','2020-03-11 14:40:31'),(20440,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00030112266540527','2020-03-11 14:40:31'),(20441,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00034809112548828','2020-03-11 14:40:31'),(20442,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00039792060852051','2020-03-11 14:40:32'),(20443,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00039982795715332','2020-03-11 14:40:32'),(20444,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00040698051452637','2020-03-11 14:40:32'),(20445,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00040292739868164','2020-03-11 14:40:32'),(20446,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0052750110626221','2020-03-11 14:40:32'),(20447,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.0013518333435059','2020-03-11 14:40:32'),(20448,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0051932334899902','2020-03-11 14:40:32'),(20449,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.0012509822845459','2020-03-11 14:40:32'),(20450,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.005119800567627','2020-03-11 14:40:32'),(20451,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.0012438297271729','2020-03-11 14:40:32'),(20452,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.00072503089904785','2020-03-11 14:40:32'),(20453,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00055193901062012','2020-03-11 14:40:37'),(20454,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00076198577880859','2020-03-11 14:40:37'),(20455,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1051/8','0.00069189071655273','2020-03-11 14:40:37'),(20456,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00059199333190918','2020-03-11 14:40:37'),(20457,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0010740756988525','2020-03-11 14:40:37'),(20458,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00097012519836426','2020-03-11 14:40:37'),(20459,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00049710273742676','2020-03-11 14:40:37'),(20460,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.18622994422913','2020-03-11 14:40:38'),(20461,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1051\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1051/8','0.00069308280944824','2020-03-11 14:40:38'),(20462,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1051\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00079107284545898','2020-03-11 14:40:38'),(20463,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.14923310279846','2020-03-11 14:40:38'),(20464,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00053215026855469','2020-03-11 14:40:38'),(20465,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1051,jobID)','http://salihin.noip.me/mgs/projects/job/1051/8','0.1594979763031','2020-03-11 14:40:38'),(20466,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1051\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00091695785522461','2020-03-11 14:40:38'),(20467,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.16208100318909','2020-03-11 14:40:38'),(20468,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.0008080005645752','2020-03-11 14:40:38'),(20469,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1052\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0009758472442627','2020-03-11 14:40:38'),(20470,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.19689798355103','2020-03-11 14:40:38'),(20471,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00084495544433594','2020-03-11 14:40:38'),(20472,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1051,jobID)','http://salihin.noip.me/mgs/projects/job/1051/8','0.24649310112','2020-03-11 14:40:38'),(20473,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1051\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.0010709762573242','2020-03-11 14:40:38'),(20474,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.19594693183899','2020-03-11 14:40:38'),(20475,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1051\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00078010559082031','2020-03-11 14:40:38'),(20476,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1052\'','http://salihin.noip.me/mgs/projects/job/1051/8','0.00097799301147461','2020-03-11 14:40:38'),(20477,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.18162298202515','2020-03-11 14:40:38'),(20478,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1052\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1051/8','0.00098609924316406','2020-03-11 14:40:38'),(20479,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1051/8','0.015763998031616','2020-03-11 14:40:38'),(20480,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00057888031005859','2020-03-11 14:40:38'),(20481,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00030708312988281','2020-03-11 14:40:38'),(20482,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00027203559875488','2020-03-11 14:40:38'),(20483,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00027298927307129','2020-03-11 14:40:38'),(20484,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026512145996094','2020-03-11 14:40:38'),(20485,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026297569274902','2020-03-11 14:40:38'),(20486,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026822090148926','2020-03-11 14:40:38'),(20487,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026202201843262','2020-03-11 14:40:38'),(20488,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0002598762512207','2020-03-11 14:40:38'),(20489,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026583671569824','2020-03-11 14:40:38'),(20490,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026106834411621','2020-03-11 14:40:38'),(20491,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026178359985352','2020-03-11 14:40:38'),(20492,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1051/8','0.00026512145996094','2020-03-11 14:40:38'),(20493,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0049431324005127','2020-03-11 14:40:38'),(20494,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.0013360977172852','2020-03-11 14:40:38'),(20495,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0052170753479004','2020-03-11 14:40:38'),(20496,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.0012521743774414','2020-03-11 14:40:38'),(20497,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1051/8','0.0051770210266113','2020-03-11 14:40:38'),(20498,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.0012471675872803','2020-03-11 14:40:38'),(20499,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/1051/8','0.00081110000610352','2020-03-11 14:40:38'),(20500,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.00571608543396','2020-03-11 14:41:04'),(20501,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0058670043945312','2020-03-11 14:41:04'),(20502,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0040850639343262','2020-03-11 14:41:04'),(20503,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0056231021881104','2020-03-11 14:41:04'),(20504,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0045628547668457','2020-03-11 14:41:04'),(20505,175,'Amir Zul Hanif Bin Rahmat','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` = \'175\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00096011161804199','2020-03-11 14:41:04'),(20506,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019346952438354','2020-03-11 14:41:04'),(20507,175,'Amir Zul Hanif Bin Rahmat','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.00077390670776367','2020-03-11 14:41:04'),(20508,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00043010711669922','2020-03-11 14:41:04'),(20509,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003809928894043','2020-03-11 14:41:04'),(20510,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036501884460449','2020-03-11 14:41:04'),(20511,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036096572875977','2020-03-11 14:41:04'),(20512,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034904479980469','2020-03-11 14:41:04'),(20513,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-11 14:41:04'),(20514,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034785270690918','2020-03-11 14:41:05'),(20515,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-11 14:41:05'),(20516,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034594535827637','2020-03-11 14:41:05'),(20517,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034499168395996','2020-03-11 14:41:05'),(20518,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034308433532715','2020-03-11 14:41:05'),(20519,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034093856811523','2020-03-11 14:41:05'),(20520,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0053060054779053','2020-03-11 14:41:05'),(20521,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013618469238281','2020-03-11 14:41:05'),(20522,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0052590370178223','2020-03-11 14:41:05'),(20523,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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-11 14:41:05'),(20524,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00054287910461426','2020-03-11 14:41:17'),(20525,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.0007929801940918','2020-03-11 14:41:17'),(20526,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/253/8','0.00068902969360352','2020-03-11 14:41:17'),(20527,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/253/8','0.00057792663574219','2020-03-11 14:41:17'),(20528,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/253/8','0.0010697841644287','2020-03-11 14:41:17'),(20529,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.00085306167602539','2020-03-11 14:41:17'),(20530,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00048184394836426','2020-03-11 14:41:17'),(20531,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/253/8','0.20156693458557','2020-03-11 14:41:17'),(20532,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'253\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/253/8','0.00078296661376953','2020-03-11 14:41:17'),(20533,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'253\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00088310241699219','2020-03-11 14:41:17'),(20534,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.16191411018372','2020-03-11 14:41:17'),(20535,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.00053906440734863','2020-03-11 14:41:17'),(20536,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(253,jobID)','http://salihin.noip.me/mgs/projects/job/253/8','0.16737103462219','2020-03-11 14:41:17'),(20537,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'253\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00069284439086914','2020-03-11 14:41:17'),(20538,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.12686610221863','2020-03-11 14:41:17'),(20539,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.00047612190246582','2020-03-11 14:41:17'),(20540,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'254\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00055694580078125','2020-03-11 14:41:17'),(20541,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'254\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.11738610267639','2020-03-11 14:41:17'),(20542,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'254\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.0004270076751709','2020-03-11 14:41:17'),(20543,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(253,jobID)','http://salihin.noip.me/mgs/projects/job/253/8','0.13579797744751','2020-03-11 14:41:17'),(20544,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'253\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00055098533630371','2020-03-11 14:41:17'),(20545,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.095301151275635','2020-03-11 14:41:17'),(20546,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'253\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.00034594535827637','2020-03-11 14:41:17'),(20547,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'254\'','http://salihin.noip.me/mgs/projects/job/253/8','0.00042891502380371','2020-03-11 14:41:17'),(20548,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'254\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.089057922363281','2020-03-11 14:41:17'),(20549,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'254\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/253/8','0.00033903121948242','2020-03-11 14:41:17'),(20550,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'175\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/253/8','0.0095119476318359','2020-03-11 14:41:17'),(20551,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/253/8','0.0032870769500732','2020-03-11 14:41:17'),(20552,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00089597702026367','2020-03-11 14:41:17'),(20553,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00022196769714355','2020-03-11 14:41:17'),(20554,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00016307830810547','2020-03-11 14:41:17'),(20555,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00014710426330566','2020-03-11 14:41:17'),(20556,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00014114379882812','2020-03-11 14:41:17'),(20557,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00013995170593262','2020-03-11 14:41:17'),(20558,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00016498565673828','2020-03-11 14:41:17'),(20559,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00020194053649902','2020-03-11 14:41:18'),(20560,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00015401840209961','2020-03-11 14:41:18'),(20561,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.0001370906829834','2020-03-11 14:41:18'),(20562,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00012803077697754','2020-03-11 14:41:18'),(20563,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/253/8','0.00012803077697754','2020-03-11 14:41:18'),(20564,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/253/8','0.0028839111328125','2020-03-11 14:41:18'),(20565,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/253/8','0.00084400177001953','2020-03-11 14:41:18'),(20566,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/253/8','0.0025169849395752','2020-03-11 14:41:18'),(20567,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/253/8','0.00090289115905762','2020-03-11 14:41:18'),(20568,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/253/8','0.003242015838623','2020-03-11 14:41:18'),(20569,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/253/8','0.00088310241699219','2020-03-11 14:41:18'),(20570,175,'Amir Zul Hanif Bin Rahmat','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/253/8','0.00046706199645996','2020-03-11 14:41:18'),(20571,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT role FROM user__role WHERE user_ID = 384','http://salihin.noip.me/mgs/login/setSession','0.00044584274291992','2020-03-11 16:12:32'),(20572,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00062298774719238','2020-03-11 16:12:44'),(20573,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_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.022087097167969','2020-03-11 16:12:44'),(20574,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00096678733825684','2020-03-11 16:12:44'),(20575,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_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.015130996704102','2020-03-11 16:12:44'),(20576,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00078201293945312','2020-03-11 16:12:44'),(20577,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_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.010689973831177','2020-03-11 16:12:44'),(20578,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00061202049255371','2020-03-11 16:12:44'),(20579,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_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.0064921379089355','2020-03-11 16:12:44'),(20580,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00048685073852539','2020-03-11 16:12:44'),(20581,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_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.0071098804473877','2020-03-11 16:12:44'),(20582,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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.031702995300293','2020-03-11 16:12:44'),(20583,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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.0077528953552246','2020-03-11 16:12:44'),(20584,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0047869682312012','2020-03-11 16:12:45'),(20585,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078004121780396','2020-03-11 16:12:45'),(20586,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.092353105545044','2020-03-11 16:12:45'),(20587,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012744188308716','2020-03-11 16:12:45'),(20588,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0023119449615479','2020-03-11 16:12:45'),(20589,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.013451099395752','2020-03-11 16:12:45'),(20590,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0026199817657471','2020-03-11 16:12:45'),(20591,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.2852849960327','2020-03-11 16:12:45'),(20592,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.0532460212708','2020-03-11 16:12:45'),(20593,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.6379590034485','2020-03-11 16:12:45'),(20594,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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.5794360637665','2020-03-11 16:12:45'),(20595,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'384\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.018795013427734','2020-03-11 16:12:45'),(20596,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'384\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.018928050994873','2020-03-11 16:12:45'),(20597,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00098896026611328','2020-03-11 16:12:45'),(20598,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.017568111419678','2020-03-11 16:12:45'),(20599,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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.00074601173400879','2020-03-11 16:12:45'),(20600,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042319297790527','2020-03-11 16:12:45'),(20601,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040888786315918','2020-03-11 16:12:45'),(20602,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041007995605469','2020-03-11 16:12:45'),(20603,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 16:12:45'),(20604,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 16:12:45'),(20605,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040817260742188','2020-03-11 16:12:45'),(20606,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 16:12:45'),(20607,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 16:12:45'),(20608,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 16:12:45'),(20609,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040793418884277','2020-03-11 16:12:45'),(20610,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00044012069702148','2020-03-11 16:12:45'),(20611,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040817260742188','2020-03-11 16:12:45'),(20612,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055689811706543','2020-03-11 16:12:45'),(20613,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013899803161621','2020-03-11 16:12:45'),(20614,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053548812866211','2020-03-11 16:12:45'),(20615,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0013399124145508','2020-03-11 16:12:45'),(20616,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055727958679199','2020-03-11 16:12:46'),(20617,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014069080352783','2020-03-11 16:12:46'),(20618,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0056509971618652','2020-03-11 16:12:55'),(20619,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0049209594726562','2020-03-11 16:12:55'),(20620,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0038049221038818','2020-03-11 16:12:55'),(20621,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0049729347229004','2020-03-11 16:12:55'),(20622,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0035760402679443','2020-03-11 16:12:55'),(20623,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00086212158203125','2020-03-11 16:12:55'),(20624,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.017366170883179','2020-03-11 16:12:55'),(20625,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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.00060200691223145','2020-03-11 16:12:55'),(20626,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00031805038452148','2020-03-11 16:12:55'),(20627,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0002591609954834','2020-03-11 16:12:55'),(20628,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00024199485778809','2020-03-11 16:12:55'),(20629,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00025010108947754','2020-03-11 16:12:55'),(20630,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00022292137145996','2020-03-11 16:12:55'),(20631,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00021505355834961','2020-03-11 16:12:55'),(20632,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00022482872009277','2020-03-11 16:12:55'),(20633,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00026202201843262','2020-03-11 16:12:55'),(20634,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00033807754516602','2020-03-11 16:12:55'),(20635,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00026702880859375','2020-03-11 16:12:55'),(20636,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00026917457580566','2020-03-11 16:12:55'),(20637,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0002291202545166','2020-03-11 16:12:55'),(20638,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0044310092926025','2020-03-11 16:12:55'),(20639,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.001121997833252','2020-03-11 16:12:55'),(20640,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0042529106140137','2020-03-11 16:12:56'),(20641,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0010440349578857','2020-03-11 16:12:56'),(20642,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00056314468383789','2020-03-11 16:13:05'),(20643,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00077199935913086','2020-03-11 16:13:05'),(20644,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00069999694824219','2020-03-11 16:13:05'),(20645,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00063490867614746','2020-03-11 16:13:05'),(20646,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0010838508605957','2020-03-11 16:13:05'),(20647,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00087904930114746','2020-03-11 16:13:05'),(20648,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00050687789916992','2020-03-11 16:13:05'),(20649,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.1975519657135','2020-03-11 16:13:05'),(20650,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1181\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.00076794624328613','2020-03-11 16:13:05'),(20651,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.0009000301361084','2020-03-11 16:13:05'),(20652,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.16454005241394','2020-03-11 16:13:05'),(20653,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00063991546630859','2020-03-11 16:13:05'),(20654,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.20101809501648','2020-03-11 16:13:05'),(20655,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.001025915145874','2020-03-11 16:13:05'),(20656,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.21478605270386','2020-03-11 16:13:05'),(20657,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00077199935913086','2020-03-11 16:13:05'),(20658,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00099587440490723','2020-03-11 16:13:05'),(20659,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.0018360614776611','2020-03-11 16:13:05'),(20660,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00070881843566895','2020-03-11 16:13:05'),(20661,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1181,jobID)','http://salihin.noip.me/mgs/projects/job/1181/8','0.25051307678223','2020-03-11 16:13:05'),(20662,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1181\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00098991394042969','2020-03-11 16:13:05'),(20663,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.17138004302979','2020-03-11 16:13:05'),(20664,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1181\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00069594383239746','2020-03-11 16:13:05'),(20665,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1182\'','http://salihin.noip.me/mgs/projects/job/1181/8','0.00078606605529785','2020-03-11 16:13:05'),(20666,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.001410961151123','2020-03-11 16:13:05'),(20667,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1182\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1181/8','0.00060296058654785','2020-03-11 16:13:06'),(20668,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1181/8','0.013686895370483','2020-03-11 16:13:06'),(20669,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00054693222045898','2020-03-11 16:13:06'),(20670,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00040984153747559','2020-03-11 16:13:06'),(20671,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00040817260742188','2020-03-11 16:13:06'),(20672,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00040316581726074','2020-03-11 16:13:06'),(20673,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00035190582275391','2020-03-11 16:13:06'),(20674,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00033807754516602','2020-03-11 16:13:06'),(20675,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032591819763184','2020-03-11 16:13:06'),(20676,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032401084899902','2020-03-11 16:13:06'),(20677,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032186508178711','2020-03-11 16:13:06'),(20678,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032711029052734','2020-03-11 16:13:06'),(20679,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0003359317779541','2020-03-11 16:13:06'),(20680,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032401084899902','2020-03-11 16:13:06'),(20681,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00032401084899902','2020-03-11 16:13:06'),(20682,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0054378509521484','2020-03-11 16:13:06'),(20683,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0015039443969727','2020-03-11 16:13:06'),(20684,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0053830146789551','2020-03-11 16:13:06'),(20685,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0014190673828125','2020-03-11 16:13:06'),(20686,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0053369998931885','2020-03-11 16:13:06'),(20687,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.0012929439544678','2020-03-11 16:13:06'),(20688,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1181/8','0.00086283683776855','2020-03-11 16:13:06'),(20689,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/search','0.019199132919312','2020-03-11 16:13:18'),(20690,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/search','0.00096988677978516','2020-03-11 16:13:18'),(20691,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/search','0.0059459209442139','2020-03-11 16:13:18'),(20692,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/search','0.0017709732055664','2020-03-11 16:13:18'),(20693,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/search','0.0057411193847656','2020-03-11 16:13:18'),(20694,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/search','0.0014400482177734','2020-03-11 16:13:18'),(20695,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `view__search`\nWHERE crawl_text like  \"%BULB%\"\nOR department like  \"%BULB%\"\nOR customerName like  \"%BULB%\"\nOR description like  \"%BULB%\"\nOR crawl_text like  \"%BRANDS%\"\nOR department like  \"%BRANDS%\"\nOR customerName like  \"%BRANDS%\"\nOR description like  \"%BRANDS%\"\nORDER BY `jobID` DESC','http://salihin.noip.me/mgs/search/result','0.13310599327087','2020-03-11 16:14:02'),(20696,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/search/result','0.016801118850708','2020-03-11 16:14:02'),(20697,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/search/result','0.00073599815368652','2020-03-11 16:14:02'),(20698,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040817260742188','2020-03-11 16:14:02'),(20699,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040197372436523','2020-03-11 16:14:02'),(20700,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040984153747559','2020-03-11 16:14:02'),(20701,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040388107299805','2020-03-11 16:14:03'),(20702,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.0003972053527832','2020-03-11 16:14:03'),(20703,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040292739868164','2020-03-11 16:14:03'),(20704,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040292739868164','2020-03-11 16:14:03'),(20705,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.0003969669342041','2020-03-11 16:14:03'),(20706,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040698051452637','2020-03-11 16:14:03'),(20707,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.0003969669342041','2020-03-11 16:14:03'),(20708,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00040292739868164','2020-03-11 16:14:03'),(20709,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/search/result','0.00041103363037109','2020-03-11 16:14:03'),(20710,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/search/result','0.0052940845489502','2020-03-11 16:14:03'),(20711,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/search/result','0.0049710273742676','2020-03-11 16:14:03'),(20712,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/search/result','0.0055239200592041','2020-03-11 16:14:03'),(20713,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/search/result','0.0016591548919678','2020-03-11 16:14:03'),(20714,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/242/8','0.00057601928710938','2020-03-11 16:14:59'),(20715,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.00077915191650391','2020-03-11 16:14:59'),(20716,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/242/8','0.00070595741271973','2020-03-11 16:14:59'),(20717,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/242/8','0.00058507919311523','2020-03-11 16:14:59'),(20718,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/242/8','0.001068115234375','2020-03-11 16:14:59'),(20719,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.00084996223449707','2020-03-11 16:14:59'),(20720,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/242/8','0.00053596496582031','2020-03-11 16:14:59'),(20721,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/242/8','0.19531011581421','2020-03-11 16:14:59'),(20722,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/242/8','0.00088310241699219','2020-03-11 16:14:59'),(20723,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'','http://salihin.noip.me/mgs/projects/job/242/8','0.00098609924316406','2020-03-11 16:14:59'),(20724,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.19037389755249','2020-03-11 16:15:00'),(20725,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.00072717666625977','2020-03-11 16:15:00'),(20726,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(242,jobID)','http://salihin.noip.me/mgs/projects/job/242/8','0.20499396324158','2020-03-11 16:15:00'),(20727,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'','http://salihin.noip.me/mgs/projects/job/242/8','0.0009758472442627','2020-03-11 16:15:00'),(20728,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.18005800247192','2020-03-11 16:15:00'),(20729,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.00087308883666992','2020-03-11 16:15:00'),(20730,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(242,jobID)','http://salihin.noip.me/mgs/projects/job/242/8','0.23943614959717','2020-03-11 16:15:00'),(20731,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'','http://salihin.noip.me/mgs/projects/job/242/8','0.00095796585083008','2020-03-11 16:15:00'),(20732,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.19788789749146','2020-03-11 16:15:00'),(20733,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'242\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/242/8','0.00085091590881348','2020-03-11 16:15:00'),(20734,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/242/8','0.018710136413574','2020-03-11 16:15:00'),(20735,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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/242/8','0.00074601173400879','2020-03-11 16:15:00'),(20736,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00043082237243652','2020-03-11 16:15:00'),(20737,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00040507316589355','2020-03-11 16:15:00'),(20738,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00040197372436523','2020-03-11 16:15:00'),(20739,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00041007995605469','2020-03-11 16:15:00'),(20740,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00040102005004883','2020-03-11 16:15:00'),(20741,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00040793418884277','2020-03-11 16:15:00'),(20742,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00041985511779785','2020-03-11 16:15:00'),(20743,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00042080879211426','2020-03-11 16:15:00'),(20744,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00041604042053223','2020-03-11 16:15:00'),(20745,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00041294097900391','2020-03-11 16:15:00'),(20746,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00040602684020996','2020-03-11 16:15:00'),(20747,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/242/8','0.00040817260742188','2020-03-11 16:15:00'),(20748,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/242/8','0.0053670406341553','2020-03-11 16:15:00'),(20749,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/242/8','0.0014710426330566','2020-03-11 16:15:00'),(20750,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/242/8','0.0054700374603271','2020-03-11 16:15:00'),(20751,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/242/8','0.0014328956604004','2020-03-11 16:15:00'),(20752,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/242/8','0.0053210258483887','2020-03-11 16:15:00'),(20753,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/242/8','0.0013949871063232','2020-03-11 16:15:00'),(20754,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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/242/8','0.00091195106506348','2020-03-11 16:15:00'),(20755,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0053958892822266','2020-03-11 16:15:32'),(20756,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0048348903656006','2020-03-11 16:15:32'),(20757,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0048849582672119','2020-03-11 16:15:32'),(20758,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.004324197769165','2020-03-11 16:15:32'),(20759,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\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.0047531127929688','2020-03-11 16:15:32'),(20760,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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` = \'384\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00094699859619141','2020-03-11 16:15:32'),(20761,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'384\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.016640901565552','2020-03-11 16:15:32'),(20762,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','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.0006260871887207','2020-03-11 16:15:32'),(20763,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00031900405883789','2020-03-11 16:15:32'),(20764,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029587745666504','2020-03-11 16:15:32'),(20765,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029587745666504','2020-03-11 16:15:32'),(20766,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029397010803223','2020-03-11 16:15:32'),(20767,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029492378234863','2020-03-11 16:15:32'),(20768,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0002901554107666','2020-03-11 16:15:32'),(20769,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029301643371582','2020-03-11 16:15:33'),(20770,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029301643371582','2020-03-11 16:15:33'),(20771,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029897689819336','2020-03-11 16:15:33'),(20772,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00028800964355469','2020-03-11 16:15:33'),(20773,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00029301643371582','2020-03-11 16:15:33'),(20774,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00028896331787109','2020-03-11 16:15:33'),(20775,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0048401355743408','2020-03-11 16:15:33'),(20776,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0012061595916748','2020-03-11 16:15:33'),(20777,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0047538280487061','2020-03-11 16:15:33'),(20778,384,'Nur Adriana Binti Ab Aziz','210.48.222.13','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011370182037354','2020-03-11 16:15:33'),(20779,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.00052499771118164','2020-03-12 00:20:12'),(20780,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.00061392784118652','2020-03-12 00:20:23'),(20781,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.027060985565186','2020-03-12 00:20:23'),(20782,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.0010859966278076','2020-03-12 00:20:23'),(20783,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.016441822052002','2020-03-12 00:20:23'),(20784,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.00075316429138184','2020-03-12 00:20:23'),(20785,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.0099639892578125','2020-03-12 00:20:23'),(20786,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.00051212310791016','2020-03-12 00:20:23'),(20787,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.0067191123962402','2020-03-12 00:20:23'),(20788,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.00049400329589844','2020-03-12 00:20:23'),(20789,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.0081191062927246','2020-03-12 00:20:23'),(20790,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.039641857147217','2020-03-12 00:20:23'),(20791,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.0096390247344971','2020-03-12 00:20:23'),(20792,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.0066499710083008','2020-03-12 00:20:23'),(20793,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.081703901290894','2020-03-12 00:20:23'),(20794,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.075798988342285','2020-03-12 00:20:23'),(20795,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.012811899185181','2020-03-12 00:20:23'),(20796,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.0022811889648438','2020-03-12 00:20:23'),(20797,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.012722969055176','2020-03-12 00:20:23'),(20798,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.0022790431976318','2020-03-12 00:20:23'),(20799,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.8112659454346','2020-03-12 00:20:23'),(20800,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.1426830291748','2020-03-12 00:20:23'),(20801,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.4976410865784','2020-03-12 00:20:23'),(20802,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.6757230758667','2020-03-12 00:20:23'),(20803,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.019092082977295','2020-03-12 00:20:23'),(20804,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.019345998764038','2020-03-12 00:20:23'),(20805,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.0010049343109131','2020-03-12 00:20:24'),(20806,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.018515110015869','2020-03-12 00:20:24'),(20807,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.00073099136352539','2020-03-12 00:20:24'),(20808,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040602684020996','2020-03-12 00:20:24'),(20809,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00038504600524902','2020-03-12 00:20:24'),(20810,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00044083595275879','2020-03-12 00:20:24'),(20811,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-12 00:20:24'),(20812,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040483474731445','2020-03-12 00:20:24'),(20813,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00040507316589355','2020-03-12 00:20:24'),(20814,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041818618774414','2020-03-12 00:20:24'),(20815,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042009353637695','2020-03-12 00:20:24'),(20816,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00042104721069336','2020-03-12 00:20:24'),(20817,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041604042053223','2020-03-12 00:20:24'),(20818,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041699409484863','2020-03-12 00:20:24'),(20819,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00041699409484863','2020-03-12 00:20:24'),(20820,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.0049819946289062','2020-03-12 00:20:24'),(20821,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.0014748573303223','2020-03-12 00:20:24'),(20822,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.0053260326385498','2020-03-12 00:20:24'),(20823,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.0017409324645996','2020-03-12 00:20:24'),(20824,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.0055499076843262','2020-03-12 00:20:24'),(20825,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.0015509128570557','2020-03-12 00:20:24'),(20826,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.0061337947845459','2020-03-12 00:20:35'),(20827,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.006350040435791','2020-03-12 00:20:35'),(20828,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.0043249130249023','2020-03-12 00:20:35'),(20829,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.0057501792907715','2020-03-12 00:20:35'),(20830,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.0044510364532471','2020-03-12 00:20:35'),(20831,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.0010430812835693','2020-03-12 00:20:35'),(20832,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.01911997795105','2020-03-12 00:20:35'),(20833,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.00075793266296387','2020-03-12 00:20:35'),(20834,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00043892860412598','2020-03-12 00:20:35'),(20835,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040793418884277','2020-03-12 00:20:35'),(20836,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040721893310547','2020-03-12 00:20:35'),(20837,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-12 00:20:35'),(20838,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041794776916504','2020-03-12 00:20:35'),(20839,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 00:20:35'),(20840,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041818618774414','2020-03-12 00:20:35'),(20841,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 00:20:35'),(20842,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-12 00:20:35'),(20843,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-12 00:20:35'),(20844,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-12 00:20:35'),(20845,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040316581726074','2020-03-12 00:20:35'),(20846,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.00559401512146','2020-03-12 00:20:35'),(20847,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.0014371871948242','2020-03-12 00:20:35'),(20848,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054869651794434','2020-03-12 00:20:35'),(20849,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.0013740062713623','2020-03-12 00:20:35'),(20850,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 369','http://salihin.noip.me/mgs/login/setSession','0.00049495697021484','2020-03-12 00:21:03'),(20851,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00040102005004883','2020-03-12 00:21:12'),(20852,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00056910514831543','2020-03-12 00:21:12'),(20853,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/335/8','0.0005340576171875','2020-03-12 00:21:12'),(20854,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/335/8','0.00054192543029785','2020-03-12 00:21:12'),(20855,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/335/8','0.00083589553833008','2020-03-12 00:21:12'),(20856,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00066804885864258','2020-03-12 00:21:12'),(20857,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/projects/job/335/8','0.00036787986755371','2020-03-12 00:21:12'),(20858,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/335/8','0.17811298370361','2020-03-12 00:21:12'),(20859,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'335\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/335/8','0.00086688995361328','2020-03-12 00:21:12'),(20860,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'335\'','http://salihin.noip.me/mgs/projects/job/335/8','0.0010330677032471','2020-03-12 00:21:12'),(20861,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.19388389587402','2020-03-12 00:21:12'),(20862,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00082182884216309','2020-03-12 00:21:12'),(20863,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(335,jobID)','http://salihin.noip.me/mgs/projects/job/335/8','0.24662494659424','2020-03-12 00:21:12'),(20864,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'335\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00096511840820312','2020-03-12 00:21:12'),(20865,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.15819311141968','2020-03-12 00:21:12'),(20866,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00058317184448242','2020-03-12 00:21:12'),(20867,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'336\'','http://salihin.noip.me/mgs/projects/job/335/8','0.00069189071655273','2020-03-12 00:21:12'),(20868,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.16737198829651','2020-03-12 00:21:12'),(20869,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00078606605529785','2020-03-12 00:21:12'),(20870,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(335,jobID)','http://salihin.noip.me/mgs/projects/job/335/8','0.20962309837341','2020-03-12 00:21:12'),(20871,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'335\'','http://salihin.noip.me/mgs/projects/job/335/8','0.0008089542388916','2020-03-12 00:21:12'),(20872,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.14081883430481','2020-03-12 00:21:12'),(20873,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'335\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.0005040168762207','2020-03-12 00:21:12'),(20874,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'336\'','http://salihin.noip.me/mgs/projects/job/335/8','0.0005948543548584','2020-03-12 00:21:12'),(20875,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.12069392204285','2020-03-12 00:21:12'),(20876,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'336\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/335/8','0.00046515464782715','2020-03-12 00:21:12'),(20877,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/projects/job/335/8','0.011279821395874','2020-03-12 00:21:12'),(20878,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/projects/job/335/8','0.00044393539428711','2020-03-12 00:21:12'),(20879,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00024509429931641','2020-03-12 00:21:12'),(20880,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.0002138614654541','2020-03-12 00:21:12'),(20881,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00020503997802734','2020-03-12 00:21:13'),(20882,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00020599365234375','2020-03-12 00:21:13'),(20883,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00020194053649902','2020-03-12 00:21:13'),(20884,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00020694732666016','2020-03-12 00:21:13'),(20885,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00020408630371094','2020-03-12 00:21:13'),(20886,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00018405914306641','2020-03-12 00:21:13'),(20887,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00017285346984863','2020-03-12 00:21:13'),(20888,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00020098686218262','2020-03-12 00:21:13'),(20889,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00021791458129883','2020-03-12 00:21:13'),(20890,378,'Farah Farhana binti Nor Azmi','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/335/8','0.00019693374633789','2020-03-12 00:21:13'),(20891,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/projects/job/335/8','0.0030019283294678','2020-03-12 00:21:13'),(20892,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/projects/job/335/8','0.00080585479736328','2020-03-12 00:21:13'),(20893,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/projects/job/335/8','0.0030651092529297','2020-03-12 00:21:13'),(20894,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/projects/job/335/8','0.00080394744873047','2020-03-12 00:21:13'),(20895,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/projects/job/335/8','0.0029659271240234','2020-03-12 00:21:13'),(20896,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/projects/job/335/8','0.00093197822570801','2020-03-12 00:21:13'),(20897,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/projects/job/335/8','0.00045299530029297','2020-03-12 00:21:13'),(20898,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00056290626525879','2020-03-12 00:21:15'),(20899,369,'Ameira Syafiqa Binti Yahya','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.020869016647339','2020-03-12 00:21:15'),(20900,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010480880737305','2020-03-12 00:21:15'),(20901,369,'Ameira Syafiqa Binti Yahya','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.019534111022949','2020-03-12 00:21:15'),(20902,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00085997581481934','2020-03-12 00:21:15'),(20903,369,'Ameira Syafiqa Binti Yahya','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.0099821090698242','2020-03-12 00:21:15'),(20904,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00066208839416504','2020-03-12 00:21:15'),(20905,369,'Ameira Syafiqa Binti Yahya','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.0081958770751953','2020-03-12 00:21:15'),(20906,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00054192543029785','2020-03-12 00:21:15'),(20907,369,'Ameira Syafiqa Binti Yahya','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.0077140331268311','2020-03-12 00:21:15'),(20908,369,'Ameira Syafiqa Binti Yahya','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.03919792175293','2020-03-12 00:21:15'),(20909,369,'Ameira Syafiqa Binti Yahya','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.0097110271453857','2020-03-12 00:21:16'),(20910,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0060770511627197','2020-03-12 00:21:16'),(20911,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.079560995101929','2020-03-12 00:21:16'),(20912,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.078181028366089','2020-03-12 00:21:16'),(20913,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.014469146728516','2020-03-12 00:21:16'),(20914,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0027599334716797','2020-03-12 00:21:16'),(20915,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.013458013534546','2020-03-12 00:21:16'),(20916,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0024709701538086','2020-03-12 00:21:16'),(20917,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.3807709217072','2020-03-12 00:21:16'),(20918,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.4755420684814','2020-03-12 00:21:16'),(20919,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.2678570747375','2020-03-12 00:21:16'),(20920,369,'Ameira Syafiqa Binti Yahya','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.8540389537811','2020-03-12 00:21:16'),(20921,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.016796827316284','2020-03-12 00:21:16'),(20922,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019075870513916','2020-03-12 00:21:16'),(20923,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00099420547485352','2020-03-12 00:21:16'),(20924,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'369\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.013278007507324','2020-03-12 00:21:16'),(20925,369,'Ameira Syafiqa Binti Yahya','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.00056099891662598','2020-03-12 00:21:16'),(20926,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00030803680419922','2020-03-12 00:21:16'),(20927,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026202201843262','2020-03-12 00:21:16'),(20928,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025677680969238','2020-03-12 00:21:16'),(20929,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029492378234863','2020-03-12 00:21:16'),(20930,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029802322387695','2020-03-12 00:21:16'),(20931,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029706954956055','2020-03-12 00:21:16'),(20932,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029492378234863','2020-03-12 00:21:16'),(20933,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029587745666504','2020-03-12 00:21:16'),(20934,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00029683113098145','2020-03-12 00:21:16'),(20935,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00026512145996094','2020-03-12 00:21:16'),(20936,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025820732116699','2020-03-12 00:21:16'),(20937,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025701522827148','2020-03-12 00:21:16'),(20938,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0045139789581299','2020-03-12 00:21:16'),(20939,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011248588562012','2020-03-12 00:21:16'),(20940,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0042819976806641','2020-03-12 00:21:16'),(20941,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011048316955566','2020-03-12 00:21:16'),(20942,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055098533630371','2020-03-12 00:21:16'),(20943,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014619827270508','2020-03-12 00:21:16'),(20944,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.005612850189209','2020-03-12 00:21:29'),(20945,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\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.0057199001312256','2020-03-12 00:21:29'),(20946,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\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.0052921772003174','2020-03-12 00:21:29'),(20947,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\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.0062429904937744','2020-03-12 00:21:29'),(20948,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\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.0049521923065186','2020-03-12 00:21:29'),(20949,369,'Ameira Syafiqa Binti Yahya','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` = \'369\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.00098800659179688','2020-03-12 00:21:29'),(20950,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'369\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.017319917678833','2020-03-12 00:21:29'),(20951,369,'Ameira Syafiqa Binti Yahya','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.00071310997009277','2020-03-12 00:21:29'),(20952,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00039887428283691','2020-03-12 00:21:29'),(20953,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003049373626709','2020-03-12 00:21:29'),(20954,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034999847412109','2020-03-12 00:21:29'),(20955,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0003509521484375','2020-03-12 00:21:29'),(20956,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034904479980469','2020-03-12 00:21:29'),(20957,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035500526428223','2020-03-12 00:21:29'),(20958,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034904479980469','2020-03-12 00:21:29'),(20959,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00036811828613281','2020-03-12 00:21:29'),(20960,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00035810470581055','2020-03-12 00:21:29'),(20961,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034689903259277','2020-03-12 00:21:29'),(20962,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034689903259277','2020-03-12 00:21:29'),(20963,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00034308433532715','2020-03-12 00:21:29'),(20964,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054209232330322','2020-03-12 00:21:29'),(20965,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014090538024902','2020-03-12 00:21:29'),(20966,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.004871129989624','2020-03-12 00:21:29'),(20967,369,'Ameira Syafiqa Binti Yahya','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0011999607086182','2020-03-12 00:21:29'),(20968,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 370','http://salihin.noip.me/mgs/login/setSession','0.00051712989807129','2020-03-12 00:22:56'),(20969,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00063800811767578','2020-03-12 00:23:07'),(20970,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id = a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 0\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.024395942687988','2020-03-12 00:23:07'),(20971,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0010600090026855','2020-03-12 00:23:07'),(20972,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`is_pending` = 0\nAND `a`.`deadline` < curdate()\nAND `a`.`status` IN(0, 1)\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.018131971359253','2020-03-12 00:23:07'),(20973,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00077509880065918','2020-03-12 00:23:07'),(20974,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, group_concat(g.staff_id) as staff_id, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `g`.`is_delete` = 0\nAND `a`.`status` = 1\nAND `a`.`deadline` != \'0000-00-00\'\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.008965015411377','2020-03-12 00:23:07'),(20975,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.0005500316619873','2020-03-12 00:23:07'),(20976,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 2\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0061891078948975','2020-03-12 00:23:07'),(20977,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.00046110153198242','2020-03-12 00:23:07'),(20978,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ID`, `a`.`customerID`, `a`.`departmentID`, `a`.`deadline`, `a`.`description`, `a`.`status`, `a`.`is_pending`, `a`.`is_internal`, `a`.`remarks`, `a`.`yearEndDate`, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `c`.`name` as `departmentName`, `e`.`name` as `branchName`, `g`.`staff_id`, group_concat(h.name) as staff_name\nFROM `job` `a`\nLEFT JOIN customer b ON a.customerID = b.id\nLEFT JOIN company__department c ON a.departmentID = c.id\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch e ON e.id = c.branch_id\nLEFT JOIN view__job f ON f.ID = a.ID\nLEFT JOIN job__pic g ON g.job_id=a.ID AND g.is_delete = 0\nLEFT JOIN user h ON h.id = g.staff_id\nWHERE `a`.`is_delete` = 0\nAND `a`.`status` = 3\nAND `a`.`departmentID` IN(\'8\', \'10\', \'11\', \'14\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.0069808959960938','2020-03-12 00:23:07'),(20979,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `department_name`, `c`.`name` as `branch_name`\nFROM `view__count_job` `a`\nJOIN `company__department` `b` ON `b`.`id` = `a`.`departmentID`\nJOIN `company__branch` `c` ON `c`.`id` = `b`.`branch_id`\nORDER BY `b`.`name` ASC','http://salihin.noip.me/mgs/dashboard','0.03361701965332','2020-03-12 00:23:07'),(20980,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT name, \"c\" as Customer \r\n			FROM customer \r\n			WHERE is_delete = 0\r\n\r\n			UNION \r\n\r\n			SELECT DISTINCT name, \"d\" as Customer\r\n			FROM company__department\r\n			WHERE is_delete = 0\r\n			ORDER BY name','http://salihin.noip.me/mgs/dashboard','0.009660005569458','2020-03-12 00:23:07'),(20981,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0059008598327637','2020-03-12 00:23:07'),(20982,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.078875064849854','2020-03-12 00:23:07'),(20983,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/dashboard','0.072090864181519','2020-03-12 00:23:07'),(20984,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012697219848633','2020-03-12 00:23:07'),(20985,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0022881031036377','2020-03-12 00:23:07'),(20986,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012514114379883','2020-03-12 00:23:07'),(20987,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0022828578948975','2020-03-12 00:23:07'),(20988,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','3.0849080085754','2020-03-12 00:23:07'),(20989,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`createdTS`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`createdTS`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`createdTS`) = year(`a`.`createdTS`)) AND (`b`.`departmentID` = 8))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','2.2897989749908','2020-03-12 00:23:07'),(20990,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','2.1979119777679','2020-03-12 00:23:07'),(20991,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT DISTINCT year(`a`.`completedDate`) AS `year`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'1\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_1`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'2\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_2`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'3\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_3`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'4\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_4`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'5\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_5`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'6\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_6`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'7\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_7`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'8\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_8`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'9\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_9`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'10\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_10`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'11\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_11`,\r\n			(SELECT if((count(`b`.`ID`) > 0),count(`b`.`ID`),0) FROM `mgsdb_master`.`job` `b` WHERE ((month(`b`.`completedDate`) = \'12\') AND (`b`.`is_delete` = 0) AND (year(`b`.`completedDate`) = year(`a`.`completedDate`)) AND (`b`.`departmentID` = 8))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 8)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.2756850719452','2020-03-12 00:23:07'),(20992,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`ownerID` = \'370\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01814603805542','2020-03-12 00:23:07'),(20993,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`ownerID`, `a`.`ID`, `a`.`jobID`, `a`.`milestoneTypeID`, `a`.`note`, `b`.`customerID`, `b`.`deadline`, if(b.is_internal = 1, `d`.`name`, e.name) as customerName, `f`.`name` as `departmentID`, `b`.`status`, `g`.`name` as `userName`, `a`.`is_read`, `b`.`id` as `jobID`, `c`.`id` as `milestoneTypeID`\nFROM `job__milestone` `a`\nLEFT JOIN job b ON b.id = a.jobID\nLEFT JOIN _ref__milestone_type c ON c.id = a.milestoneTypeID\nLEFT JOIN `customer` `e` ON `e`.`id` = `b`.`customerID`\nLEFT JOIN company__department d ON b.customerID = d.id\nLEFT JOIN company__department f ON b.departmentID = f.id\nLEFT JOIN user g ON g.id = a.createdBY\nWHERE `a`.`is_delete` = 0\nAND `a`.`is_read` = 0\nAND `a`.`ownerID` = \'370\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.019335985183716','2020-03-12 00:23:07'),(20994,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.00098395347595215','2020-03-12 00:23:07'),(20995,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.01329493522644','2020-03-12 00:23:07'),(20996,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/dashboard','0.00053215026855469','2020-03-12 00:23:08'),(20997,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00027894973754883','2020-03-12 00:23:08'),(20998,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025582313537598','2020-03-12 00:23:08'),(20999,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025105476379395','2020-03-12 00:23:08'),(21000,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025010108947754','2020-03-12 00:23:08'),(21001,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024795532226562','2020-03-12 00:23:08'),(21002,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021696090698242','2020-03-12 00:23:08'),(21003,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021100044250488','2020-03-12 00:23:08'),(21004,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00021004676818848','2020-03-12 00:23:08'),(21005,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020790100097656','2020-03-12 00:23:08'),(21006,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020694732666016','2020-03-12 00:23:08'),(21007,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020813941955566','2020-03-12 00:23:08'),(21008,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020694732666016','2020-03-12 00:23:08'),(21009,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0036327838897705','2020-03-12 00:23:08'),(21010,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013470649719238','2020-03-12 00:23:08'),(21011,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0053408145904541','2020-03-12 00:23:08'),(21012,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013928413391113','2020-03-12 00:23:08'),(21013,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.005573034286499','2020-03-12 00:23:08'),(21014,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/dashboard','0.0013649463653564','2020-03-12 00:23:08'),(21015,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0053999423980713','2020-03-12 00:23:15'),(21016,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0034551620483398','2020-03-12 00:23:15'),(21017,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.003680944442749','2020-03-12 00:23:15'),(21018,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0041930675506592','2020-03-12 00:23:15'),(21019,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0042259693145752','2020-03-12 00:23:15'),(21020,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0010960102081299','2020-03-12 00:23:15'),(21021,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.018931150436401','2020-03-12 00:23:15'),(21022,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00078201293945312','2020-03-12 00:23:15'),(21023,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00042104721069336','2020-03-12 00:23:15'),(21024,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-12 00:23:15'),(21025,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-12 00:23:15'),(21026,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040411949157715','2020-03-12 00:23:15'),(21027,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041103363037109','2020-03-12 00:23:15'),(21028,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 00:23:15'),(21029,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004119873046875','2020-03-12 00:23:15'),(21030,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-12 00:23:15'),(21031,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041103363037109','2020-03-12 00:23:15'),(21032,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-12 00:23:15'),(21033,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040483474731445','2020-03-12 00:23:15'),(21034,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040507316589355','2020-03-12 00:23:15'),(21035,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0082011222839355','2020-03-12 00:23:15'),(21036,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0016372203826904','2020-03-12 00:23:15'),(21037,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054640769958496','2020-03-12 00:23:15'),(21038,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0014870166778564','2020-03-12 00:23:16'),(21039,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00057101249694824','2020-03-12 00:23:48'),(21040,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00077390670776367','2020-03-12 00:23:48'),(21041,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1177/8','0.00068902969360352','2020-03-12 00:23:48'),(21042,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00060009956359863','2020-03-12 00:23:48'),(21043,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0010809898376465','2020-03-12 00:23:48'),(21044,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00084090232849121','2020-03-12 00:23:48'),(21045,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00041413307189941','2020-03-12 00:23:48'),(21046,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.19793200492859','2020-03-12 00:23:48'),(21047,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1177\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1177/8','0.00091290473937988','2020-03-12 00:23:48'),(21048,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1177\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.0010080337524414','2020-03-12 00:23:48'),(21049,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.19002103805542','2020-03-12 00:23:48'),(21050,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00072002410888672','2020-03-12 00:23:48'),(21051,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1177,jobID)','http://salihin.noip.me/mgs/projects/job/1177/8','0.24809384346008','2020-03-12 00:23:48'),(21052,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1177\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.0009610652923584','2020-03-12 00:23:48'),(21053,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.15787506103516','2020-03-12 00:23:48'),(21054,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00059890747070312','2020-03-12 00:23:48'),(21055,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1178\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00071191787719727','2020-03-12 00:23:48'),(21056,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.001352071762085','2020-03-12 00:23:48'),(21057,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.0005800724029541','2020-03-12 00:23:48'),(21058,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1177,jobID)','http://salihin.noip.me/mgs/projects/job/1177/8','0.23050594329834','2020-03-12 00:23:48'),(21059,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1177\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.0010969638824463','2020-03-12 00:23:48'),(21060,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.1969621181488','2020-03-12 00:23:48'),(21061,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00074100494384766','2020-03-12 00:23:48'),(21062,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1178\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00089597702026367','2020-03-12 00:23:48'),(21063,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.0016720294952393','2020-03-12 00:23:49'),(21064,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00067305564880371','2020-03-12 00:23:49'),(21065,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1177/8','0.016968965530396','2020-03-12 00:23:49'),(21066,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00072598457336426','2020-03-12 00:23:49'),(21067,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00038504600524902','2020-03-12 00:23:49'),(21068,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00037407875061035','2020-03-12 00:23:49'),(21069,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00036096572875977','2020-03-12 00:23:49'),(21070,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00036096572875977','2020-03-12 00:23:49'),(21071,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00036382675170898','2020-03-12 00:23:49'),(21072,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00035595893859863','2020-03-12 00:23:49'),(21073,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0003509521484375','2020-03-12 00:23:49'),(21074,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0003359317779541','2020-03-12 00:23:49'),(21075,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00034189224243164','2020-03-12 00:23:49'),(21076,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00040102005004883','2020-03-12 00:23:49'),(21077,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00041604042053223','2020-03-12 00:23:49'),(21078,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00040817260742188','2020-03-12 00:23:49'),(21079,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0054612159729004','2020-03-12 00:23:49'),(21080,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0019600391387939','2020-03-12 00:23:49'),(21081,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0055100917816162','2020-03-12 00:23:49'),(21082,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0015039443969727','2020-03-12 00:23:49'),(21083,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0053858757019043','2020-03-12 00:23:49'),(21084,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0013670921325684','2020-03-12 00:23:49'),(21085,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00084400177001953','2020-03-12 00:23:49'),(21086,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `name`\nFROM `company__department`\nWHERE `is_delete` = 0\nAND `id` = \'8\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00057411193847656','2020-03-12 00:24:15'),(21087,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`id` as `representative_id`, `b`.`name` as `representative_name`, `b`.`staff_id` as `representative_employment_id`\nFROM `job__invoice` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`repID`\nWHERE `a`.`jobID` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00078010559082031','2020-03-12 00:24:15'),(21088,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name`, `b`.`id` as `user_id`\nFROM `job__discussion` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`created_by`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0\nORDER BY `a`.`is_pinned` DESC, `a`.`created_ts` DESC','http://salihin.noip.me/mgs/projects/job/1177/8','0.00069499015808105','2020-03-12 00:24:15'),(21089,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `_ref__services`\nORDER BY `service`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00059199333190918','2020-03-12 00:24:15'),(21090,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT *\nFROM `_ref__job`\nORDER BY `job`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0010690689086914','2020-03-12 00:24:15'),(21091,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `reviewer_name`, `c`.`name` as `submit_by_name`\nFROM `job__draft` `a`\nJOIN `user` `b` ON `b`.`id` = `a`.`reviewer_id`\nJOIN `user` `c` ON `c`.`id` = `a`.`submitted_by`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00084805488586426','2020-03-12 00:24:15'),(21092,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Audit and Assurance\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00050020217895508','2020-03-12 00:24:15'),(21093,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `b`.`id`, `a`.`name`, `a`.`staff_id`, `b`.`email`\nFROM `user__employment_detail` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`id`\nWHERE `a`.`department_id` IN(\'8\', \'10\', \'11\', \'14\')\nAND `a`.`is_delete` = 0\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.19447422027588','2020-03-12 00:24:15'),(21094,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`, `b`.`staff_id` as `staff_employment_id`\nFROM `job__task_daily_summary` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`userID`\nWHERE `a`.`is_delete` = 0\nAND `a`.`jobID` = \'1177\'\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1177/8','0.0008089542388916','2020-03-12 00:24:15'),(21095,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1177\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00092792510986328','2020-03-12 00:24:15'),(21096,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.1880509853363','2020-03-12 00:24:15'),(21097,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00074195861816406','2020-03-12 00:24:15'),(21098,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1177,jobID)','http://salihin.noip.me/mgs/projects/job/1177/8','0.2443950176239','2020-03-12 00:24:15'),(21099,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1177\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00098395347595215','2020-03-12 00:24:15'),(21100,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.21585512161255','2020-03-12 00:24:15'),(21101,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00079488754272461','2020-03-12 00:24:15'),(21102,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1178\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00094699859619141','2020-03-12 00:24:15'),(21103,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.0018320083618164','2020-03-12 00:24:15'),(21104,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00067496299743652','2020-03-12 00:24:15'),(21105,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT * FROM view__job_sequence WHERE find_in_set(1177,jobID)','http://salihin.noip.me/mgs/projects/job/1177/8','0.24499297142029','2020-03-12 00:24:15'),(21106,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1177\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.0010628700256348','2020-03-12 00:24:15'),(21107,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.19063091278076','2020-03-12 00:24:16'),(21108,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1177\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.00076413154602051','2020-03-12 00:24:16'),(21109,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, if(a.is_internal = 1, `d`.`name`, b.name) as customerName, `e`.`name` as `department_name`, `f`.`name` as `branch_name`\nFROM `job` `a`\nLEFT JOIN `customer` `b` ON `b`.`id` = `a`.`customerID`\nLEFT JOIN company__department e ON e.id = a.departmentID\nLEFT JOIN company__department d ON a.customerID = d.id\nLEFT JOIN company__branch f ON f.id = e.branch_id\nWHERE `a`.`ID` = \'1178\'','http://salihin.noip.me/mgs/projects/job/1177/8','0.00085806846618652','2020-03-12 00:24:16'),(21110,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.`user_id`, `b`.`name`, `b`.`staff_id`\nFROM `job__pic` `a`\nLEFT JOIN `user__employment_detail` `b` ON `b`.`user_id` = `a`.`staff_id`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.0017290115356445','2020-03-12 00:24:16'),(21111,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `job__task` `a`\nWHERE `a`.`job_id` = \'1178\'\nAND `a`.`is_delete` = 0','http://salihin.noip.me/mgs/projects/job/1177/8','0.0011751651763916','2020-03-12 00:24:16'),(21112,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/projects/job/1177/8','0.015394926071167','2020-03-12 00:24:16'),(21113,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00056886672973633','2020-03-12 00:24:16'),(21114,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00026798248291016','2020-03-12 00:24:16'),(21115,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00024509429931641','2020-03-12 00:24:16'),(21116,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00023794174194336','2020-03-12 00:24:16'),(21117,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00023293495178223','2020-03-12 00:24:16'),(21118,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0002448558807373','2020-03-12 00:24:16'),(21119,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00024199485778809','2020-03-12 00:24:16'),(21120,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00023198127746582','2020-03-12 00:24:16'),(21121,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00029397010803223','2020-03-12 00:24:16'),(21122,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00025105476379395','2020-03-12 00:24:16'),(21123,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00023508071899414','2020-03-12 00:24:16'),(21124,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00023078918457031','2020-03-12 00:24:16'),(21125,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00023007392883301','2020-03-12 00:24:16'),(21126,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0042629241943359','2020-03-12 00:24:16'),(21127,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0011639595031738','2020-03-12 00:24:16'),(21128,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0055041313171387','2020-03-12 00:24:16'),(21129,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0014958381652832','2020-03-12 00:24:16'),(21130,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0055069923400879','2020-03-12 00:24:16'),(21131,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.0013110637664795','2020-03-12 00:24:16'),(21132,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/projects/job/1177/8','0.00088191032409668','2020-03-12 00:24:16'),(21133,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.0067379474639893','2020-03-12 00:24:27'),(21134,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`status` IN(1)\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0061359405517578','2020-03-12 00:24:27'),(21135,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 2\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0061981678009033','2020-03-12 00:24:27'),(21136,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nLEFT JOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nLEFT JOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`status` IN(0, 1)\nAND `b`.`deadline` < curdate()\nAND `b`.`deadline` != \'0000-00-00\'\nAND `a`.`is_delete` = 0\nAND `b`.`is_delete` = 0\nAND `b`.`is_pending` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0061819553375244','2020-03-12 00:24:27'),(21137,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 3\nAND `a`.`is_delete` = 0\nORDER BY `a`.`created_ts` DESC, `b`.`job_sequence` ASC','http://salihin.noip.me/mgs/tasks','0.0045089721679688','2020-03-12 00:24:27'),(21138,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*, `b`.*, if(b.is_internal = 1, `d`.`name`, c.name) as customerName\nFROM `job__pic` `a`\nJOIN `job` `b` ON `b`.`id` = `a`.`job_id`\nJOIN `customer` `c` ON `c`.`id` = `b`.`customerid`\nLEFT JOIN company__department d ON b.customerID = d.id\nWHERE `a`.`staff_id` = \'370\'\nAND `b`.`departmentID` = \'8\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0011129379272461','2020-03-12 00:24:27'),(21139,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'370\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.01929497718811','2020-03-12 00:24:27'),(21140,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `company__department` `a`\nWHERE `a`.`is_delete` = 0\nGROUP BY `a`.`name`\nORDER BY `a`.`name`','http://salihin.noip.me/mgs/tasks','0.00074911117553711','2020-03-12 00:24:27'),(21141,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041079521179199','2020-03-12 00:24:27'),(21142,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.0004119873046875','2020-03-12 00:24:27'),(21143,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041913986206055','2020-03-12 00:24:27'),(21144,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040292739868164','2020-03-12 00:24:27'),(21145,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040221214294434','2020-03-12 00:24:27'),(21146,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040388107299805','2020-03-12 00:24:27'),(21147,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041484832763672','2020-03-12 00:24:27'),(21148,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040197372436523','2020-03-12 00:24:27'),(21149,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041699409484863','2020-03-12 00:24:27'),(21150,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041580200195312','2020-03-12 00:24:27'),(21151,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040602684020996','2020-03-12 00:24:27'),(21152,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041580200195312','2020-03-12 00:24:27'),(21153,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0056660175323486','2020-03-12 00:24:27'),(21154,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0014472007751465','2020-03-12 00:24:28'),(21155,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054690837860107','2020-03-12 00:24:28'),(21156,370,'Siti Nur Ain Binti Mohd Salleh','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0012779235839844','2020-03-12 00:24:28'),(21157,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT role FROM user__role WHERE user_ID = 381','http://salihin.noip.me/mgs/login/setSession','0.00053000450134277','2020-03-12 00:33:40'),(21158,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Taxation\'','http://salihin.noip.me/mgs/dashboard','0.0005190372467041','2020-03-12 00:33:45'),(21159,381,'Nur Farah Hani Binti Md  Razali','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(\'3\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`id` DESC','http://salihin.noip.me/mgs/dashboard','0.014884233474731','2020-03-12 00:33:45'),(21160,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Taxation\'','http://salihin.noip.me/mgs/dashboard','0.00076889991760254','2020-03-12 00:33:45'),(21161,381,'Nur Farah Hani Binti Md  Razali','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(\'3\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`deadline` DESC','http://salihin.noip.me/mgs/dashboard','0.0084049701690674','2020-03-12 00:33:45'),(21162,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Taxation\'','http://salihin.noip.me/mgs/dashboard','0.00051403045654297','2020-03-12 00:33:45'),(21163,381,'Nur Farah Hani Binti Md  Razali','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(\'3\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`acknowledgeTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0094361305236816','2020-03-12 00:33:45'),(21164,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Taxation\'','http://salihin.noip.me/mgs/dashboard','0.00048995018005371','2020-03-12 00:33:45'),(21165,381,'Nur Farah Hani Binti Md  Razali','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(\'3\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`submissionTS` DESC','http://salihin.noip.me/mgs/dashboard','0.0062589645385742','2020-03-12 00:33:45'),(21166,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`\nFROM `company__department`\nWHERE `name` = \'Taxation\'','http://salihin.noip.me/mgs/dashboard','0.00047397613525391','2020-03-12 00:33:45'),(21167,381,'Nur Farah Hani Binti Md  Razali','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(\'3\')\nGROUP BY `a`.`ID`\nORDER BY `a`.`completedDate` DESC','http://salihin.noip.me/mgs/dashboard','0.006450891494751','2020-03-12 00:33:45'),(21168,381,'Nur Farah Hani Binti Md  Razali','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.037420988082886','2020-03-12 00:33:45'),(21169,381,'Nur Farah Hani Binti Md  Razali','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.0099289417266846','2020-03-12 00:33:45'),(21170,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0060868263244629','2020-03-12 00:33:45'),(21171,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.080664873123169','2020-03-12 00:33:45'),(21172,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'Taxation\'','http://salihin.noip.me/mgs/dashboard','0.075736045837402','2020-03-12 00:33:45'),(21173,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.012825012207031','2020-03-12 00:33:45'),(21174,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2020\'','http://salihin.noip.me/mgs/dashboard','0.0023970603942871','2020-03-12 00:33:45'),(21175,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT *\nFROM `view__count_new_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.012693881988525','2020-03-12 00:33:45'),(21176,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT *\nFROM `view__count_completed_job_by_month`\nWHERE `year` = \'2019\'','http://salihin.noip.me/mgs/dashboard','0.0023529529571533','2020-03-12 00:33:45'),(21177,381,'Nur Farah Hani Binti Md  Razali','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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 3)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.85251593589783','2020-03-12 00:33:45'),(21178,381,'Nur Farah Hani Binti Md  Razali','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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) AS `new_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0) \r\n			AND (`a`.`departmentID` = 3)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`createdTS`),month(`a`.`createdTS`)','http://salihin.noip.me/mgs/dashboard','0.86430501937866','2020-03-12 00:33:45'),(21179,381,'Nur Farah Hani Binti Md  Razali','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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 3)\r\n			AND year(`a`.`createdTS`) = 2020\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','1.0171530246735','2020-03-12 00:33:45'),(21180,381,'Nur Farah Hani Binti Md  Razali','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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) 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` = 3))) AS `complete_12` \r\n			FROM `mgsdb_master`.`job` `a` \r\n			WHERE (`a`.`is_delete` = 0)\r\n			AND (`a`.`departmentID` = 3)\r\n			AND year(`a`.`createdTS`) = 2019\r\n			GROUP BY year(`a`.`completedDate`),month(`a`.`completedDate`)','http://salihin.noip.me/mgs/dashboard','0.98456192016602','2020-03-12 00:33:45'),(21181,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.01131796836853','2020-03-12 00:33:45'),(21182,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\nORDER BY `a`.`id` DESC\n LIMIT 30','http://salihin.noip.me/mgs/dashboard','0.012606859207153','2020-03-12 00:33:45'),(21183,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.00068187713623047','2020-03-12 00:33:45'),(21184,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'381\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/dashboard','0.015657901763916','2020-03-12 00:33:45'),(21185,381,'Nur Farah Hani Binti Md  Razali','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.00066995620727539','2020-03-12 00:33:46'),(21186,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00035405158996582','2020-03-12 00:33:46'),(21187,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00028109550476074','2020-03-12 00:33:46'),(21188,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025820732116699','2020-03-12 00:33:46'),(21189,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00027203559875488','2020-03-12 00:33:46'),(21190,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024986267089844','2020-03-12 00:33:46'),(21191,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00027298927307129','2020-03-12 00:33:46'),(21192,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024104118347168','2020-03-12 00:33:46'),(21193,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0002439022064209','2020-03-12 00:33:46'),(21194,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00025105476379395','2020-03-12 00:33:46'),(21195,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00024008750915527','2020-03-12 00:33:46'),(21196,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0002589225769043','2020-03-12 00:33:46'),(21197,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00023913383483887','2020-03-12 00:33:46'),(21198,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0058350563049316','2020-03-12 00:33:46'),(21199,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0016880035400391','2020-03-12 00:33:46'),(21200,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0055599212646484','2020-03-12 00:33:46'),(21201,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0014989376068115','2020-03-12 00:33:46'),(21202,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/dashboard','0.0056450366973877','2020-03-12 00:33:46'),(21203,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0015511512756348','2020-03-12 00:33:46'),(21204,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\nAND `b`.`departmentID` = \'3\'\nAND `b`.`is_delete` = 0\nORDER BY `b`.`ID` ASC','http://salihin.noip.me/mgs/tasks','0.004669189453125','2020-03-12 00:33:54'),(21205,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\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.003486156463623','2020-03-12 00:33:54'),(21206,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\nAND `b`.`departmentID` = \'3\'\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.0058979988098145','2020-03-12 00:33:54'),(21207,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\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.0071341991424561','2020-03-12 00:33:54'),(21208,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\nAND `b`.`departmentID` = \'3\'\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.0060927867889404','2020-03-12 00:33:55'),(21209,381,'Nur Farah Hani Binti Md  Razali','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` = \'381\'\nAND `b`.`departmentID` = \'3\'\nAND `b`.`status` = 0\nAND `b`.`is_delete` = 0','http://salihin.noip.me/mgs/tasks','0.0011301040649414','2020-03-12 00:33:55'),(21210,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `notification` `a`\nWHERE `a`.`receiverID` = \'381\'\nAND `a`.`is_read` = 0\nORDER BY `a`.`updatedTS` DESC','http://salihin.noip.me/mgs/tasks','0.019140958786011','2020-03-12 00:33:55'),(21211,381,'Nur Farah Hani Binti Md  Razali','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.00080180168151855','2020-03-12 00:33:55'),(21212,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00043487548828125','2020-03-12 00:33:55'),(21213,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00042295455932617','2020-03-12 00:33:55'),(21214,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041985511779785','2020-03-12 00:33:55'),(21215,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041794776916504','2020-03-12 00:33:55'),(21216,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 00:33:55'),(21217,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041890144348145','2020-03-12 00:33:55'),(21218,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041604042053223','2020-03-12 00:33:55'),(21219,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00041604042053223','2020-03-12 00:33:55'),(21220,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040793418884277','2020-03-12 00:33:55'),(21221,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040698051452637','2020-03-12 00:33:55'),(21222,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040888786315918','2020-03-12 00:33:55'),(21223,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/tasks','0.00040912628173828','2020-03-12 00:33:55'),(21224,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0056049823760986','2020-03-12 00:33:55'),(21225,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__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.0015990734100342','2020-03-12 00:33:55'),(21226,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `id`, `name`\nFROM `customer`\nWHERE `is_delete` = 0\nORDER BY `name`','http://salihin.noip.me/mgs/tasks','0.0054709911346436','2020-03-12 00:33:55'),(21227,381,'Nur Farah Hani Binti Md  Razali','175.138.91.123','SELECT','SELECT `a`.`id`, concat(a.name, \" / \", b.name) as department\nFROM `company__department` `a`\nJOIN `company__branch` `b` ON `b`.`id` = `a`.`branch_id`\nWHERE `a`.`is_delete` = 0\nORDER BY `a`.`name`, `b`.`name`','http://salihin.noip.me/mgs/tasks','0.0013470649719238','2020-03-12 00:33:55'),(21228,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT role FROM user__role WHERE user_ID = 304','http://salihin.noip.me/mgs/login/setSession','0.00025296211242676','2020-03-12 00:36:31'),(21229,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.027695894241333','2020-03-12 00:36:33'),(21230,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.018469095230103','2020-03-12 00:36:33'),(21231,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.017795085906982','2020-03-12 00:36:33'),(21232,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.010640144348145','2020-03-12 00:36:33'),(21233,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.015032052993774','2020-03-12 00:36:33'),(21234,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.029500961303711','2020-03-12 00:36:33'),(21235,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.0069458484649658','2020-03-12 00:36:33'),(21236,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.0040078163146973','2020-03-12 00:36:33'),(21237,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.052957057952881','2020-03-12 00:36:33'),(21238,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'IT\'','http://salihin.noip.me/mgs/dashboard','0.059759855270386','2020-03-12 00:36:33'),(21239,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.011400938034058','2020-03-12 00:36:33'),(21240,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.0020229816436768','2020-03-12 00:36:33'),(21241,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.011216878890991','2020-03-12 00:36:33'),(21242,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.0020210742950439','2020-03-12 00:36:33'),(21243,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.012468099594116','2020-03-12 00:36:33'),(21244,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.0052199363708496','2020-03-12 00:36:33'),(21245,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.010145902633667','2020-03-12 00:36:33'),(21246,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.0045011043548584','2020-03-12 00:36:33'),(21247,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.0018439292907715','2020-03-12 00:36:33'),(21248,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.0018279552459717','2020-03-12 00:36:33'),(21249,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.00061702728271484','2020-03-12 00:36:33'),(21250,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.011591196060181','2020-03-12 00:36:33'),(21251,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.00057196617126465','2020-03-12 00:36:33'),(21252,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00020503997802734','2020-03-12 00:36:33'),(21253,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00015592575073242','2020-03-12 00:36:33'),(21254,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.0001530647277832','2020-03-12 00:36:33'),(21255,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014591217041016','2020-03-12 00:36:33'),(21256,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-12 00:36:33'),(21257,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014495849609375','2020-03-12 00:36:33'),(21258,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014901161193848','2020-03-12 00:36:34'),(21259,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-12 00:36:34'),(21260,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014305114746094','2020-03-12 00:36:34'),(21261,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014901161193848','2020-03-12 00:36:34'),(21262,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014710426330566','2020-03-12 00:36:34'),(21263,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/dashboard','0.00014185905456543','2020-03-12 00:36:34'),(21264,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.0026519298553467','2020-03-12 00:36:34'),(21265,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.00072002410888672','2020-03-12 00:36:34'),(21266,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.0023989677429199','2020-03-12 00:36:34'),(21267,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.0012009143829346','2020-03-12 00:36:34'),(21268,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.0025999546051025','2020-03-12 00:36:34'),(21269,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.00071096420288086','2020-03-12 00:36:34'),(21270,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*, `b`.`name` as `staff_name`\nFROM `mgs__error_report` `a`\nLEFT JOIN `user` `b` ON `b`.`id` = `a`.`user_id`\nWHERE `a`.`is_delete` = 0','http://salihin.noip.me/mgs/development/error_report','0.00062394142150879','2020-03-12 00:37:18'),(21271,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/development/error_report','0.016781091690063','2020-03-12 00:37:18'),(21272,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/development/error_report','0.00088810920715332','2020-03-12 00:37:18'),(21273,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00035691261291504','2020-03-12 00:37:18'),(21274,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00040102005004883','2020-03-12 00:37:18'),(21275,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039315223693848','2020-03-12 00:37:18'),(21276,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00040197372436523','2020-03-12 00:37:18'),(21277,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039196014404297','2020-03-12 00:37:18'),(21278,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039911270141602','2020-03-12 00:37:18'),(21279,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039291381835938','2020-03-12 00:37:18'),(21280,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039505958557129','2020-03-12 00:37:18'),(21281,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039196014404297','2020-03-12 00:37:18'),(21282,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.0003960132598877','2020-03-12 00:37:18'),(21283,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.00039196014404297','2020-03-12 00:37:18'),(21284,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/error_report','0.0003960132598877','2020-03-12 00:37:18'),(21285,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/development/error_report','0.0051329135894775','2020-03-12 00:37:18'),(21286,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/development/error_report','0.0013790130615234','2020-03-12 00:37:18'),(21287,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/development/error_report','0.0050292015075684','2020-03-12 00:37:18'),(21288,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/development/error_report','0.0013160705566406','2020-03-12 00:37:18'),(21289,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.`id`, `a`.`request`, sum(if(b.status=0, 1, 0)) as statusLike, sum(if(b.status=1, 1, 0)) as statusDislike\nFROM `mgs__feature_request` `a`\nLEFT OUTER JOIN `mgs_feature_request_voter` `b` ON `b`.`featureID` = `a`.`id`\nGROUP BY `a`.`id`, `b`.`featureID`','http://salihin.noip.me/mgs/development/feature_request','0.0051150321960449','2020-03-12 00:37:25'),(21290,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/development/feature_request','0.021705865859985','2020-03-12 00:37:25'),(21291,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/development/feature_request','0.00098180770874023','2020-03-12 00:37:25'),(21292,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00042200088500977','2020-03-12 00:37:25'),(21293,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00036978721618652','2020-03-12 00:37:25'),(21294,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037002563476562','2020-03-12 00:37:25'),(21295,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037002563476562','2020-03-12 00:37:25'),(21296,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037002563476562','2020-03-12 00:37:25'),(21297,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037002563476562','2020-03-12 00:37:25'),(21298,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00040602684020996','2020-03-12 00:37:25'),(21299,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00036883354187012','2020-03-12 00:37:25'),(21300,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037002563476562','2020-03-12 00:37:25'),(21301,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037097930908203','2020-03-12 00:37:25'),(21302,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037407875061035','2020-03-12 00:37:25'),(21303,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT `a`.*\nFROM `report__header` `a`','http://salihin.noip.me/mgs/development/feature_request','0.00037193298339844','2020-03-12 00:37:25'),(21304,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/development/feature_request','0.0050599575042725','2020-03-12 00:37:25'),(21305,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/development/feature_request','0.0013680458068848','2020-03-12 00:37:25'),(21306,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/development/feature_request','0.0056180953979492','2020-03-12 00:37:25'),(21307,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/development/feature_request','0.0013279914855957','2020-03-12 00:37:25'),(21308,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.035362958908081','2020-03-12 00:37:32'),(21309,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.026053190231323','2020-03-12 00:37:33'),(21310,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.020567893981934','2020-03-12 00:37:33'),(21311,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.012307167053223','2020-03-12 00:37:33'),(21312,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.014558076858521','2020-03-12 00:37:33'),(21313,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.035078048706055','2020-03-12 00:37:33'),(21314,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.0081090927124023','2020-03-12 00:37:33'),(21315,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.0049140453338623','2020-03-12 00:37:33'),(21316,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`','http://salihin.noip.me/mgs/dashboard','0.062621831893921','2020-03-12 00:37:33'),(21317,304,'Mohamad Ariff Bin Ramli','192.168.1.254','SELECT','SELECT *\nFROM `view__chartjobbydept`\nWHERE `department` = \'IT\'','http://salihin.noip.me/mgs/dashboard','0.07122802734375','2020-03-12 00:37:33'),(21318,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.01413106918335','2020-03-12 00:37:33'),(21319,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.0025269985198975','2020-03-12 00:37:33'),(21320,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.014108896255493','2020-03-12 00:37:33'),(21321,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.0025920867919922','2020-03-12 00:37:33'),(21322,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.015666961669922','2020-03-12 00:37:33'),(21323,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.0066978931427002','2020-03-12 00:37:33'),