From: | Peter Hoskin <peterh(at)criten(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Expression matching related question |
Date: | 2006-04-09 20:39:43 |
Message-ID: | 4439710F.8070609@criten.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I should of mentioned, left is a bigint and network is an integer
Peter Hoskin wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2006-04-09 20:42:07 | Re: Expression matching related question |
Previous Message | Martijn van Oosterhout | 2006-04-09 20:32:29 | Re: Date & Time with time zone |