CREATE TABLE market (Market_ID NUMBER, District CLOB, Num_of_employees NUMBER, Num_of_shops FLOAT, Ranking NUMBER)
CREATE TABLE phone_market (Market_ID NUMBER, Phone_ID CLOB, Num_of_stock NUMBER)
CREATE TABLE phone (Name CLOB, Phone_ID NUMBER, Memory_in_G NUMBER, Carrier CLOB, Price FLOAT)

Give me a histogram for what are the memories and carriers of phones?
SELECT Carrier, AVG(Memory_in_G) FROM phone GROUP BY Carrier
SELECT "Carrier", AVG("Memory_in_G") FROM "phone" GROUP BY "Carrier"