Re: > and >= give the same result

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: > and >= give the same result
Дата
Msg-id 4EFC8465.10601@sympatico.ca
обсуждение исходный текст
Ответ на Re: > and >= give the same result  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Ответы Re: > and >= give the same result  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Список pgsql-novice
On 12/29/11 09:29, Jean-Yves F. Barbier wrote:
> On Thu, 29 Dec 2011 08:48:37 -0500
> Frank Bax<fbax@sympatico.ca>  wrote:
>>
>> The string 'y%' is greater than 'y'! Therefore, both queries will return
>> y% and z% - where is the problem?
>
> Well, I hoped '>' would have returned all rows beginning by 'z'
> and not any 'y'.


WHERE substr(note,0,1)>'y'

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

Предыдущее
От: Francisco Leovey
Дата:
Сообщение: Re: Login role
Следующее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: Re: > and >= give the same result