From: Loredana Curugiu <loredana.curugiu@gmail.com>
To: Richard Huxton <dev@archonet.com>
To: pgsql-novice@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] Select last there dates
Date: Thu, 21 Jun 2007 16:33:06 +0300
Message-ID: <1c23c8e70706210633g234e06a1qb25558091e572971@mail.gmail.com> (raw)
In-Reply-To: <467A7AAD.8090006@archonet.com>
References: <1c23c8e70706210118h6b9490e3s11e2a6ba15cdff6c@mail.gmail.com>
<20070621095025.GG1405@a-kretschmer.de>
<1c23c8e70706210600he74293ci83bdbc557ee2dba8@mail.gmail.com>
<467A7AAD.8090006@archonet.com>
>
>
> I think there might be a small typo though. The left-join is to:
> (select uid, phone_numer, datum from t2 order by 2 )
> Probably want to order by "datum DESC" too, to ensure you get the latest
> dates for each telnum.
yes, I also observed this, so I have add to my query.
Thank you for your explanations, Richard.
Best regards,
Loredana
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: loredana.curugiu@gmail.com, dev@archonet.com, pgsql-novice@postgresql.org
Subject: Re: [SQL] Select last there dates
In-Reply-To: <1c23c8e70706210633g234e06a1qb25558091e572971@mail.gmail.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