Vivid Lust Posted January 15, 2010 Share Posted January 15, 2010 How can I do the following: "find everyone whose location is spain, whose language is spanish and whose age is from 16 to 20"? thanks all! Quote Link to comment https://forums.phpfreaks.com/topic/188613-sql-query-help/ Share on other sites More sharing options...
rpmorrow Posted January 15, 2010 Share Posted January 15, 2010 SELECT * FROM DatabaseName WHERE location = 'spain' AND language = 'spanish' AND age >= '16' AND age <= '20'; Quote Link to comment https://forums.phpfreaks.com/topic/188613-sql-query-help/#findComment-995766 Share on other sites More sharing options...
taquitosensei Posted January 15, 2010 Share Posted January 15, 2010 or... age between 16 and 20 Quote Link to comment https://forums.phpfreaks.com/topic/188613-sql-query-help/#findComment-995767 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.