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)
CREATE TABLE phone (Name TEXT, Phone_ID INT, Memory_in_G INT, Carrier TEXT, Price FLOAT)

Plot total number of memory in g by grouped by carrier as a bar graph, could you rank by the x axis from high to low please?
SELECT Carrier, SUM(Memory_in_G) FROM phone GROUP BY Carrier ORDER BY Carrier DESC
SELECT "Carrier", SUM("Memory_in_G") FROM "phone" GROUP BY "Carrier" ORDER BY "Carrier" DESC NULLS LAST