Task: Text to Code
Input (English): What is the average price of wines produced in appelations in Sonoma County?
Output (English): SELECT AVG(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  "Sonoma"