In which years cars were produced weighing no less than 3000 and no more than 4000 ?
CREATE TABLE cars_data (year VARCHAR, weight INTEGER)
SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE cars_data (year VARCHAR, weight INTEGER) Question: In which years cars were produced weighing no less than 3000 and no more than 4000 ? [/INST] SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000 </s>