How can i make this works?
I have 2 tables:
course:
course id,name
prereq:
course id,prereq id
What is the query for this result:
+----------+------------+----------+------------+
|Course ID |Name |Prereq ID |Prereq Name |
|1 |Intro into B| | |
|2 |Biology |1 |Intro into B|
|3 |Genetics |1 |Intro into B|
+----------+------------+----------+------------+