line 258: SELECT S.Session_Year as groupvalue , SUM(CASE S.Laws_passed WHEN -1 THEN 0 ELSE S.Laws_passed END) AS 'Laws Enacted' FROM Session_Info S WHERE session_key IS NOT NULL AND S.Session_Year >= 1875 AND S.Session_Year <= 2025 and S.Intros_house <> -1 GROUP BY S.session_year ORDER BY S.Session_Year ASC