How to select by proximity

Поиск
Список
Период
Сортировка
От Francisco Leovey
Тема How to select by proximity
Дата
Msg-id 1337018449.10244.YahooMailNeo@web39304.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: How to select by proximity  (Postgres <DStaal@usa.net>)
Список pgsql-novice
Hello group
 
I have a large table indexed by a varchar column
I would like to select records that are around the hit value, say "Marriot" by index order
How can I retrieve the prior and next in order?
Is there a goto "Marriot" and then a goto +1 and goto -1 SQL facility?

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: Unwanted time zone conversion
Следующее
От: Postgres
Дата:
Сообщение: Re: How to select by proximity