How to get the relevent table data using JOIN Query – Photoshop
course{ course_id, course_name, } subject{ subject_id, subject_name, course_id } student{ email, course_id, } This is my code , It display all the subjects belongs to the course $_GET['email_address']=$_SESSION['email_address']; $sql="(SELECT c.course_name course_name,su.subject_name subject_name from subject su LEFT JOIN course c ON…