Re: how to have 2 select creteria on one column?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: how to have 2 select creteria on one column?
Дата
Msg-id 20050910175733.GA11142@wolff.to
обсуждение исходный текст
Ответ на how to have 2 select creteria on one column?  (Michael Hoeller <MichaelHoeller@t-online.de>)
Список pgsql-sql
On Sat, Sep 10, 2005 at 17:45:50 +0200, Michael Hoeller <MichaelHoeller@t-online.de> wrote:
> Hello, 
> 
> I would like to select every row which has got in the column CODE a "k" 
> but I want to exclude every "kV" -- may be it is due to the fact that 
> it is Saturday and I work too long I don't get it.. I tried a 
> subselect, union but I struggle with the two select creteria on one 
> column.

Your description isn't as precise as would be nice. But from what I can figure
you want:
code ~ '^k[^V]'


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

Предыдущее
От: MichaelHoeller@t-online.de
Дата:
Сообщение: Re: how to update with a join?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: how to update with a join?