On Thu, Dec 06, 2001 at 11:15:03AM +0000, Chris Withers wrote: > Jeremy Zawodny wrote: > > > > Hm. It sounds like you just want to combine the WHERE clauses > > (intelligently) and end up with one big query, right? > > Yup, but given that each WHERE clause is already pretty hairy, I was > hoping someone would say "oh, sure, here's some set operations to > complement UNION" ;-)
How about, "try out MySQL 4.0 with UNION support"? :-) > If that's not the case, then is there an algorith for combining > there WHERE clauses? Programmatically? Not that I know of. It'd be a non-trivial task... Manually, it's that--manual. :-( > Chris . o ( I have visions of writign a compiler to generate a SELECT ;-) ) Ahh. -- 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 157,288,180 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