CREATE TABLE inst (instid NUMBER, name CLOB, country CLOB)
CREATE TABLE papers (paperid NUMBER, title CLOB)
CREATE TABLE authors (authid NUMBER, lname CLOB, fname CLOB)
CREATE TABLE authorship (authid NUMBER, instid NUMBER, paperid NUMBER, authorder NUMBER)

Who has written a paper that has the word 'Functional' in its title? Return the first names of the authors.
SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Functional%"
SELECT "t1"."fname" FROM "authors" "t1" JOIN "authorship" "t2" ON "t1"."authid" = "t2"."authid" JOIN "papers" "t3" ON "t2"."paperid" = "t3"."paperid" AND "t3"."title" LIKE "%Functional%"