So my table is called prereqTable and looks something like
JobID prereq
job254 job111
job345 job254
job432 job345
I need to find a query that returns all prereq for a job. Example: If I want prereqs for job432 they would be: job111, job254, job345
so prereq where jobid = "job432"
is job345.. I need to somehow query job 345, then job254, and stop when there are no prereqs left.
Any ideas???