Re: grouping and first()

Поиск
Список
Период
Сортировка
От Chad Thompson
Тема Re: grouping and first()
Дата
Msg-id 0e0201c27c38$3a793530$32021aac@chad
обсуждение исходный текст
Ответ на grouping and first()  ("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
>




В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Foreign character struggles
Следующее
От: Tim Perdue
Дата:
Сообщение: Re: Foreign character struggles