From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
To: gary.stainburn@ringways.co.uk
Subject: Re: sub-sel/group problem
Date: Mon, 11 Aug 2003 12:38:31 +0200
Message-ID: <3F377226.AA6CF1C0@rodos.fzk.de> (raw)
>
> 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
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: ch@rodos.fzk.de, gary.stainburn@ringways.co.uk
Subject: Re: sub-sel/group problem
In-Reply-To: <3F377226.AA6CF1C0@rodos.fzk.de>
* 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