Re: possible bug with group by?

Поиск
Список
Период
Сортировка
От Julie Hunt
Тема Re: possible bug with group by?
Дата
Msg-id 392C6046.E03F6DCF@chac.qld.edu.au
обсуждение исходный текст
Ответ на possible bug with group by?  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-sql

Joseph Shraibman wrote:

>
>
> playpen=> select a, b, case when c is null then 'not set' else 'set' end
> as z from tablea group by a, b, z;
> ERROR:  Unable to identify an operator '<' for types 'unknown' and
> 'unknown'
>         You will have to retype this query using an explicit cast
> playpen=>

Hi,

should your group by be a, b, c not a, b, z?

Regards
Julie



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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: possible bug with group by?
Следующее
От: Ryan Bradetich
Дата:
Сообщение: Use of index in 7.0 vs 6.5