CREATE TABLE table_39766 ("Season" TEXT, "1st Place" TEXT, "2nd Place" TEXT, "3rd Place" TEXT, "4th Place" TEXT)

Who was the 3rd place team in the season in which Real Madrid finished 2nd?
SELECT "3rd Place" FROM table_39766 WHERE "2nd Place" = 'real madrid'
SELECT "3rd Place" FROM "table_39766" WHERE "2nd Place" = 'real madrid'