2022-04-18 08:29:32 manageCourse.php (19) checking tablename : semester 2022-04-18 08:29:32 manageCourse.php (19) checking tablename : semester 2022-04-18 08:29:32 manageCourse.php (53) checking tablename : course & offer 2022-04-18 08:29:32 manageCourse.php (99) checking tablename : course & offer 2022-04-18 08:29:32 manageCourse.php (101) checking semester : 1000003 2022-04-18 08:29:32 manageCourse.php (102) filter Dep : 2022-04-18 08:29: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; 2022-04-18 08:56:16 manageCourse.php (19) checking tablename : semester 2022-04-18 10:12:05 manageCourse.php (19) checking tablename : semester 2022-04-18 10:12:05 manageCourse.php (99) checking tablename : course & offer 2022-04-18 10:12:05 manageCourse.php (101) checking semester : 1000003 2022-04-18 10:12:05 manageCourse.php (102) filter Dep : 2022-04-18 10:12: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 = ? ) 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; 2022-04-18 10:12:05 manageCourse.php (19) checking tablename : semester 2022-04-18 10:12:05 manageCourse.php (53) checking tablename : course & offer 2022-04-18 11:07:53 manageCourse.php (19) checking tablename : semester 2022-04-18 11:07:53 manageCourse.php (19) checking tablename : semester 2022-04-18 14:48:08 manageCourse.php (19) checking tablename : semester 2022-04-18 14:48:08 manageCourse.php (19) checking tablename : semester 2022-04-18 14:48:08 manageCourse.php (99) checking tablename : course & offer 2022-04-18 14:48:08 manageCourse.php (53) checking tablename : course & offer 2022-04-18 14:48:08 manageCourse.php (101) checking semester : 1000003 2022-04-18 14:48:08 manageCourse.php (102) filter Dep : 2022-04-18 14:48:08 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;