Problem solved. Quick follow-up for those in the learning like
me: One needs to use a left outer join on allergy and
clin_narrative:
... from (allergy a left outer join clin_narrative cn on (a.id_comment=cn.id)) ...
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346