2023-06-20 00:40:25 manageCourse.php (19) checking tablename : semester 2023-06-20 00:40:26 manageCourse.php (53) checking tablename : course & offer 2023-06-20 00:40:26 manageCourse.php (19) checking tablename : semester 2023-06-20 00:40:26 manageCourse.php (99) checking tablename : course & offer 2023-06-20 00:40:26 manageCourse.php (101) checking semester : 1000006 2023-06-20 00:40:26 manageCourse.php (102) filter Dep : 2023-06-20 00:40:26 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 02:55:33 manageCourse.php (19) checking tablename : semester 2023-06-20 02:55:33 manageCourse.php (53) checking tablename : course & offer 2023-06-20 02:55:34 manageCourse.php (19) checking tablename : semester 2023-06-20 02:55:34 manageCourse.php (99) checking tablename : course & offer 2023-06-20 02:55:34 manageCourse.php (101) checking semester : 1000006 2023-06-20 02:55:34 manageCourse.php (102) filter Dep : 2023-06-20 02:55:34 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 06:42:33 manageCourse.php (19) checking tablename : semester 2023-06-20 06:42:33 manageCourse.php (53) checking tablename : course & offer 2023-06-20 06:42:33 manageCourse.php (19) checking tablename : semester 2023-06-20 06:42:33 manageCourse.php (99) checking tablename : course & offer 2023-06-20 06:42:33 manageCourse.php (101) checking semester : 1000006 2023-06-20 06:42:33 manageCourse.php (102) filter Dep : 2023-06-20 06:42:33 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 10:42:50 manageCourse.php (19) checking tablename : semester 2023-06-20 10:42:50 manageCourse.php (19) checking tablename : semester 2023-06-20 10:42:50 manageCourse.php (53) checking tablename : course & offer 2023-06-20 10:42:50 manageCourse.php (99) checking tablename : course & offer 2023-06-20 10:42:50 manageCourse.php (101) checking semester : 1000006 2023-06-20 10:42:50 manageCourse.php (102) filter Dep : 2023-06-20 10:42:50 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 10:43:12 manageCourse.php (19) checking tablename : semester 2023-06-20 10:43:12 manageCourse.php (99) checking tablename : course & offer 2023-06-20 10:43:12 manageCourse.php (101) checking semester : 1000006 2023-06-20 10:43:12 manageCourse.php (102) filter Dep : 2023-06-20 10:43:12 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 10:43:25 manageCourse.php (19) checking tablename : semester 2023-06-20 10:43:25 manageCourse.php (19) checking tablename : semester 2023-06-20 10:43:25 manageCourse.php (53) checking tablename : course & offer 2023-06-20 10:43:25 manageCourse.php (99) checking tablename : course & offer 2023-06-20 10:43:25 manageCourse.php (101) checking semester : 1000006 2023-06-20 10:43:25 manageCourse.php (102) filter Dep : 2023-06-20 10:43:25 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 10:43:30 manageCourse.php (19) checking tablename : semester 2023-06-20 10:43:30 manageCourse.php (19) checking tablename : semester 2023-06-20 10:43:30 manageCourse.php (99) checking tablename : course & offer 2023-06-20 10:43:30 manageCourse.php (53) checking tablename : course & offer 2023-06-20 10:43:30 manageCourse.php (101) checking semester : 1000006 2023-06-20 10:43:30 manageCourse.php (102) filter Dep : 2023-06-20 10:43:30 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 13:27:41 manageCourse.php (19) checking tablename : semester 2023-06-20 13:27:41 manageCourse.php (53) checking tablename : course & offer 2023-06-20 13:27:47 manageCourse.php (19) checking tablename : semester 2023-06-20 13:27:47 manageCourse.php (99) checking tablename : course & offer 2023-06-20 13:27:47 manageCourse.php (101) checking semester : 1000006 2023-06-20 13:27:47 manageCourse.php (102) filter Dep : 2023-06-20 13:27:47 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 13:32:22 manageCourse.php (19) checking tablename : semester 2023-06-20 13:32:22 manageCourse.php (53) checking tablename : course & offer 2023-06-20 13:32:22 manageCourse.php (19) checking tablename : semester 2023-06-20 13:32:22 manageCourse.php (99) checking tablename : course & offer 2023-06-20 13:32:22 manageCourse.php (101) checking semester : 1000006 2023-06-20 13:32:22 manageCourse.php (102) filter Dep : 2023-06-20 13:32:22 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 13:32:39 manageCourse.php (19) checking tablename : semester 2023-06-20 13:32:39 manageCourse.php (99) checking tablename : course & offer 2023-06-20 13:32:39 manageCourse.php (101) checking semester : 1000006 2023-06-20 13:32:39 manageCourse.php (102) filter Dep : AC 2023-06-20 13:32:39 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? AND department = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 13:32:51 manageCourse.php (19) checking tablename : semester 2023-06-20 13:32:51 manageCourse.php (53) checking tablename : course & offer 2023-06-20 13:32:51 manageCourse.php (19) checking tablename : semester 2023-06-20 13:32:51 manageCourse.php (99) checking tablename : course & offer 2023-06-20 13:32:51 manageCourse.php (101) checking semester : 1000006 2023-06-20 13:32:51 manageCourse.php (102) filter Dep : 2023-06-20 13:32:51 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 13:33:00 manageCourse.php (19) checking tablename : semester 2023-06-20 13:33:00 manageCourse.php (53) checking tablename : course & offer 2023-06-20 13:33:00 manageCourse.php (19) checking tablename : semester 2023-06-20 13:33:00 manageCourse.php (99) checking tablename : course & offer 2023-06-20 13:33:00 manageCourse.php (101) checking semester : 1000006 2023-06-20 13:33:00 manageCourse.php (102) filter Dep : 2023-06-20 13:33:00 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 14:58:00 manageCourse.php (19) checking tablename : semester 2023-06-20 14:58:00 manageCourse.php (99) checking tablename : course & offer 2023-06-20 14:58:00 manageCourse.php (101) checking semester : 1000006 2023-06-20 14:58:00 manageCourse.php (102) filter Dep : 2023-06-20 14:58:00 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 14:58:01 manageCourse.php (19) checking tablename : semester 2023-06-20 14:58:01 manageCourse.php (53) checking tablename : course & offer 2023-06-20 15:11:05 manageCourse.php (19) checking tablename : semester 2023-06-20 15:11:05 manageCourse.php (99) checking tablename : course & offer 2023-06-20 15:11:05 manageCourse.php (101) checking semester : 1000006 2023-06-20 15:11:05 manageCourse.php (102) filter Dep : FN 2023-06-20 15:11:05 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? AND department = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 15:41:25 manageCourse.php (19) checking tablename : semester 2023-06-20 15:41:25 manageCourse.php (19) checking tablename : semester 2023-06-20 15:41:25 manageCourse.php (53) checking tablename : course & offer 2023-06-20 15:41:25 manageCourse.php (99) checking tablename : course & offer 2023-06-20 15:41:25 manageCourse.php (101) checking semester : 1000006 2023-06-20 15:41:25 manageCourse.php (102) filter Dep : 2023-06-20 15:41:25 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 15:42:20 manageCourse.php (19) checking tablename : semester 2023-06-20 15:42:20 manageCourse.php (19) checking tablename : semester 2023-06-20 15:42:20 manageCourse.php (99) checking tablename : course & offer 2023-06-20 15:42:20 manageCourse.php (101) checking semester : 1000006 2023-06-20 15:42:20 manageCourse.php (102) filter Dep : 2023-06-20 15:42:20 manageCourse.php (53) checking tablename : course & offer 2023-06-20 15:42:20 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 19:32:47 manageCourse.php (19) checking tablename : semester 2023-06-20 19:32:47 manageCourse.php (53) checking tablename : course & offer 2023-06-20 19:32:47 manageCourse.php (19) checking tablename : semester 2023-06-20 19:32:47 manageCourse.php (99) checking tablename : course & offer 2023-06-20 19:32:47 manageCourse.php (101) checking semester : 1000006 2023-06-20 19:32:47 manageCourse.php (102) filter Dep : 2023-06-20 19:32:47 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 19:33:26 manageCourse.php (19) checking tablename : semester 2023-06-20 19:33:26 manageCourse.php (99) checking tablename : course & offer 2023-06-20 19:33:26 manageCourse.php (101) checking semester : 1000006 2023-06-20 19:33:26 manageCourse.php (102) filter Dep : 2023-06-20 19:33:26 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 19:35:35 manageCourse.php (19) checking tablename : semester 2023-06-20 19:35:35 manageCourse.php (53) checking tablename : course & offer 2023-06-20 19:35:35 manageCourse.php (19) checking tablename : semester 2023-06-20 19:35:35 manageCourse.php (99) checking tablename : course & offer 2023-06-20 19:35:35 manageCourse.php (101) checking semester : 1000006 2023-06-20 19:35:35 manageCourse.php (102) filter Dep : 2023-06-20 19:35:35 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 19:38:49 manageCourse.php (19) checking tablename : semester 2023-06-20 19:38:49 manageCourse.php (53) checking tablename : course & offer 2023-06-20 19:38:49 manageCourse.php (19) checking tablename : semester 2023-06-20 19:38:49 manageCourse.php (99) checking tablename : course & offer 2023-06-20 19:38:49 manageCourse.php (101) checking semester : 1000006 2023-06-20 19:38:49 manageCourse.php (102) filter Dep : 2023-06-20 19:38:49 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 20:40:10 manageCourse.php (19) checking tablename : semester 2023-06-20 20:40:10 manageCourse.php (220) checking tablename : course 2023-06-20 20:40:10 manageCourse.php (221) checking course Id : 0 2023-06-20 22:27:30 manageCourse.php (19) checking tablename : semester 2023-06-20 22:27:30 manageCourse.php (99) checking tablename : course & offer 2023-06-20 22:27:30 manageCourse.php (101) checking semester : 1000006 2023-06-20 22:27:30 manageCourse.php (102) filter Dep : 2023-06-20 22:27:30 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 22:27:30 manageCourse.php (19) checking tablename : semester 2023-06-20 22:27:30 manageCourse.php (53) checking tablename : course & offer 2023-06-20 22:27:51 manageCourse.php (19) checking tablename : semester 2023-06-20 22:27:51 manageCourse.php (99) checking tablename : course & offer 2023-06-20 22:27:51 manageCourse.php (101) checking semester : 1000006 2023-06-20 22:27:51 manageCourse.php (102) filter Dep : MK 2023-06-20 22:27:51 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? AND department = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId; 2023-06-20 22:27:55 manageCourse.php (19) checking tablename : semester 2023-06-20 22:27:55 manageCourse.php (53) checking tablename : course & offer 2023-06-20 22:27:55 manageCourse.php (19) checking tablename : semester 2023-06-20 22:27:55 manageCourse.php (99) checking tablename : course & offer 2023-06-20 22:27:55 manageCourse.php (101) checking semester : 1000006 2023-06-20 22:27:55 manageCourse.php (102) filter Dep : 2023-06-20 22:27:55 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, null as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT e.courseId, e.offerId, e.enrollmentStatus FROM enrollment as e, offer as o2 WHERE o2.offerId = e.offerId AND o2.semesterId = ? ) as en ON en.courseId = c.courseId;