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

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" "T1" JOIN "device" "T2" ON "T1"."Device_ID" = "T2"."Device_ID" JOIN "shop" "T3" ON "T1"."Shop_ID" = "T3"."Shop_ID" GROUP BY "Carrier"