CREATE TABLE table_name_52 (professional_partner VARCHAR, celebrity VARCHAR, rank VARCHAR, season VARCHAR, average VARCHAR)

Who is the professional partner of celebrity ma gorzata foremniak with a season less than 7, an average greater than 34.66, and a rank less than 10?
SELECT professional_partner FROM table_name_52 WHERE season < 7 AND average > 34.66 AND rank < 10 AND celebrity = "małgorzata foremniak"
SELECT "professional_partner" FROM "table_name_52" WHERE "average" > 34.66 AND "celebrity" = "małgorzata foremniak" AND "rank" < 10 AND "season" < 7