Question: Hmm, I want to know all the customer names that live in Brazil and have an invoice. | Here are the distinct first names of all the customer that live in Brazil and have an invoice. | Can you also list their customer ids?
SQL: SELECT DISTINCT T1.FirstName, T1.customerid FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId   =   T2.CustomerId WHERE T1.country   =   "Brazil"