mapleleaf Posted January 2, 2010 Share Posted January 2, 2010 SELECT * FROM articles WHERE theme_id = 4 AND WHERE second_theme IN ( 15 ) gives a sql eror but both the WHERE clauses run ok alone. What I am I missing in the AND process? Must be very simple but noyt for me!! Quote Link to comment Share on other sites More sharing options...
trq Posted January 2, 2010 Share Posted January 2, 2010 SELECT * FROM articles WHERE theme_id = 4 AND second_theme IN ( 15 ) Quote Link to comment Share on other sites More sharing options...
mapleleaf Posted January 2, 2010 Author Share Posted January 2, 2010 Perfect!! Thanks 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.