What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing?
CREATE TABLE table_name_31 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR, player VARCHAR)
SELECT SUM(touchdowns) FROM table_name_31 WHERE field_goals = 0 AND player = "joe maddock" AND points < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR, player VARCHAR) Question: What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing? [/INST] SELECT SUM(touchdowns) FROM table_name_31 WHERE field_goals = 0 AND player = "joe maddock" AND points < 5 </s>