Multiple values in SELECT query
| From: | Ron Piggott | Date: | Sun, 09 Mar 2008 19:34:05 +0000 |
| Subject: | Multiple values in SELECT query | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44729@lists.php.net to get a copy of this message | ||
What is the correct syntax for where the results may be 1 or 2? What
have I done wrong?
SELECT * FROM table WHERE name LIKE "ABC" AND listing_type = 1 or 2
???
Ron