Write SQL query to solve given problem: Calculate the ratio between the number of representatives in Alabama and the number of representatives in Illinois.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CAST(COUNT(CASE WHEN state = 'Alabama' THEN cognress_rep_id ELSE NULL END) AS REAL) / COUNT(CASE WHEN state = 'Illinois' THEN cognress_rep_id ELSE NULL END) FROM congress