2023-10-09 01:12:42 manageCourse.php (19) checking tablename : semester 2023-10-09 01:12:42 manageCourse.php (19) checking tablename : semester 2023-10-09 01:44:14 manageCourse.php (19) checking tablename : semester 2023-10-09 01:44:14 manageCourse.php (19) checking tablename : semester 2023-10-09 10:14:00 manageCourse.php (19) checking tablename : semester 2023-10-09 10:14:00 manageCourse.php (53) checking tablename : course & offer 2023-10-09 10:14:00 manageCourse.php (19) checking tablename : semester 2023-10-09 10:14:00 manageCourse.php (99) checking tablename : course & offer 2023-10-09 10:14:00 manageCourse.php (101) checking semester : 1000006 2023-10-09 10:14:00 manageCourse.php (102) filter Dep : 2023-10-09 10:14: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-10-09 20:59:12 manageCourse.php (19) checking tablename : semester 2023-10-09 20:59:12 manageCourse.php (53) checking tablename : course & offer 2023-10-09 20:59:12 manageCourse.php (19) checking tablename : semester 2023-10-09 20:59:12 manageCourse.php (99) checking tablename : course & offer 2023-10-09 20:59:12 manageCourse.php (101) checking semester : 1000006 2023-10-09 20:59:12 manageCourse.php (102) filter Dep : 2023-10-09 20:59: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;