ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list

Поиск
Список
Период
Сортировка
От Gourish Singbal
Тема ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
Дата
Msg-id 674d1f8a050314020068b6c0c8@mail.gmail.com
обсуждение исходный текст
Ответы Re: ERROR: for SELECT DISTINCT, ORDER BY expressions must  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-admin
The Query needs to have the distinct clause in the select statement
and the UPPER clause in the order by clause.

eg.
select distinct id, type from user_list order by UPPER(type)

Please let me know if there is any solution to this issue
thanks in advance.
--
Best,
Gourish Singbal

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

Предыдущее
От: Mitchell Laks
Дата:
Сообщение: Re: Severe Badness On My Server: psql: FATAL: the database
Следующее
От: David Wagoner
Дата:
Сообщение: Log to Syslog or rotatelogs? Advice Please