Re: postgresql vs mysql

Поиск
Список
Период
Сортировка
От Chad Wagner
Тема Re: postgresql vs mysql
Дата
Msg-id 81961ff50702220949l9619d8ao2f4ce8005f6b3175@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgresql vs mysql  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On 2/22/07, Martijn van Oosterhout <kleptog@svana.org> wrote:
On Thu, Feb 22, 2007 at 12:05:20PM +1100, Chris wrote:
> >SELECT foo, bar, COUNT(*)
> >FROM baz
> >GROUP BY foo

> That one actually comes in handy ;) Especially in older versions (4.0)
> that don't support subselects..

I must say I don't see any reasonable way of interpreting the above
query. Is the value of bar selected randomly?

The value of bar happens to be the first value fetched based on the GROUP BY of foo, not sure how predictable and repeatable it is.

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: php professional
Следующее
От: "Joris Dobbelsteen"
Дата:
Сообщение: Re: complex referential integrity constraints