CREATE TABLE screen_mode (graphics_mode NUMBER, char_cells CLOB, pixels CLOB, hardware_colours NUMBER, used_kb NUMBER, map CLOB, type CLOB)
CREATE TABLE chip_model (model_name CLOB, launch_year NUMBER, ram_mib NUMBER, rom_mib NUMBER, slots CLOB, wifi CLOB, bluetooth CLOB)
CREATE TABLE phone (company_name CLOB, hardware_model_name CLOB, accreditation_type CLOB, accreditation_level CLOB, date CLOB, chip_model CLOB, screen_mode CLOB)

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" "T1" JOIN "phone" "T2" ON "T1"."model_name" = "T2"."chip_model" JOIN "screen_mode" "T3" ON ("T1"."ram_mib" > 32 OR "T3"."type" = "Text") AND "T2"."screen_mode" = "T3"."graphics_mode"