Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_name_96 ( seats_up_for_election INTEGER, election_result VARCHAR, staying_councillors VARCHAR )

### Question ###
Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?

### Accurate SQL ###

SELECT MAX(seats_up_for_election) FROM table_name_96 WHERE election_result > 8 AND staying_councillors = 24