Those can be tough ones to figure out. My bug is normally the wrong number of commas (your example is correct). Also, you might try some simple things like putting square backets around the field name, hard code the where clause to try to get something simple to work. In short, get a simple test case to work first. The where clause does work.