Re: sub-sel/group problem

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-sql(at)postgresql(dot)org, gary(dot)stainburn(at)ringways(dot)co(dot)uk
Subject: Re: sub-sel/group problem
Date: 2003-08-11 10:38:31
Message-ID: 3F377226.AA6CF1C0@rodos.fzk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> select r.rtid, concat(r.rcid::text || ' on ' || l.lnumber::text) as
task
> from rides r, loco_dets l where r.rlid = l.lid group by rtid;
>
Looks like another implicit FROM clause mystery.
Try
... GROUP BY r.rtid ;
The same goes for the JOIN.

Regards, Christoph

Browse pgsql-sql by date

  From Date Subject
Next Message Gary Stainburn 2003-08-11 10:38:43 Re: sub-sel/group problem
Previous Message Gary Stainburn 2003-08-11 10:24:07 sub-sel/group problem