CREATE TABLE assignedto (scientist NUMBER, project CLOB)
CREATE TABLE scientists (ssn NUMBER, name CLOB)
CREATE TABLE projects (code CLOB, name CLOB, hours NUMBER)

What is the name of the project that has a scientist assigned to it whose name contains 'Smith'?
SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.ssn WHERE T3.name LIKE '%Smith%'
SELECT "T2"."name" FROM "assignedto" "T1" JOIN "projects" "T2" ON "T1"."project" = "T2"."code" JOIN "scientists" "T3" ON "T1"."scientist" = "T3"."ssn" AND "T3"."name" LIKE '%Smith%'