CREATE TABLE table_47339 ("Party" TEXT, "Previous council" FLOAT, "Staying councillors" FLOAT, "Seats up for election" FLOAT, "Election result" FLOAT, "New council" FLOAT)

Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?
SELECT MAX("Seats up for election") FROM table_47339 WHERE "Election result" > '8' AND "Staying councillors" = '24'
SELECT MAX("Seats up for election") FROM "table_47339" WHERE "Election result" > '8' AND "Staying councillors" = '24'