If I want to filter out records when SELECTing from a database, how do I do
it with an
and/or type of statement.  Like this:

SELECT * FROM websites WHERE keywords LIKE '%akeyword%' AND/OR description
LIKE '%description%'

I want it to show most relevant (AND) then 2nd to most (OR).  Please help.

- Deryck H
- http://www.comp-u-exchange.com


---------------------------------------------------------------------
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