CREATE TABLE table_train_122 ("id" INT, "metabolic_disease" BOOLEAN, "stroke" BOOLEAN, "renal_disease" BOOLEAN, "huntington_disease" BOOLEAN, "hepatic_disease" BOOLEAN, "psychiatric_disease" BOOLEAN, "multiple_sclerosis" BOOLEAN, "hyperlipidemia" BOOLEAN, "cardiovascular_disease" BOOLEAN, "estimated_glomerular_filtration_rate_egfr" INT, "alzheimer_dementia" BOOLEAN, "psychosis" BOOLEAN, "total_cholesterol" INT, "subdural_hematoma" BOOLEAN, "ldl" INT, "gastrointestinal_disease" BOOLEAN, "neurological_disease" BOOLEAN, "seizure_disorder" BOOLEAN, "brain_tumor" BOOLEAN, "parkinson_disease" BOOLEAN, "normal_pressure_hydrocephalus" BOOLEAN, "triglyceride_tg" FLOAT, "supranuclear_palsy" BOOLEAN, "NOUSE" FLOAT)

hyperlipidemic ( triglycerides > 500 mg / dl, ldl > 160 mg / dl and total cholesterol > 240 mg / dl ) .
SELECT * FROM table_train_122 WHERE hyperlipidemia = 1 OR (triglyceride_tg > 500 AND ldl > 160 AND total_cholesterol > 240)
SELECT * FROM "table_train_122" WHERE ("hyperlipidemia" = 1 OR "ldl" > 160) AND ("hyperlipidemia" = 1 OR "total_cholesterol" > 240) AND ("hyperlipidemia" = 1 OR "triglyceride_tg" > 500)