CREATE TABLE screen_mode (graphics_mode DECIMAL, char_cells TEXT, pixels TEXT, hardware_colours DECIMAL, used_kb DECIMAL, map TEXT, type TEXT)
CREATE TABLE chip_model (model_name TEXT, launch_year DECIMAL, ram_mib DECIMAL, rom_mib DECIMAL, slots TEXT, wifi TEXT, bluetooth 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)

List the hardware model name for the phones that have screen mode type 'Text' or RAM size greater than 32.
SELECT T2.hardware_model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.graphics_mode WHERE T3.type = "Text" OR T1.ram_mib > 32
SELECT "T2"."hardware_model_name" FROM "chip_model" AS "T1" JOIN "phone" AS "T2" ON "T1"."model_name" = "T2"."chip_model" JOIN "screen_mode" AS "T3" ON ("T1"."ram_mib" > 32 OR "T3"."type" = "Text") AND "T2"."screen_mode" = "T3"."graphics_mode"