Find the first names of all customers that live in Brazil
select distinct firstname from customer where country = "Brazil"
Among them, find ones who have an invoice.
select distinct t1.firstname from customer as t1 join invoice as t2 on t1.customerid = t2.customerid where t1.country = "Brazil"