CREATE TABLE "by_season" (
  "season" text,
  "1st_place" text,
  "2nd_place" text,
  "3rd_place" text,
  "4th_place" text
);

Question: What seasons did unicaja málaga finish in 3rd?
SQL: SELECT "season" FROM "by_season" WHERE "3rd_place"='Unicaja Málaga';

Question: What teams finished 3rd when limoges finished 4th?
SQL: SELECT "3rd_place" FROM "by_season" WHERE "4th_place"='Limoges';

Question: What team finished in 1st when tau cerámica was in 3rd?
SQL: SELECT "1st_place" FROM "by_season" WHERE "3rd_place"='TAU Cerámica';

Question: What teams finished in 3rd when panathinaikos finished 2nd?
SQL: SELECT "3rd_place" FROM "by_season" WHERE "2nd_place"='Panathinaikos';