select subject.Name_Sub,subject.ID_Sub,job.ID_Job
from promise,job,subject,assess
where job.ID_Sub = Subject.ID_Sub and
job.ID_Prom = 'P_1265272733' and
job.ID_Prom = Promise.ID_Prom and
job.semester = '1' and
job.Year = '2010' and
job.ID_Job NOT IN (select ID_Job from assess)