Who are the friends of Alice that are doctors?
CREATE TABLE person (
    name text,
    age number,
    city text,
    gender text,
    job text
)

CREATE TABLE personfriend (
    name text,
    friend text,
    year number
)
SELECT T2.friend FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor'
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: Who are the friends of Alice that are doctors? ### 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 T2.friend FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor'