A database is structured as follows:
where column 1 consists of integers. Is it possible to create query
that will select the most appropriate records for a sum of integers.
For example, if the target sum of integers is 50, is it possible to
select a set of records that will be closest to this value?
Thanks in advance.
pgsql-novice by date
|Next:||From: Frank Bax||Date: 2011-05-14 12:27:33|
|Subject: Re: select records by nearest value|
|Previous:||From: Birchall, Austen||Date: 2011-05-12 13:29:41|
|Subject: More WAL archiving/backup questions|