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

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'