Context: CREATE TABLE table_name_8 (squad_no INTEGER, name VARCHAR, league_goals VARCHAR)
Question: WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17?
Answer: SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17