On Fri, Jun 18, 2010 at 16:30, Dave <[email protected]> wrote:
> SELECT * FROM contacts WHERE state = 'CA' and ???? name = 'bob' or
> name = 'sam' or name = 'sara' ????
We begin by asking on the right list ([email protected], CC'd
by courtesy).
You're on the right track though. Try a WHERE...IN statement:
SELECT * FROM contacts WHERE state='CA' AND name IN ('bob','sam','sara');
--
</Daniel P. Brown>
[email protected] || [email protected]
http://www.parasane.net/ || http://www.pilotpig.net/
We now offer SAME-DAY SETUP on a new line of servers!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php