CREATE TABLE table_name_96 (no9 VARCHAR, no7 VARCHAR, final VARCHAR)

Who was number 9 that had a number 7 of Joana and a Final of Pedro?
SELECT no9 FROM table_name_96 WHERE no7 = "joana" AND final = "pedro"
SELECT "no9" FROM "table_name_96" WHERE "final" = "pedro" AND "joana" = "no7"