CREATE TABLE shop (Shop_ID INT, Shop_Name TEXT, Location TEXT, Open_Date TEXT, Open_Year INT)
CREATE TABLE stock (Shop_ID INT, Device_ID INT, Quantity INT)
CREATE TABLE device (Device_ID INT, Device TEXT, Carrier TEXT, Package_Version TEXT, Applications TEXT, Software_Platform TEXT)

What are the names of device shops, and what are the carriers that they carry devices in stock for?
SELECT Carrier, COUNT(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 GROUP BY Carrier
SELECT "Carrier", COUNT("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" GROUP BY "Carrier"