CREATE TABLE table_train_26 ("id" INT, "gender" TEXT, "pregnancy_or_lactation" BOOLEAN, "allergy_to_penicillin" BOOLEAN, "active_infection" BOOLEAN, "allergy_to_cephalosporin" BOOLEAN, "receiving_anticoagulants" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

male and female ages >= 18 years old
SELECT * FROM table_train_26 WHERE (gender = 'male' OR gender = 'female') AND age >= 18
SELECT * FROM "table_train_26" WHERE "age" >= 18 AND ("gender" = 'female' OR "gender" = 'male')