Task: Text to Code
Input (English): SQL: SELECT T1.Address FROM Customer AS T1 WHERE T1.Country = "Brazil" INTERSECT SELECT T1.Address FROM Customer AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.BillingCountry = "Germany"
Feedback: Make sure country equals Germany , Replace billing country equals Germany with for each customer of invoice .
Output (English): SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.country  =  "Germany"