CREATE TABLE table_train_66 ("id" INT, "pregnancy_or_lactation" BOOLEAN, "white_blood_cell_count_wbc" INT, "acute_pyelonephritis" BOOLEAN, "intrabdominal_infection" BOOLEAN, "body_weight" FLOAT, "oxygen_therapy_by_face_mask" BOOLEAN, "temperature" FLOAT, "heart_rate" INT, "paco2" FLOAT, "band_form" INT, "respiratory_rate" INT, "bacteremia_by_gram_negative_bacteria" BOOLEAN, "NOUSE" FLOAT)

the presence of at least 2 of the following criteria of sepsis according to accp / sccm ( 8 ) a ) body temperature > 38 degreesc or < 36 degreesc; b ) pulse rate > 90 / min; c ) breath rate > 20 / min or paco2 < 32 mmhg; and / or d ) leukocytosis ( white blood cell count > 12000 / ul ) or leukopenia ( white blood cell count < 4000 / ul ) or > 10 % band forms
SELECT * FROM table_train_66 WHERE (CASE WHEN temperature > 38 OR temperature < 36 THEN 1 ELSE 0 END + CASE WHEN heart_rate > 90 THEN 1 ELSE 0 END + CASE WHEN respiratory_rate > 20 OR paco2 < 32 THEN 1 ELSE 0 END + CASE WHEN white_blood_cell_count_wbc > 12000 OR white_blood_cell_count_wbc < 4000 OR band_form > 10 THEN 1 ELSE 0 END) >= 2
SELECT * FROM "table_train_66" WHERE (CASE WHEN "temperature" < 36 OR "temperature" > 38 THEN 1 ELSE 0 END + CASE WHEN "heart_rate" > 90 THEN 1 ELSE 0 END + CASE WHEN "paco2" < 32 OR "respiratory_rate" > 20 THEN 1 ELSE 0 END + CASE WHEN "band_form" > 10 OR "white_blood_cell_count_wbc" < 4000 OR "white_blood_cell_count_wbc" > 12000 THEN 1 ELSE 0 END) >= 2