pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedgrouping and first()
2+ messages / 2 participants
[nested] [flat]
* grouping and first()
@ 2002-10-24 08:12 peter <peter@peter.com>
2002-10-25 15:06 ` Re: grouping and first() Chad Thompson <chad@weblinkservices.com>
0 siblings, 1 reply; 2+ messages in thread
From: peter @ 2002-10-24 08:12 UTC (permalink / raw)
To: pgsql-sql
Hi, just wondering if anyone can tell me what replaces the first function
in access.
Thanks
PEter
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: grouping and first()
2002-10-24 08:12 grouping and first() peter <peter@peter.com>
@ 2002-10-25 15:06 ` Chad Thompson <chad@weblinkservices.com>
0 siblings, 0 replies; 2+ messages in thread
From: Chad Thompson @ 2002-10-25 15:06 UTC (permalink / raw)
To: peter <peter@peter.com>; pgsql-sql
select first(a) from ta order by a
in access, is equivilent to
select a from ta order by a limit 1
Thanks
Chad
P.S. Note that access will always return the same value if you exclude the
order by, this is not necessarily true with postgresql or any real RDBS.
----- Original Message -----
From: "peter" <peter@peter.com>
To: <pgsql-sql@postgresql.org>
Sent: Thursday, October 24, 2002 2:12 AM
Subject: [SQL] grouping and first()
> Hi, just wondering if anyone can tell me what replaces the first function
> in access.
>
>
> Thanks
>
> PEter
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-10-25 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24 08:12 grouping and first() peter <peter@peter.com>
2002-10-25 15:06 ` Chad Thompson <chad@weblinkservices.com>
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