Task: Text to Code
Input (English): Step 1: find the number of rows in weather table whose min_humidity greater than 8.
Step 2: find the max_temperature_f of weather table for which max_temperature_f less than 50.
Step 3: show the rows that are in both the results of step 1 and the results of step 2
Output (English): SELECT Count ( * ) FROM weather WHERE min_humidity > 8 INTERSECT SELECT max_temperature_f FROM weather WHERE max_temperature_f < 50