What are the names of all of Alice's friends of friends?
CREATE TABLE person (
    name text,
    age number,
    city text,
    gender text,
    job text
)

CREATE TABLE personfriend (
    name text,
    friend text,
    year number
)
SELECT DISTINCT T4.name FROM personfriend AS T1 JOIN person AS T2 ON T1.name = T2.name JOIN personfriend AS T3 ON T1.friend = T3.name JOIN personfriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name <> 'Alice'
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: What are the names of all of Alice's friends of friends? ### Input: CREATE TABLE person (
    name text,
    age number,
    city text,
    gender text,
    job text
)

CREATE TABLE personfriend (
    name text,
    friend text,
    year number
) ### Response: SELECT DISTINCT T4.name FROM personfriend AS T1 JOIN person AS T2 ON T1.name = T2.name JOIN personfriend AS T3 ON T1.friend = T3.name JOIN personfriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name <> 'Alice'