CREATE TABLE table_name_40 (partner VARCHAR2, style VARCHAR2, results VARCHAR2)

Who was the partner for the jazz piece in the bottom three?
SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three"
SELECT "partner" FROM "table_name_40" WHERE "bottom three" = "results" AND "jazz" = "style"