CREATE TABLE table_test_3 ("id" NUMBER, "gender" CLOB, "pregnancy_or_lactation" BOOLEAN, "severe_hemodynamic_instability" BOOLEAN, "consent" BOOLEAN, "hemoglobin_a1c_hba1c" FLOAT, "metallic_implants" BOOLEAN, "allergy_to_aspirin" BOOLEAN, "creatinine_clearance_cl" FLOAT, "post_menopausal" BOOLEAN, "clinical_evidence_of_active_bleeding" BOOLEAN, "cardiogenic_shock" BOOLEAN, "platelet_count" FLOAT, "contraindication_for_nmr" BOOLEAN, "kidney_disease" BOOLEAN, "claustrophobia" BOOLEAN, "hypertension" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

male aged from 18 to 85 and postmenopausal female aged up to 85 years,
SELECT * FROM table_test_3 WHERE (gender = 'male' AND (age >= 18 AND age <= 85)) OR (gender = 'female' AND post_menopausal = 1 AND age <= 85)
SELECT * FROM "table_test_3" WHERE "age" <= 85 AND ("age" >= 18 OR "gender" = 'female') AND ("age" >= 18 OR "post_menopausal" = 1) AND ("gender" = 'female' OR "gender" = 'male') AND ("gender" = 'male' OR "post_menopausal" = 1)