CREATE TABLE phone_market (market_id DECIMAL, phone_id TEXT, num_of_stock DECIMAL)
CREATE TABLE phone (name TEXT, phone_id DECIMAL, memory_in_g DECIMAL, carrier TEXT, price DECIMAL)
CREATE TABLE market (market_id DECIMAL, district TEXT, num_of_employees DECIMAL, num_of_shops DECIMAL, ranking DECIMAL)

Show the names of phones that are on market with number of shops greater than 50.
SELECT T3.name FROM phone_market AS T1 JOIN market AS T2 ON T1.market_id = T2.market_id JOIN phone AS T3 ON T1.phone_id = T3.phone_id WHERE T2.num_of_shops > 50
SELECT "T3"."name" FROM "phone_market" AS "T1" JOIN "market" AS "T2" ON "T1"."market_id" = "T2"."market_id" AND "T2"."num_of_shops" > 50 JOIN "phone" AS "T3" ON "T1"."phone_id" = "T3"."phone_id"