CREATE TABLE grapes (id DECIMAL, grape TEXT, color TEXT)
CREATE TABLE wine (no DECIMAL, grape TEXT, winery TEXT, appelation TEXT, state TEXT, name TEXT, year DECIMAL, price DECIMAL, score DECIMAL, cases DECIMAL, drink TEXT)
CREATE TABLE appellations (no DECIMAL, appelation TEXT, county TEXT, state TEXT, area TEXT, isava TEXT)

What is the average price of wines produced in appelations in Sonoma County?
SELECT AVG(T2.price) FROM appellations AS T1 JOIN wine AS T2 ON T1.appelation = T2.appelation WHERE T1.county = "Sonoma"
SELECT AVG("T2"."price") FROM "appellations" AS "T1" JOIN "wine" AS "T2" ON "T1"."appelation" = "T2"."appelation" WHERE "Sonoma" = "T1"."county"