Re: select records by nearest value

Поиск
Список
Период
Сортировка
От e-letter
Тема Re: select records by nearest value
Дата
Msg-id BANLkTin6WRAG_-W3o3MzaNTg4U+brr5_9w@mail.gmail.com
обсуждение исходный текст
Ответ на select records by nearest value  (e-letter <inpost@gmail.com>)
Ответы Re: select records by nearest value  (Lew <noone@lewscanon.com>)
Список pgsql-novice
Thanks, I read the link and received the following error:

ERROR:  aggregates not allowed in WHERE clause

Using the example:

WHERE g1.gid = 1 and g1.gid <> g2.gid

The error occurs if the function:

=1

is replaced by:

SUM(1000)

Another question: what does '<>' mean? Couldn't find explanation in the manual.

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

Предыдущее
От: Joshua Tolley
Дата:
Сообщение: Re: More WAL archiving/backup questions
Следующее
От: Lew
Дата:
Сообщение: Re: select records by nearest value