Solved! Go to Solution.
"Name" in ('New York', 'Los Angeles')
Michael made a great suggestion with the IN function.
If you're wondering how to fix your original query, here's the solution.
"Name" = 'New York' OR "Name" = 'Los Angeles'
You need to mention the field name twice. And in this context I think the OR is what you want.