Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR)
SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR) Question: Which Election has a Municipality of laives, and Inhabitants smaller than 17,197? [/INST] SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197 ROWS </s>