user: Question: What is after Intermediate Algebra
Columns: ['SUBJECT', 'FRESHMAN (Grade 7)', 'SOPHOMORE (Grade 8)', 'JUNIOR (3rd Year)', 'SENIOR (4th Year)']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['SCIENCE', 'General Science', 'Biology', 'Basic Chemistry', 'Advanced Physics']
SQL:

assistant: SELECT "SENIOR (4th Year)" FROM "Table" WHERE "SOPHOMORE (Grade 8)" = 'Intermediate Algebra';