Task: Text to Code
Input (English): Step 1: find the Year of cars_data table for which Weight greater than 4000.
Step 2: find the Year of cars_data table for which Weight less than 3000.
Step 3: show the rows that are in the results of step 1 but not in the results of step 2
Output (English): SELECT Year FROM cars_data WHERE Weight > 4000 EXCEPT SELECT Year FROM cars_data WHERE Weight < 3000