CREATE TABLE chip_model (Model_name TEXT, Launch_year FLOAT, RAM_MiB FLOAT, ROM_MiB FLOAT, Slots TEXT, WiFi TEXT, Bluetooth TEXT)
CREATE TABLE screen_mode (Graphics_mode FLOAT, Char_cells TEXT, Pixels TEXT, Hardware_colours FLOAT, used_kb FLOAT, map TEXT, Type TEXT)
CREATE TABLE phone (Company_name TEXT, Hardware_Model_name TEXT, Accreditation_type TEXT, Accreditation_level TEXT, Date TEXT, chip_model TEXT, screen_mode TEXT)

Compute the total number of chips of different company names for all the phones that were launched in year 2002 or have RAM size greater than 32, I want to order by the X-axis from high to low.
SELECT Company_name, COUNT(Company_name) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB > 32 GROUP BY Company_name ORDER BY Company_name DESC
SELECT "Company_name", COUNT("Company_name") FROM "chip_model" AS "T1" JOIN "phone" AS "T2" ON "T1"."Model_name" = "T2"."chip_model" WHERE "T1"."Launch_year" = 2002 OR "T1"."RAM_MiB" > 32 GROUP BY "Company_name" ORDER BY "Company_name" DESC NULLS LAST