SELECT * FROM table_train_106 WHERE (gender = 'male' OR (gender = 'female' AND pregnancy_or_lactation = 0)) AND age >= 50
male or female ( of non _ child bearing potential ) subjects ages >= 50 years of age.
CREATE TABLE table_train_106 (
    "id" int,
    "gender" string,
    "pregnancy_or_lactation" bool,
    "mini_mental_state_examination_mmse" int,
    "uncontrolled_diabetes" bool,
    "blood_glucose" int,
    "rosen_modified_hachinski_ischemic_score" int,
    "body_mass_index_bmi" float,
    "age" float,
    "NOUSE" float
)