Expression matching related question

Поиск
Список
Период
Сортировка
Hi,

I wish to do a query such as:
SELECT * FROM table WHERE column='something' AND column2='something
else' AND (network='0' OR (left=0 AND network>0));

However, when I execute this in phppgadmin I'm told there is an error
around the = character in left=0. Can't seem to figure the syntax.

Help would be appreciated.

Regards,
Peter Hoskin

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

Предыдущее
От: "Milen Kulev"
Дата:
Сообщение: Re: "Pg_restore -C" is not creating a database ( Was Create database bug in 8.1.3 ? )
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Date & Time with time zone