2022-06-09 16:26:52 manageCourse.php (19) checking tablename : semester 2022-06-09 16:27:05 manageCourse.php (19) checking tablename : semester 2022-06-09 16:27:05 manageCourse.php (99) checking tablename : course & offer 2022-06-09 16:27:05 manageCourse.php (101) checking semester : 1000005 2022-06-09 16:27:05 manageCourse.php (102) filter Dep : 2022-06-09 16:27:05 manageCourse.php (104) checking session type : student 2022-06-09 16:27:05 manageCourse.php (107) stdId : 1000048 2022-06-09 16:27:05 manageCourse.php (167) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, en.enrollmentStatus 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 = ? AND e.studentId = ? ) as en ON en.courseId = c.courseId; 2022-06-09 16:27:07 manageCourse.php (19) checking tablename : semester 2022-06-09 16:27:07 manageCourse.php (220) checking tablename : course 2022-06-09 16:27:07 manageCourse.php (221) checking course Id : 1000004 2022-06-09 16:27:10 manageCourse.php (19) checking tablename : semester 2022-06-09 16:27:10 manageCourse.php (220) checking tablename : course 2022-06-09 16:27:10 manageCourse.php (221) checking course Id : 1000004