Chris,
Wednesday, June 05, 2002, 6:51:16 PM, you wrote:

CH> I am new to MySQL and SQL in general.
CH> I was wondering how to narrow down a
CH> search. I wanted to do something
CH> like
CH> select * from table where x, y, z;

You can use AND and OR in WHERE clause, f.e.
    SELECT * FROM table WHERE x=1 AND y=2 AND z=3;

Look at:
     http://www.mysql.com/doc/S/e/Selecting_rows.html

CH> but this doesn't work. Can someone help me?




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.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