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

What is the area of the appelation that produces the highest number of wines before the year of 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" "T1" JOIN "wine" "T2" ON "T1"."appelation" = "T2"."appelation" GROUP BY "T2"."appelation" HAVING "T2"."year" < 2010 ORDER BY COUNT(*) DESC FETCH FIRST 1 ROWS ONLY