Re: Finding nearest numeric value - Mailing list pgsql-general

From Tom Lane
Subject Re: Finding nearest numeric value
Date
Msg-id 26449.1124294663@sss.pgh.pa.us
Whole thread Raw
In response to Re: Finding nearest numeric value  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-general
Csaba Nagy <nagy@ecircle-ag.com> writes:
> The only problem is that you can't use the order by/limit syntax inside
> the union queries I guess, cause the query you proposed is giving a
> syntax error.

Parentheses are your friend ;-)

            regards, tom lane

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Finding nearest numeric value
Next
From: Mario Guenterberg
Date:
Subject: Re: Adding contrib modules