user: Question: What was the ranking for the episode number before 24 that had a rating of 25.7?
Columns: ['Season', 'Ep #', 'Season Premiere', 'Season Finale', 'Ranking', 'Viewers (Households in millions)', 'Rating']
Types: ['text', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Season 1', 24.0, 'September 17, 1972', 'March 25, 1973', '#46', 'N/A', 'N/A']
SQL:

assistant: SELECT "Ranking" FROM "Table" WHERE "Ep #" < 24.0 AND "Rating" = '25.7';