From: Kristofer Munn <kmunn@munn.com>
To: Craig May <craig.may@s2.enthdimension.com.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: Join
Date: Thu, 7 Sep 2000 10:03:26 -0400 (EDT)
Message-ID: <Pine.LNX.4.10.10009071002080.1998-100000@munn.com> (raw)
In-Reply-To: <20000908005911.A1878@s2.enthdimension.com.au>
> I'm having trouble with this statement, could someone help out please.
>
> Select g.ID From Grouping g join Entity_Grouping eg on
> g.ID=eg.Group_ID where eg.Entity_ID=1
Try
select g.ID from Grouping g, Entity_Grouping eg where g.ID = eg.Group_ID
and eg.Entity_ID = 1;
That's not the join syntax you were using but that should do the trick.
- K
Kristofer Munn * KMI * 732-254-9305 * AIM KrMunn * http://www.munn.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: kmunn@munn.com, craig.may@s2.enthdimension.com.au
Subject: Re: Join
In-Reply-To: <Pine.LNX.4.10.10009071002080.1998-100000@munn.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox