I have the following database schema:
student: sid (string) course: cid (string) prerequisite: cid (string), precid (string) record: sid (string), cid (string), q