user: Question: WHAT IS THE AVERAGE SQUAD NUMBER WITH martin smith, AND LEAGUE GOALS LESS THAN 17?
Columns: ['Squad No.', 'Name', 'Position', 'League Apps', 'League Goals', 'FA Cup Apps', 'FA Cup Goals', 'League Cup Apps', 'League Cup Goals', 'FLT Apps', 'FLT Goals', 'Total Apps', 'Total Goals']
Types: ['real', 'text', 'text', 'text', 'real', 'text', 'real', 'text', 'real', 'text', 'real', 'text', 'real']
Sample row: [1.0, 'Scott Bevan', 'GK', '30', 0.0, '1', 0.0, '2', 0.0, '1', 0.0, '34', 0.0]
SQL:

assistant: SELECT AVG("Squad No.") FROM "Table" WHERE "Name" = 'martin smith' AND "League Goals" < 17.0;