I have a courses table which has information about courses. It has the following Fields: courseID, Professor, Units.
There is another table called prereq which has prereq id as the primary key. courseID is a foreign key in the prereq table because one course can have many prereqs. The prereq table also has a field called prereqname which simply gives the name of the course that is a prereq.
So right now if i want to find all of the prereqs of a specific course I only get the name.
Is there a way to use the courseID a second time in the prereq table so that when i want to find the prereqs of a specific course I can get all of the course data of the prereqs?