Is it possible to make this type of logical command in MySQL?
if ((x == y) or (x == z)) { response1 }
else { response2 }
>From what I can see the sql if statement will only handle one argument on
the LHS. Can this be done, or do I need to look at multiple queries and
then combine the results externally?
--
===============================================
Kip Turk phone: 915.234.5678
Systems Administrator or 800.695.9016
Killer of Spam/Writer of Code/Penguin Proponent
West Central Net fax: 915.656.0071
===============================================
---------------------------------------------------------------------
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