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.
"Name" in ('New York', 'Los Angeles')
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.