Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
Error No: 1064
SELECT co.*,cs.*,cl.*
FROM course AS co
INNER JOIN course_session AS cs ON cs.course_id = co.course_id
INNER JOIN course_location AS cl ON cl.course_session_id = cs.course_session_id
WHERE co.course_id = 21 AND cs.course_session_id=