CREATE TABLE trained_in (physician VARCHAR2, treatment VARCHAR2)
CREATE TABLE physician (employeeid VARCHAR2, name VARCHAR2)
CREATE TABLE procedures (name VARCHAR2, cost NUMBER)

Find all procedures which cost more than 1000 or which physician John Wen was trained in.
SELECT name FROM procedures WHERE cost > 1000 UNION SELECT T3.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 T1.name = "John Wen"
SELECT "name" FROM "procedures" WHERE "cost" > 1000 UNION SELECT "T3"."name" FROM "physician" "T1" JOIN "trained_in" "T2" ON "T1"."employeeid" = "T2"."physician" JOIN "procedures" "T3" ON "T2"."treatment" = "T3"."code" WHERE "John Wen" = "T1"."name"