From: Együd Csaba <csegyud@freemail.hu>
To: Bruno Wolff III <bruno@wolff.to>
Cc: pgsql-sql@postgresql.org
Subject: Re: Getting all rows even if not a member of any groups
Date: Fri, 27 Jun 2003 16:18:10 +0200
Message-ID: <00e501c33cb6$f4cc4cd0$230a0a0a@compaq> (raw)
References: <11362.1056313692@www59.gmx.net>
<00bd01c33c9d$1b584e90$230a0a0a@compaq>
<20030627140854.GA15269@wolff.to>
Bruno,
> Please don't reply to messages to start a new thread.
sorry, I will never do such things in the future.
> select t_productgroups.name as pgroup,
> t_products.id as productid
> from t_products
> left join (t_prod_in_pgr
> join t_productgroups on (t_productgroups.id =
t_prod_in_pgr.productgroupid))
> on (t_products.id=productid)
> order by pgroup, productid;
This is absolutelly what I want, but I can't understand how it is working.
Where can I find a descriptive (tale-like, for kids ... :) ) documentation
about using joins?
Thank you wery mauch.
-- Csaba
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 2003. 06. 18.
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: csegyud@freemail.hu, bruno@wolff.to
Subject: Re: Getting all rows even if not a member of any groups
In-Reply-To: <00e501c33cb6$f4cc4cd0$230a0a0a@compaq>
* 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