Tente:
SELECT NomeD
FROM DISCIPLINA d
WHERE d.PreReqD IS NULL
AND NOT EXISTS
(SELECT 1
FROM DISCIPLINA d1
WHERE d1.PreReqD = d.CodD
AND d1.PreReqD IS NOT NULL)
Veja funcionando no SqlFiddle.
Tente:
SELECT NomeD
FROM DISCIPLINA d
WHERE d.PreReqD IS NULL
AND NOT EXISTS
(SELECT 1
FROM DISCIPLINA d1
WHERE d1.PreReqD = d.CodD
AND d1.PreReqD IS NOT NULL)
Veja funcionando no SqlFiddle.