Re: How to Select with more than one AND in a Where SQL Clause? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: How to Select with more than one AND in a Where SQL Clause?
Date
Msg-id 200208291159.08806.josh@agliodbs.com
Whole thread Raw
In response to How to Select with more than one AND in a Where SQL Clause?  ("Zenith Vivas" <zenithvivas@hotmail.com>)
List pgsql-sql
Zenith,

> Qry = "Select * from Table Where A1 Like '%' AND A2 Like '%' AND A3 Like '%'
> AND A4 Like '%' AND A5 Like '%'"
>
> But in spite of I need a SQL sentence with four (04) AND's in its Where
> clause, my SQL compiler only allow me using one AND.
>
> So How can I solve such a problem.

This is not a PostgreSQL problem, it is a problem with whatever program you're
using.   Use different database tools, or access PostgreSQL directly through
PSQL.

--
-Josh BerkusAglio Database SolutionsSan Francisco



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Why must the function that a trigger calls return "opaque" ???
Next
From: Marco Muratori
Date:
Subject: query problem