CREATE TABLE device (device_id DECIMAL, device TEXT, carrier TEXT, package_version TEXT, applications TEXT, software_platform TEXT)
CREATE TABLE stock (shop_id DECIMAL, device_id DECIMAL, quantity DECIMAL)
CREATE TABLE shop (shop_id DECIMAL, shop_name TEXT, location TEXT, open_date TEXT, open_year DECIMAL)

Show names of shops and the carriers of devices they have in stock.
SELECT T3.shop_name, T2.carrier FROM stock AS T1 JOIN device AS T2 ON T1.device_id = T2.device_id JOIN shop AS T3 ON T1.shop_id = T3.shop_id
SELECT "T3"."shop_name", "T2"."carrier" FROM "stock" AS "T1" JOIN "device" AS "T2" ON "T1"."device_id" = "T2"."device_id" JOIN "shop" AS "T3" ON "T1"."shop_id" = "T3"."shop_id"