user: ### NOW ANSWER:
Question: Name the least series number with production code of 717 and season number less than 17
Columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'real']
Sample row: [173.0, 1.0, '"Payneful Resolution Resolution"', 'Tyler Perry', 'March30,2011', 701.0]
SQL:

assistant: SELECT MIN("Series #") FROM "Table" WHERE "Production code" = 717.0 AND "Season #" < 17.0;