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

Give the neames of wines with prices below 50 and with appelations in Monterey county.
SELECT T2.name FROM appellations AS T1 JOIN wine AS T2 ON T1.appelation = T2.appelation WHERE T1.county = "Monterey" AND T2.price < 50
SELECT "T2"."name" FROM "appellations" AS "T1" JOIN "wine" AS "T2" ON "T1"."appelation" = "T2"."appelation" AND "T2"."price" < 50 WHERE "Monterey" = "T1"."county"