CREATE TABLE table_name_22 (partner VARCHAR2, surface VARCHAR2)

Who was his partner when he played on carpet?
SELECT partner FROM table_name_22 WHERE surface = "carpet"
SELECT "partner" FROM "table_name_22" WHERE "carpet" = "surface"