2024-09-23 15:40:41 manageCourse.php (19) checking tablename : semester 2024-09-23 15:40:41 manageCourse.php (19) checking tablename : semester 2024-09-23 15:40:41 manageCourse.php (99) checking tablename : course & offer 2024-09-23 15:40:41 manageCourse.php (53) checking tablename : course & offer 2024-09-23 15:40:41 manageCourse.php (101) checking semester : 1000006 2024-09-23 15:40:41 manageCourse.php (102) filter Dep : 2024-09-23 15:40:41 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; 2024-09-23 15:41:32 manageCourse.php (19) checking tablename : semester 2024-09-23 15:41:32 manageCourse.php (19) checking tablename : semester 2024-09-23 15:41:32 manageCourse.php (53) checking tablename : course & offer 2024-09-23 15:41:32 manageCourse.php (99) checking tablename : course & offer 2024-09-23 15:41:32 manageCourse.php (101) checking semester : 1000006 2024-09-23 15:41:32 manageCourse.php (102) filter Dep : 2024-09-23 15:41:32 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; 2024-09-23 15:49:26 manageCourse.php (19) checking tablename : semester 2024-09-23 15:49:26 manageCourse.php (19) checking tablename : semester 2024-09-23 15:49:26 manageCourse.php (53) checking tablename : course & offer 2024-09-23 15:49:26 manageCourse.php (99) checking tablename : course & offer 2024-09-23 15:49:26 manageCourse.php (101) checking semester : 1000006 2024-09-23 15:49:26 manageCourse.php (102) filter Dep : 2024-09-23 15:49: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;