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

What are the memories and carriers of phones Show bar chart, could you rank by the X-axis from low to high?
SELECT Carrier, AVG(Memory_in_G) FROM phone GROUP BY Carrier ORDER BY Carrier
SELECT "Carrier", AVG("Memory_in_G") FROM "phone" GROUP BY "Carrier" ORDER BY "Carrier" NULLS FIRST