Task: Text to Code
Input (English): SQL: SELECT Max ( low_temperature ) , Avg ( low_temperature ) FROM weekly_weather
Feedback: Take average precipitation instead of average low temperature where network name equals Amersham from station table .
Output (English): SELECT max(t1.low_temperature) ,  avg(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id  =  t2.id WHERE t2.network_name  =  "Amersham"