Find the physicians who are trained in a procedure that costs more than 5000.
CREATE TABLE physician (
    name VARCHAR,
    employeeid VARCHAR
)

CREATE TABLE procedures (
    code VARCHAR,
    cost INTEGER
)

CREATE TABLE trained_in (
    physician VARCHAR,
    treatment VARCHAR
)
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T3.cost > 5000
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 physicians who are trained in a procedure that costs more than 5000. ### Input: CREATE TABLE physician (
    name VARCHAR,
    employeeid VARCHAR
)

CREATE TABLE procedures (
    code VARCHAR,
    cost INTEGER
)

CREATE TABLE trained_in (
    physician VARCHAR,
    treatment VARCHAR
) ### Response: SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T3.cost > 5000