On Thu, Dec 06, 2001 at 09:10:38AM +0000, Chris Withers wrote:
> ...in MySQL, to keep the list filter happy :-(        
> 
> Hi,
> 
> I have several different SELECTs, each of which returns a set of
> results which I'd like to combine in a boolean fashion.  So, say I
> have 4 selects, w, x, y, and z, I might want to do:
> 
> ((x AND y) OR Z ) AND (NOT w)
> 
> What's the best way of going about this?

Hm.  It sounds like you just want to combine the WHERE clauses
(intelligently) and end up with one big query, right?

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

MySQL 3.23.41-max: up 7 days, processed 156,695,426 queries (257/sec. avg)

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to