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 grapes (id DECIMAL, grape TEXT, color TEXT)
CREATE TABLE appellations (no DECIMAL, appelation TEXT, county TEXT, state TEXT, area TEXT, isava TEXT)

What is the area for the appelation which produced the most wines prior to 2010?
SELECT T1.area FROM appellations AS T1 JOIN wine AS T2 ON T1.appelation = T2.appelation GROUP BY T2.appelation HAVING T2.year < 2010 ORDER BY COUNT(*) DESC LIMIT 1
SELECT "T1"."area" FROM "appellations" AS "T1" JOIN "wine" AS "T2" ON "T1"."appelation" = "T2"."appelation" GROUP BY "T2"."appelation" HAVING "T2"."year" < 2010 ORDER BY COUNT(*) DESC NULLS LAST LIMIT 1