2023-05-31 09:24:00 manageCourse.php (19) checking tablename : semester 2023-05-31 09:24:00 manageCourse.php (53) checking tablename : course & offer 2023-05-31 09:24:01 manageCourse.php (19) checking tablename : semester 2023-05-31 09:24:01 manageCourse.php (99) checking tablename : course & offer 2023-05-31 09:24:01 manageCourse.php (101) checking semester : 1000006 2023-05-31 09:24:01 manageCourse.php (102) filter Dep : 2023-05-31 09:24:01 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-05-31 12:09:20 manageCourse.php (19) checking tablename : semester 2023-05-31 12:09:20 manageCourse.php (53) checking tablename : course & offer 2023-05-31 12:09:20 manageCourse.php (19) checking tablename : semester 2023-05-31 12:09:20 manageCourse.php (99) checking tablename : course & offer 2023-05-31 12:09:20 manageCourse.php (101) checking semester : 1000006 2023-05-31 12:09:20 manageCourse.php (102) filter Dep : 2023-05-31 12:09: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-05-31 18:49:09 manageCourse.php (19) checking tablename : semester 2023-05-31 18:49:09 manageCourse.php (99) checking tablename : course & offer 2023-05-31 18:49:09 manageCourse.php (101) checking semester : 1000006 2023-05-31 18:49:09 manageCourse.php (102) filter Dep : 2023-05-31 18:49:09 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-05-31 18:49:09 manageCourse.php (19) checking tablename : semester 2023-05-31 18:49:09 manageCourse.php (53) checking tablename : course & offer