Task: Text to Code
Input (English): SQL: SELECT Avg ( Price ) FROM wine WHERE State ! = "Sonoma"
Feedback: county should be take instead of state .
Output (English): SELECT avg(price) FROM wine WHERE Appelation NOT IN (SELECT T1.Appelation FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  'Sonoma')