CREATE TABLE "last_place_couples_average_ranks" (
  "rank" real,
  "celebrity" text,
  "professional_partner" text,
  "season" real,
  "average" real
);

Question: Which season had an average under 28, a rank under 10, and a partner of Janja Lesar?
SQL: SELECT "season" FROM "last_place_couples_average_ranks" WHERE "average"<28 AND "rank"<10 AND "professional_partner"='janja lesar';

Question: What is the highest season that had rank under 1?
SQL: SELECT MAX("season") FROM "last_place_couples_average_ranks" WHERE "rank"<1;

Question: Who was the professional partner in season 4?
SQL: SELECT "professional_partner" FROM "last_place_couples_average_ranks" WHERE "season"=4;