Database: car_1
Question: What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?
SQL:
select distinct year from cars_data where weight between 3000 and 4000;