select distinct year from cars_data where weight between 3000 and 4000;
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 value and value
What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?