LLBLGen Pro doesn't support 'derived' tables at the moment, i.e. joining with a selectlist of another query.
However, what I don't understand is that you select data from another set which has a 1:1 relation with the parent set, as you join on the PK field (TaskNo, at least that's what I assume is the PK). I.o.w.: that info is already available in 'a', or am I missing/overlooking something?