From: | Együd Csaba <csegyud(at)freemail(dot)hu> |
---|---|
To: | Bruno Wolff III <bruno(at)wolff(dot)to> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Getting all rows even if not a member of any groups |
Date: | 2003-06-27 14:18:10 |
Message-ID: | 00e501c33cb6$f4cc4cd0$230a0a0a@compaq |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2003-06-27 14:26:35 | Re: Change the behaviour of the SERIAL "Type" |
Previous Message | Bruno Wolff III | 2003-06-27 14:08:54 | Re: Getting all rows even if not a member of any groups |