pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zenith Vivas <zenithvivas@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: How to Select with more than one AND in a Where SQL  Clause?
Date: Thu, 29 Aug 2002 19:20:46 +0000
Message-ID: <F193T8A943W4Kpvh7ZZ0000547b@hotmail.com> (raw)

Dear friends,
I need a SQL sentence like this:

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.

Many thanks in advance!

Zenith Vivas













_________________________________________________________________
Charle con sus amigos online usando MSN Messenger: http://messenger.msn.com




view thread (2+ messages)

Message-ID: <F193T8A943W4Kpvh7ZZ0000547b@hotmail.com>
Permalink:  ../F193T8A943W4Kpvh7ZZ0000547b@hotmail.com/
Also on:    postgresql.org/message-id/F193T8A943W4Kpvh7ZZ0000547b@hotmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: zenithvivas@hotmail.com
  Subject: Re: How to Select with more than one AND in a Where SQL  Clause?
  In-Reply-To: <F193T8A943W4Kpvh7ZZ0000547b@hotmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox