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

What are the countries for appelations with at most 3 wines?
SELECT T1.county FROM appellations AS T1 JOIN wine AS T2 ON T1.appelation = T2.appelation GROUP BY T2.appelation HAVING COUNT(*) <= 3
SELECT "T1"."county" FROM "appellations" "T1" JOIN "wine" "T2" ON "T1"."appelation" = "T2"."appelation" GROUP BY "T2"."appelation" HAVING COUNT(*) <= 3