Task: Text to Code
Input (English): On which day has it neither been foggy nor rained in the zip code of 94107?
Output (English): SELECT date FROM weather WHERE zip_code  =  94107 AND EVENTS != "Fog" AND EVENTS != "Rain"