majhate Posted February 8, 2008 Share Posted February 8, 2008 Hello, I am trying to use two 'where's in this query. I do not know if I am doing it right, nor if it is even possible. SELECT * from user where l_name = '$l_name' && age < '17' Thanks, Jason Quote Link to comment Share on other sites More sharing options...
fenway Posted February 8, 2008 Share Posted February 8, 2008 No problem... I find it's easier to read "AND", but it's the same. Just remember precedence rules if you mix OR's and AND's. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.