2022-02-11 10:43:58 manageCourse.php (18) checking tablename : semester 2022-02-11 10:43:58 manageCourse.php (52) checking tablename : course & offer 2022-02-11 10:43:58 manageCourse.php (18) checking tablename : semester 2022-02-11 10:43:58 manageCourse.php (98) checking tablename : course & offer 2022-02-11 10:43:58 manageCourse.php (100) checking semester : 1000002 2022-02-11 10:43:58 manageCourse.php (132) 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 courseId, offerId, enrollmentStatus FROM enrollment ) as en ON en.courseId = c.courseId; 2022-02-11 12:49:34 manageCourse.php (18) checking tablename : semester