What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?
select distinct year from cars_data where weight between 3000 and 4000;
select distinct year from cars_data where weight between 3000 and 4000;
[{'Year': 1970}, {'Year': 1971}, {'Year': 1972}, {'Year': 1973}, {'Year': 1974}, {'Year': 1975}, {'Year': 1976}, {'Year': 1977}, {'Year': 1978}, {'Year': 1979}, {'Year': 1980}, {'Year': 1981}, {'Year': 1982}]