Mar 11, 2007 #1 SMAlvarez Programmer Dec 4, 2005 27 US what is wrong with the following code? WHERE Ratings.Rating = (Coffee.Rating AND Country in('Dominican Republic', 'Jamaica', 'Colombia', 'Venezuela', 'Mexico'); country is in a table called Coffee if that helps. Thanks for any help!
what is wrong with the following code? WHERE Ratings.Rating = (Coffee.Rating AND Country in('Dominican Republic', 'Jamaica', 'Colombia', 'Venezuela', 'Mexico'); country is in a table called Coffee if that helps. Thanks for any help!
Mar 11, 2007 #2 AlexCuse Programmer Apr 13, 2006 5,416 US Parentheses are no good. Try this: Code: WHERE Ratings.Rating = Coffee.Rating AND Country in('Dominican Republic', 'Jamaica', 'Colombia', 'Venezuela', 'Mexico'); Hope it helps, Alex Ignorance of certain subjects is a great part of wisdom Upvote 0 Downvote
Parentheses are no good. Try this: Code: WHERE Ratings.Rating = Coffee.Rating AND Country in('Dominican Republic', 'Jamaica', 'Colombia', 'Venezuela', 'Mexico'); Hope it helps, Alex Ignorance of certain subjects is a great part of wisdom