Find the first names of all customers that live in Brazil and have an invoice.
CREATE TABLE CUSTOMER (
    FirstName VARCHAR,
    CustomerId VARCHAR,
    country VARCHAR
)

CREATE TABLE INVOICE (
    CustomerId VARCHAR
)
SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the first names of all customers that live in Brazil and have an invoice. ### Input: CREATE TABLE CUSTOMER (
    FirstName VARCHAR,
    CustomerId VARCHAR,
    country VARCHAR
)

CREATE TABLE INVOICE (
    CustomerId VARCHAR
) ### Response: SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"