i have following tables in the DB
student, subjects, category, majors, interest
student table has a primary key of student_id and every other table has a foriegn key of student_id ...now on a page i want to display all records from tables having foriegn keys where the student_id is let say 1
i know i would have to write a long inner join code but i am confused how to do it
plz help me out