Which physicians are trained in procedures that are more expensive than 5000?
CREATE TABLE block (
    blockfloor number,
    blockcode number
)

CREATE TABLE appointment (
    appointmentid number,
    patient number,
    prepnurse number,
    physician number,
    start time,
    end time,
    examinationroom text
)

CREATE TABLE room (
    roomnumber number,
    roomtype text,
    blockfloor number,
    blockcode number,
    unavailable boolean
)

CREATE TABLE affiliated_with (
    physician number,
    department number,
    primaryaffiliation boolean
)

CREATE TABLE medication (
    code number,
    name text,
    brand text,
    description text
)

CREATE TABLE department (
    departmentid number,
    name text,
    head number
)

CREATE TABLE procedures (
    code number,
    name text,
    cost number
)

CREATE TABLE undergoes (
    patient number,
    procedures number,
    stay number,
    dateundergoes time,
    physician number,
    assistingnurse number
)

CREATE TABLE nurse (
    employeeid number,
    name text,
    position text,
    registered boolean,
    ssn number
)

CREATE TABLE prescribes (
    physician number,
    patient number,
    medication number,
    date time,
    appointment number,
    dose text
)

CREATE TABLE physician (
    employeeid number,
    name text,
    position text,
    ssn number
)

CREATE TABLE trained_in (
    physician number,
    treatment number,
    certificationdate time,
    certificationexpires time
)

CREATE TABLE stay (
    stayid number,
    patient number,
    room number,
    staystart time,
    stayend time
)

CREATE TABLE on_call (
    nurse number,
    blockfloor number,
    blockcode number,
    oncallstart time,
    oncallend time
)

CREATE TABLE patient (
    ssn number,
    name text,
    address text,
    phone text,
    insuranceid number,
    pcp number
)
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: Which physicians are trained in procedures that are more expensive than 5000? ### Input: CREATE TABLE block (
    blockfloor number,
    blockcode number
)

CREATE TABLE appointment (
    appointmentid number,
    patient number,
    prepnurse number,
    physician number,
    start time,
    end time,
    examinationroom text
)

CREATE TABLE room (
    roomnumber number,
    roomtype text,
    blockfloor number,
    blockcode number,
    unavailable boolean
)

CREATE TABLE affiliated_with (
    physician number,
    department number,
    primaryaffiliation boolean
)

CREATE TABLE medication (
    code number,
    name text,
    brand text,
    description text
)

CREATE TABLE department (
    departmentid number,
    name text,
    head number
)

CREATE TABLE procedures (
    code number,
    name text,
    cost number
)

CREATE TABLE undergoes (
    patient number,
    procedures number,
    stay number,
    dateundergoes time,
    physician number,
    assistingnurse number
)

CREATE TABLE nurse (
    employeeid number,
    name text,
    position text,
    registered boolean,
    ssn number
)

CREATE TABLE prescribes (
    physician number,
    patient number,
    medication number,
    date time,
    appointment number,
    dose text
)

CREATE TABLE physician (
    employeeid number,
    name text,
    position text,
    ssn number
)

CREATE TABLE trained_in (
    physician number,
    treatment number,
    certificationdate time,
    certificationexpires time
)

CREATE TABLE stay (
    stayid number,
    patient number,
    room number,
    staystart time,
    stayend time
)

CREATE TABLE on_call (
    nurse number,
    blockfloor number,
    blockcode number,
    oncallstart time,
    oncallend time
)

CREATE TABLE patient (
    ssn number,
    name text,
    address text,
    phone text,
    insuranceid number,
    pcp number
) ### 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