I have some questions about a SQL query. I've a table called CUSTOMER with the following fields (name, city):
Juan   New York
Louis  Madrid
And another table called ASESOR with the following fields (name, city):
Michael   New York
Peter  Zurich
Dan   Madrid
I need a query that combines both tables where the city is the same.
Expected result:
Juan New York
Loius Madrid
Michael New York
Dan Madrid
Peter has to be out of the results.
Thanks
 
    