text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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