Re: 'foreign key with default null' problem in allergies view

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 'foreign key with default null' problem in allergies view
Date: 2003-05-02 23:24:47
Message-ID: 20030503012447.J4463@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2003-05-02 23:27:15 Re: PSQL by itself?
Previous Message Stephan Szabo 2003-05-02 23:21:29 Re: 'foreign key with default null' problem in allergies