Let's say I have this: https://i.imgur.com/skAJi07.png
I would like the result from a query to look like this: https://i.imgur.com/3zJVLtX.png
Could someone help me out? Essentially all I am trying to do is not get ids where all city values for the same id is NOT Miami.
I have tried a couple of group by/having(sum) and also tried where not exists. But I can't get an answer what I want.
In BigQuery doing where not exists, I get this error:
Correlated subqueries that reference other tables are not supported unless they can be de-correlated, such as by transforming them into efficient JOIN.
Thanks in advance!
