Skip site navigation (1) Skip section navigation (2)

fk problems with 0..n relations

From: "Luis Silva" <lfs12(at)hotmail(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: fk problems with 0..n relations
Date: 2005-12-05 01:45:37
Message-ID: BAY18-DAV47319AA603D30C9A4F682B5410@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-novice
I there, i'm having a problem. i have a table(1) that is connected with two multiple table (2 and 3). the problem is that the table 1 might have one of the tables (2 or 3, or both). how can i make this relationship in sql. Resuming, table 1 as a 0..n relation with table 2 and 3. thanks in advance.

Responses

pgsql-novice by date

Next:From: Bruno Wolff IIIDate: 2005-12-05 04:55:42
Subject: Re: fk problems with 0..n relations
Previous:From: Marcus EngeneDate: 2005-12-04 22:53:50
Subject: fts, compond words?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group