Re: How do you select from a table until a condition is met?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: How do you select from a table until a condition is met?
Дата
Msg-id 20030212203749.GA30483@wolff.to
обсуждение исходный текст
Ответ на Re: How do you select from a table until a condition is met?  (Nicholas Allen <nallen@freenet.co.uk>)
Ответы Re: How do you select from a table until a condition is met?  (Nicholas Allen <nallen@freenet.co.uk>)
Список pgsql-sql
On Wed, Feb 12, 2003 at 20:55:21 +0100, Nicholas Allen <nallen@freenet.co.uk> wrote:
> I thought of this but the problem is that there may be multiple rows with the 
> same value for the column I am sorting on. Eg if sorting on a surname then 
> there may be 100s of people with the same surname so generating a where 
> clause that selects up to the exact person previously selected is very 
> difficult.

Then you should sort on surname AND whatever you are using as the primary key.


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

Предыдущее
От: Nicholas Allen
Дата:
Сообщение: Re: How do you select from a table until a condition is met?
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: How do you select from a table until a condition is met?