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 'AND cs.course_session_id=9' 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 = AND cs.course_session_id=9