text2SQL
stringlengths
192
7.27k
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_119 ( "id", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "diastolic_blood_pressure_dbp", "hypotension", "allergy_to_milk", "allergy_to_soy", "body_mass_index_bmi", "plasma_creatinine", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hypotension as defined as < 80 / 50 blood pressure at the time of screening SELECT### Response: SELECT * FROM table_train_119 WHERE hypotension = 1 OR (systolic_blood_pressure_sbp < 80 OR diastolic_blood_pressure_dbp < 50).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_100 ( "id", "systolic_blood_pressure_sbp", "stroke", "body_weight", "diastolic_blood_pressure_dbp", "rosen_modified_hachinski_ischemic_score", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of clinically significant stroke SELECT### Response: SELECT * FROM table_train_100 WHERE stroke = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_237 ( "id", "fasting_c_peptide", "fasting_plasma_glucose", "smoking", "body_mass_index_bmi", "serum_25_oh_d_levels", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serum 25 ( oh ) d levels < 20 ng / ml. SELECT### Response: SELECT * FROM table_train_237 WHERE serum_25_oh_d_levels < 20.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_131 ( "id", "thyroid_disease", "pulmonary_disease", "right_bundle_branch_block", "allergy_to_piperidine_derivatives", "obstructive_pulmonary_disease", "inflammatory_bowel_disease", "renal_disease", "hepatic_disease", "cardiovascular_disease", "duodenal_ulcers", "lactose_intolerance", "allergy_to_cholinesterase_inhibitors", "pacemakers", "diabetes", "gastrointestinal_disease", "asthma", "absorption", "endocrine_disease", "euthyroid", "metabolism", "distribution", "hypertension", "gastric", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients with active or clinically significant conditions affecting absorption, distribution or metabolism of the study medication ( e.g., inflammatory bowel disease, gastric or duodenal ulcers or severe lactose intolerance ) . SELECT### Response: SELECT * FROM table_train_131 WHERE absorption = 1 OR distribution = 1 OR metabolism = 1 OR (inflammatory_bowel_disease = 1 OR gastric = 1 OR duodenal_ulcers = 1 OR lactose_intolerance = 1).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_280 ( "id", "fpg", "hemoglobin_a1c_hba1c", "heart_disease", "renal_disease", "hba1c", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body mass index ( bmi ) < 30 kg / m2 SELECT### Response: SELECT * FROM table_train_280 WHERE body_mass_index_bmi < 30.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_245 ( "id", "renal_disease", "diabetic", "creatinine_clearance_cl", "smoking", "kidney_disease", "body_mass_index_bmi", "fasting_glucose", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of type i diabetes SELECT### Response: SELECT * FROM table_train_245 WHERE diabetic = 'i'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_38 ( "id", "left_ventricular_ejection_fraction_lvef", "child_pugh_class", "systolic_blood_pressure_sbp", "heart_disease", "acute_hepatitis", "liver_disease", "heart_rate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- heart rate less than 50 beats / min SELECT### Response: SELECT * FROM table_train_38 WHERE heart_rate < 50.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_183 ( "id", "anemia", "hiv_infection", "hemoglobin_a1c_hba1c", "creatinine_clearance_cl", "panel_reactive_antibodies", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serological evidence of hiv SELECT### Response: SELECT * FROM table_train_183 WHERE hiv_infection = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_118 ( "id", "hypocalcemia", "heart_disease", "renal_disease", "fibrinogen", "diastolic_blood_pressure_dbp", "symptomatic_hypotension", "serum_creatinine", "ca", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fibrinogen < 1.5 g / l ) SELECT### Response: SELECT * FROM table_train_118 WHERE fibrinogen < 1.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_242 ( "id", "macroalbuminuria", "hyperlipidemia", "fasting_serum_triglycerides", "fasting_ldl_cholesterol", "panel_reactive_antibodies", "serum_creatinine", "albumin", "body_mass_index_bmi", "fasting_serum_cholesterol", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- macroalbuminuria > 300 mg albumin in 24 hours; SELECT### Response: SELECT * FROM table_train_242 WHERE macroalbuminuria = 1 OR albumin > 300.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_225 ( "id", "heart_disease", "diabetic", "creatinine_clearance_cl", "panel_reactive_antibodies", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- between 21 and 80 years of age SELECT### Response: SELECT * FROM table_train_225 WHERE age >= 21 AND age <= 80.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_248 ( "id", "anemia", "prostate_specific_antigen_psa", "hemoglobin_a1c_hba1c", "body_weight", "fasting_triglycerides", "hyperlipidemia", "hgb", "fasting_total_cholesterol", "fasting_ldl_cholesterol", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- prostate specific antigen ( psa ) > 4 ng / ml; SELECT### Response: SELECT * FROM table_train_248 WHERE prostate_specific_antigen_psa > 4.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_84 ( "id", "gender", "mini_mental_state_examination_mmse", "modified_hachinski_ischemia_scale", "post_menopausal", "allergy_to_rifaximin", "surgically_sterilized", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- allergy to rifaximin SELECT### Response: SELECT * FROM table_train_84 WHERE allergy_to_rifaximin = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_222 ( "id", "autoimmune_disease", "diabetic", "allergy_to_hcq", "fasting_plasma_glucose", "fasting_serum_insulin", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- active autoimmune disease SELECT### Response: SELECT * FROM table_train_222 WHERE autoimmune_disease = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_137 ( "id", "hbv", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "substance_dependence", "hcv", "schizophrenia", "neutrophil_count", "renal_disease", "creatinine_clearance_cl", "platelet_count", "diastolic_greater_than", "pulse_rate", "bipolar_disorder", "delusional_disorder", "serum_creatinine", "alcohol_abuse", "primary_psychotic_disorder", "bilirubin", "schizoaffective_disorder", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the subject has a recent history ( within 2 years ) of alcohol or substance abuse / dependence. SELECT### Response: SELECT * FROM table_train_137 WHERE alcohol_abuse = 1 OR substance_dependence = 1 OR substance_dependence = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_225 ( "id", "heart_disease", "diabetic", "creatinine_clearance_cl", "panel_reactive_antibodies", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- any signs of type i diabetes SELECT### Response: SELECT * FROM table_train_225 WHERE diabetic = 'i'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_52 ( "id", "pregnancy_or_lactation", "consent", "surgery", "hemodynamic_instability", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- invasive hemodynamic monitoring SELECT### Response: SELECT * FROM table_train_52 WHERE hemodynamic_instability = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_120 ( "id", "residual_neurologic_impairment", "mini_mental_state_examination_mmse", "systolic_blood_pressure_sbp", "memory_impairments", "progressive_neurologic_disease", "epilepsy", "head_injury", "stroke", "multiple_sclerosis", "dementia", "diastolic_blood_pressure_dbp", "heart_rate", "intracranial_brain_lesions", "neurological_disease", "ad", "neurosurgery", "hypertension", "clinical_dementia_rating_cdr", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- heart rates < 35 or > 125 beats per minute ( bpm ) at screening SELECT### Response: SELECT * FROM table_train_120 WHERE heart_rate < 35 OR heart_rate > 125.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_227 ( "id", "gender", "diabetic", "allergic_to_study_products", "hba1c", "a1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- allergic or intolerant to any ingredient found in the study products SELECT### Response: SELECT * FROM table_train_227 WHERE allergic_to_study_products = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_124 ( "id", "loss_of_consciousness", "serum_glucose", "myelosuppression", "retinoids_hepatotoxic", "pulmonary_disease", "etiology", "abnormal_thyroid_function", "laboratory_abnormality", "chest_pain", "dsm_iv_criteria", "neurodegenerative_disease", "active_infection", "epilepsy", "major_psychiatric_disorder", "investigational_new_drug", "head_injury", "stroke", "substance_dependence", "anterograde_amnesia", "renal_disease", "cerebrovascular_disease", "hepatic_disease", "other_systemic_disease", "psychiatric_disease", "clinical_disorder", "multiple_sclerosis", "retinoids", "cardiovascular_disease", "hematologic_disease", "prothrombin_time", "focal_brain_lesion", "ventricular_fibrillation", "psychosis", "liver_disease", "bipolar_disorder", "chronic_inflammatory", "brain_lesions", "diabetes", "vitamin_b12_deficiency", "medical_disorder", "total_bilirubin", "gastrointestinal_disease", "endocrine_disease", "metabolic", "ventricular_tachycardia", "neurological_disease", "seizure_disorder", "ast_or_alt", "alcohol_abuse", "ad", "neurosurgery", "allergy_to_retinoids", "brain_radiation", "major_depression", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- evidence of any significant clinical disorder or laboratory finding that renders the participant unsuitable for receiving an investigational new drug including clinically significant or unstable hematologic, hepatic, cardiovascular ( including history of ventricular fibrillation or ventricular tachycardia ) , pulmonary, gastrointestinal, endocrine, metabolic, renal, or other systemic disease or laboratory abnormality. abnormal liver function test, including ast, alt, total bilirubin, or prothrombin time. the rationale is that retinoids can be hepatotoxic. SELECT### Response: SELECT * FROM table_train_124 WHERE clinical_disorder = 1 OR (investigational_new_drug = 1 OR hematologic_disease = 1 OR hepatic_disease = 1 OR (cardiovascular_disease = 1 OR ventricular_fibrillation = 1 OR ventricular_tachycardia = 1) OR pulmonary_disease = 1 OR gastrointestinal_disease = 1 OR endocrine_disease = 1 OR metabolic = 1 OR renal_disease = 1 OR other_systemic_disease = 1 OR laboratory_abnormality = 1 AND (liver_disease = 1 OR ast_or_alt = 1 OR total_bilirubin = 1 OR prothrombin_time = 1 OR retinoids_hepatotoxic = 1)).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_45 ( "id", "child_pugh_class", "consent", "renal_disease", "hepatic_disease", "intestinal_obstruction", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- severe hepatic insufficiency ( child pugh stage c score ) SELECT### Response: SELECT * FROM table_train_45 WHERE hepatic_disease = 1 OR child_pugh_class = 'c'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_201 ( "id", "blood_pressure_bilaterally", "creatinine_clearance_cl", "total_cholesterol", "smoking", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- triglycerides greater than 600 mg / dl SELECT### Response: SELECT * FROM table_train_201 WHERE triglyceride_tg >= 600.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_209 ( "id", "body_weight", "diabetic", "lactose_intolerance", "galactose_intolerance", "allergy_to_food", "body_mass_index_bmi", "a1c", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- a1c less than or equal to 9 % SELECT### Response: SELECT * FROM table_train_209 WHERE a1c <= 9.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_132 ( "id", "loss_of_consciousness", "deep_venous_thrombosis", "unstable_angina", "thromboembolic_vascular_disease", "head_injury", "stroke", "cerebrovascular_disease", "mental_retardation", "psychiatric_disease", "modified_hachinski_ischemia_scale", "systemic_illness", "mental_illness", "hydrocephalus", "mri", "psychotic_disorder", "pulmonary_embolus", "arrythmias", "lacunar_infarcts", "bipolar_disorder", "cva", "cardiac_disease", "brain_damage", "neurological_disease", "seizure_disorder", "vascular_dementia", "organ_failure", "parkinson_disease", "lewy_body_disease", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- significant systemic illness ( including uncontrolled hypertension ) or organ failure. SELECT### Response: SELECT * FROM table_train_132 WHERE systemic_illness = 1 OR hypertension = 1 OR organ_failure = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_33 ( "id", "active_infection", "allergy_to_thiamine", "receiving_vasopressor", "liver_disease", "allergy_to_vitamin_c", "allergy_to_hydrocortisone", "hypertension", "age", "serum_aminotransferase_level_alt_ast", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- liver failure ( alt or ast > 120 ) SELECT### Response: SELECT * FROM table_train_33 WHERE liver_disease = 1 OR serum_aminotransferase_level_alt_ast > 120.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_38 ( "id", "left_ventricular_ejection_fraction_lvef", "child_pugh_class", "systolic_blood_pressure_sbp", "heart_disease", "acute_hepatitis", "liver_disease", "heart_rate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- left ventricular ejection fraction less than 30 % SELECT### Response: SELECT * FROM table_train_38 WHERE left_ventricular_ejection_fraction_lvef < 30.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_184 ( "id", "gender", "systolic_blood_pressure_sbp", "heart_disease", "renal_disease", "hematocrit_hct", "allergy_to_insulin_lispro", "diastolic_blood_pressure_dbp", "serum_creatinine", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- allergy or adverse reaction to lispro insulin SELECT### Response: SELECT * FROM table_train_184 WHERE allergy_to_insulin_lispro = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_223 ( "id", "anemia", "diabetic", "eye_disease", "hgb", "retinal_pigmentation_abnormalities", "glucose_6_phosphate_dehydrogenase_deficiency_g6pd", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- type i diabetes SELECT### Response: SELECT * FROM table_train_223 WHERE diabetic = 'i'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_59 ( "id", "bone_marrow_transplant", "nephrolithiasis_history", "taking_vitamin_c", "immune_suppression", "neutrophil_count", "monoclonal_antibodies_mab", "sepsis", "glucose_6_phosphate_dehydrogenase_deficiency_g6pd", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of g6pd deficiency SELECT### Response: SELECT * FROM table_train_59 WHERE glucose_6_phosphate_dehydrogenase_deficiency_g6pd = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_98 ( "id", "mini_mental_state_examination_mmse", "stroke", "lyperlipidemia_ldl", "allergy_to_milk", "allergy_to_soy", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of clinically significant stroke SELECT### Response: SELECT * FROM table_train_98 WHERE stroke = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_91 ( "id", "mini_mental_state_examination_mmse", "stroke", "rosen_modified_hachinski_ischemic_score", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- modified hachinski _ rosen score < 5 . SELECT### Response: SELECT * FROM table_train_91 WHERE rosen_modified_hachinski_ischemic_score < 5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_233 ( "id", "serum_bicarbonate", "language", "hemoglobin_a1c_hba1c", "creatinine_clearance_cl", "admission_blood_glucose", "urine_albumin", "ketoacidosis", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- urine albumin / creatinine < 300 SELECT### Response: SELECT * FROM table_train_233 WHERE urine_albumin < 300 OR creatinine_clearance_cl < 300.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_79 ( "id", "fasting_triglycerides", "fasting_total_cholesterol", "fasting_glucose", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- laboratory findings of fasting triglycerides greater than or equal to 200 mg / dl SELECT### Response: SELECT * FROM table_train_79 WHERE fasting_triglycerides >= 200.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_26 ( "id", "gender", "pregnancy_or_lactation", "allergy_to_penicillin", "active_infection", "allergy_to_cephalosporin", "receiving_anticoagulants", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- male and female ages >= 18 years old SELECT### Response: SELECT * FROM table_train_26 WHERE (gender = 'male' OR gender = 'female') AND age >= 18.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_134 ( "id", "mini_mental_state_examination_mmse", "geriatric_depression_scale_gds", "alzheimer_disease_ad", "rosen_modified_hachinski_ischemic_score", "clinical_dementia_rating_cdr", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- score <= 5 on the geriatric depression scale ( gds ) SELECT### Response: SELECT * FROM table_train_134 WHERE geriatric_depression_scale_gds <= 5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_100 ( "id", "systolic_blood_pressure_sbp", "stroke", "body_weight", "diastolic_blood_pressure_dbp", "rosen_modified_hachinski_ischemic_score", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- each subject must be >= 55 to >= 85 years of age. SELECT### Response: SELECT * FROM table_train_100 WHERE age >= 55 AND age <= 85.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_137 ( "id", "hbv", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "substance_dependence", "hcv", "schizophrenia", "neutrophil_count", "renal_disease", "creatinine_clearance_cl", "platelet_count", "diastolic_greater_than", "pulse_rate", "bipolar_disorder", "delusional_disorder", "serum_creatinine", "alcohol_abuse", "primary_psychotic_disorder", "bilirubin", "schizoaffective_disorder", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- liver serum transaminases ( ast and / or alt ) > 5 times the upper limit of normal; total and / or direct bilirubin > 1.5 mg / dl, hemoglobin < 9 mg / dl; pt and ptt > 2 times the upper limit of normal; creatinine clearance < 30 ml / min; positive serology for hbv or hcv; absolute neutrophil count < 1500 cells / mm3 and a platelet count < 100000 / mm3 SELECT### Response: SELECT * FROM table_train_137 WHERE bilirubin > 1.5 OR hemoglobin_a1c_hba1c < 9 OR creatinine_clearance_cl < 30 OR (hbv = 1 OR hcv = 1) OR (neutrophil_count < 1500 AND platelet_count < 100000).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_203 ( "id", "gender", "perforation", "hemoglobin_a1c_hba1c", "peptic_ulcer_disease", "serum_c_peptide", "gastrointestinal_disease", "serum_creatinine", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serum creatinine < 1.5 mg / dl for male and < 1.4 mg / dl for female SELECT### Response: SELECT * FROM table_train_203 WHERE (gender = 'male' AND serum_creatinine < 1.5) OR (gender = 'female' AND serum_creatinine < 1.4).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_252 ( "id", "gender", "pregnancy_or_lactation", "fasting_plasma_glucose_fpg", "hemoglobin_a1c_hba1c", "hba1c", "serum_creatinine", "metformin", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- glycated hemoglobin a1c ( hba1c ) > 6.5 % and <= 9 % at screening. if the first hba1c value does not meet eligibility criterion SELECT### Response: SELECT * FROM table_train_252 WHERE hba1c > 6.5 AND hemoglobin_a1c_hba1c <= 9.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_1 ( "id", "sinusal_rhythm", "severe_sepsis", "hemodynamic_instability", "social_security", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patient for social security SELECT### Response: SELECT * FROM table_train_1 WHERE social_security = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_257 ( "id", "serum_bicarbonate", "plasma_glucose_concentration", "hemoglobin_a1c_hba1c", "platelets", "visual_impairment", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- platelets > 100 SELECT### Response: SELECT * FROM table_train_257 WHERE platelets > 100.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_164 ( "id", "hemoglobin_a1c_hba1c", "diabetic", "fasting_plasma_glucose", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- must have type ii diabetes SELECT### Response: SELECT * FROM table_train_164 WHERE diabetic = 'ii'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_39 ( "id", "active_infection", "sepsis", "organ_failure", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- have sepsis as defined by an infection together with two or more sirs criteria SELECT### Response: SELECT * FROM table_train_39 WHERE sepsis = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_6 ( "id", "bleeding", "systolic_blood_pressure_sbp", "mean_arterial_pressure_map", "active_infection", "hypotension", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- suspected source of infection as etiology for hypotension SELECT### Response: SELECT * FROM table_train_6 WHERE active_infection = 1 AND hypotension = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_226 ( "id", "gender", "pregnancy_or_lactation", "active_metabolic", "diabetic", "hepatic_disease", "gastrointestinal_disease", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- type ii diabetes SELECT### Response: SELECT * FROM table_train_226 WHERE diabetic = 'ii'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_26 ( "id", "gender", "pregnancy_or_lactation", "allergy_to_penicillin", "active_infection", "allergy_to_cephalosporin", "receiving_anticoagulants", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- receiving oral or subcutaneous anticoagulants SELECT### Response: SELECT * FROM table_train_26 WHERE receiving_anticoagulants = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_107 ( "id", "systolic_blood_pressure_sbp", "body_weight", "modified_hachinski_ischemia_scale", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "clinical_dementia_rating_cdr", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body mass index >= 18 and <= 32 kg / m2 at screening SELECT### Response: SELECT * FROM table_train_107 WHERE body_mass_index_bmi >= 18 AND body_mass_index_bmi <= 32.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_214 ( "id", "gender", "lead_ecg", "systolic_blood_pressure_sbp", "qt_interval", "urine_dipstick_protein", "stroke", "transient_ischemic_attack", "qtc", "long_qt_syndrome", "cardiovascular_disease", "estimated_glomerular_filtration_rate_egfr", "screening", "diastolic_blood_pressure_dbp", "urine_protein", "body_mass_index_bmi", "myocardial_infarction", "creatinine_ratio", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- adults with bmi 25 kg / m2 or higher SELECT### Response: SELECT * FROM table_train_214 WHERE age >= 18 AND body_mass_index_bmi >= 25.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_182 ( "id", "allergy_to_sulfa", "creatinine_clearance_cl", "liver_disease", "allergy_to_glyburide", "allergy_to_metformin", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- allergy to metformin; SELECT### Response: SELECT * FROM table_train_182 WHERE allergy_to_metformin = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_279 ( "id", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "estimated_glomerular_filtration_rate_egfr", "fasting_plasma_glucose", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- blood pressure at enrollment: systolic >= 165 mmhg and / or diastolic >= 110 mmhg SELECT### Response: SELECT * FROM table_train_279 WHERE systolic_blood_pressure_sbp >= 165 OR diastolic_blood_pressure_dbp >= 110.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_227 ( "id", "gender", "diabetic", "allergic_to_study_products", "hba1c", "a1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- have an hba1c lvel < 9 % at screening SELECT### Response: SELECT * FROM table_train_227 WHERE hba1c < 9.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_84 ( "id", "gender", "mini_mental_state_examination_mmse", "modified_hachinski_ischemia_scale", "post_menopausal", "allergy_to_rifaximin", "surgically_sterilized", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- modified hachinski ischemia score >= 4 SELECT### Response: SELECT * FROM table_train_84 WHERE modified_hachinski_ischemia_scale >= 4.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_263 ( "id", "breast_cancer", "fasting_blood_glucose_fbg", "prostate_cancer", "hba1c", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of prostate or breast cancer SELECT### Response: SELECT * FROM table_train_263 WHERE prostate_cancer = 1 OR breast_cancer = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_251 ( "id", "gender", "left_ventricular_ejection_fraction_lvef", "allergy_to_rabbit_proteins", "recurring_alcohol_related_legal_problem", "hyperlipidemia", "fasting_ldl_cholesterol", "baseline_hemoglobin_hgb", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hyperlipidemia ( fasting ldl cholesterol > 139 mg / dl SELECT### Response: SELECT * FROM table_train_251 WHERE hyperlipidemia = 1 OR fasting_ldl_cholesterol > 139.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_130 ( "id", "gender", "systolic_blood_pressure_sbp", "right_bundle_branch_block", "space_occupying_cerebral_lesion", "huntington_disease", "psychiatric_disease", "mental_illness", "treatment_regimen", "psychotic_disorder", "diastolic_blood_pressure_dbp", "bipolar_disorder", "serum_creatinine", "seizure_disorder", "vascular_dementia", "parkinson_disease", "normal_pressure_hydrocephalus", "significant_neurological_disease", "ad", "ninds_airen_criteria", "hypertension", "bilirubin", "major_depression", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- blood pressure greater than 160 / 100 mmhg. subjects with elevated bp will be allowed at the discretion of the principal investigator. individuals with hypertension must have been stabilized to the current treatment regimen for at least 6 weeks prior to screening and not need adjustments to their treatment regimen during the entire study period. SELECT### Response: SELECT * FROM table_train_130 WHERE systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 100 OR hypertension = 1 OR treatment_regimen = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_179 ( "id", "systolic_blood_pressure_sbp", "fasting_plasma_glucose_fpg", "diastolic_blood_pressure_dbp", "diabetes", "body_mass_index_bmi", "triglyceride_tg", "hypertension", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- blood pressure > 130 mmhg ( systolic ) or > 85 mmhg ( diastolic ) or history of diagnosed hypertension SELECT### Response: SELECT * FROM table_train_179 WHERE systolic_blood_pressure_sbp > 130 OR diastolic_blood_pressure_dbp > 85 OR hypertension = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_146 ( "id", "lymphocyte_count", "c_peptide_level", "vitamin_d_deficiency", "diabetic", "vitamin_d", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- has a first _ degree relative with type ii diabetes SELECT### Response: SELECT * FROM table_train_146 WHERE diabetic = 'ii'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_42 ( "id", "taking_vitamin_c", "do_not_resuscitate_dnr", "allergy_to_thiamine", "taking_thiamine", "receiving_vasopressor", "sepsis", "hypotension", "allergy_to_vitamin_c", "glucose_6_phosphate_dehydrogenase_deficiency_g6pd", "limited_care", "septic_shock", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients who signed a do not attempt resuscitation order or who had set limitations on invasive care SELECT### Response: SELECT * FROM table_train_42 WHERE do_not_resuscitate_dnr = 1 OR limited_care = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_230 ( "id", "anemia", "diabetic", "lactose_intolerance", "hb", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- bmi > 18.5 kg / m2 and < 40 kg / m2. SELECT### Response: SELECT * FROM table_train_230 WHERE body_mass_index_bmi > 18.5 AND body_mass_index_bmi < 40.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_194 ( "id", "organ_transplantation", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "substance_dependence", "diastolic_blood_pressure_dbp", "alcohol_abuse", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- age 21 _ 60 SELECT### Response: SELECT * FROM table_train_194 WHERE age >= 21 AND age <= 60.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_136 ( "id", "gender", "pregnancy_or_lactation", "heart_disease", "adequate_cognitive", "renal_disease", "allergy_to_solifenacin", "systemic_illness", "liver_disease", "allergy_to_donepezil", "seizure_disorder", "poorly_controlled_diabetes", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subject has history of seizures SELECT### Response: SELECT * FROM table_train_136 WHERE seizure_disorder = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_31 ( "id", "allergy_to_insulin", "active_infection", "periodic_paralysis", "receiving_continuous_intravenous_inotropic_support", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of periodic paralysis associated with carbohydrate loading; SELECT### Response: SELECT * FROM table_train_31 WHERE periodic_paralysis = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_41 ( "id", "pulmonary_embolization", "hiv_infection", "neutrophil_count", "renal_disease", "liver_disease", "serum_creatinine", "myocardial_infarction", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subjects with severe renal impairment ( creatinine clearance less than 30 ml / min ) SELECT### Response: SELECT * FROM table_train_41 WHERE renal_disease = 1 OR serum_creatinine < 30.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_128 ( "id", "vascular", "mania", "pulmonary_disease", "cardiac", "stroke", "substance_dependence", "schizophrenia", "cerebrovascular_disease", "hematologic_disease", "adverse_reactions_venlaflaxine", "traumatic_brain_injury", "focal_brain_lesion", "adverse_reactions_escitalopram", "malignancy", "metabolic", "seizure_disorder", "neuropathology", "major_depression", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subjects with a history of significant cerebrovascular disease. this will be identified by one of the following: i. history of stroke. ii. any focal signs of significant neuropathology from the neurological examination. SELECT### Response: SELECT * FROM table_train_128 WHERE cerebrovascular_disease = 1 OR ((CASE WHEN stroke = 1 THEN 1 ELSE 0 END + CASE WHEN neuropathology = 1 THEN 1 ELSE 0 END) >= 1).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_61 ( "id", "white_blood_cell_count_wbc", "in_another_study", "systolic_blood_pressure_sbp", "trauma", "temperature", "anc", "hypotension", "heart_rate", "paco2", "gastrointestinal_disease", "burn_injury", "seizure_disorder", "hypoperfusion", "immature_form", "drug_abuse", "respiratory_rate", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- participation to another interventional study. SELECT### Response: SELECT * FROM table_train_61 WHERE in_another_study = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_248 ( "id", "anemia", "prostate_specific_antigen_psa", "hemoglobin_a1c_hba1c", "body_weight", "fasting_triglycerides", "hyperlipidemia", "hgb", "fasting_total_cholesterol", "fasting_ldl_cholesterol", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- anemia ( hemoglobin < 12 g / dl ) ; SELECT### Response: SELECT * FROM table_train_248 WHERE anemia = 1 OR hemoglobin_a1c_hba1c < 12.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_219 ( "id", "hematocrit_hct", "fasting_plasma_glucose", "hba1c", "urine_protein", "iothalamate_clearance", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fasting plasma glucose _ 126 _ 270 SELECT### Response: SELECT * FROM table_train_219 WHERE fasting_plasma_glucose >= 126 AND fasting_plasma_glucose <= 270.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_103 ( "id", "systolic_blood_pressure_sbp", "epilepsy", "diastolic_blood_pressure_dbp", "heart_rate", "seizure_disorder", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- age 35 to 69 SELECT### Response: SELECT * FROM table_train_103 WHERE age > 35 AND age < 69.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_254 ( "id", "gender", "systolic_blood_pressure_sbp", "heart_disease", "hgba1c", "renal_disease", "creatinine_clearance_cl", "diastolic_blood_pressure_dbp", "diabetes", "hypertension", "fasting_glucose", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fasting glucose 126 _ 270 mg / dl SELECT### Response: SELECT * FROM table_train_254 WHERE fasting_glucose >= 126 AND fasting_glucose <= 270.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_39 ( "id", "active_infection", "sepsis", "organ_failure", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- suspected infection SELECT### Response: SELECT * FROM table_train_39 WHERE active_infection = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_58 ( "id", "pregnancy_or_lactation", "white_blood_cell_count_wbc", "systolic_blood_pressure_sbp", "temperature", "surgery", "antibiotic_treatment", "heart_rate", "allergy_to_vitamin_c", "paco2", "immature_form", "mental_status", "respiratory_rate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- acute increase in qsofa score of 2 points or more. 1 point each is assigned for: 1 ) systolic blood pressure below 100 , 2 ) respiratory rate greater than 22 , and 3 ) mental status not at baseline. SELECT### Response: SELECT * FROM table_train_58 WHERE (CASE WHEN systolic_blood_pressure_sbp < 100 THEN 1 ELSE 0 END + CASE WHEN respiratory_rate > 22 THEN 1 ELSE 0 END + CASE WHEN mental_status = 0 THEN 1 ELSE 0 END) >= 2.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_116 ( "id", "mini_mental_state_examination_mmse", "hemoglobin_a1c_hba1c", "body_weight", "hepatic_disease", "geriatric_depression_scale_gds", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- screening geriatric depression ( gds ) _ 15 score less than ( < ) 6 SELECT### Response: SELECT * FROM table_train_116 WHERE geriatric_depression_scale_gds <= 6.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_58 ( "id", "pregnancy_or_lactation", "white_blood_cell_count_wbc", "systolic_blood_pressure_sbp", "temperature", "surgery", "antibiotic_treatment", "heart_rate", "allergy_to_vitamin_c", "paco2", "immature_form", "mental_status", "respiratory_rate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- equal to or greater than 2 sirs criteria: 1 ) temperature greater than 38 or less than 36 celsius. 2 ) heart rate greater than 90 beats per minute. 3 ) respiratory rate greater than 20 breaths per minute or arterial carbon dioxide tension less than 32 mmhg. 4 ) white blood cell count greater than 12000 cell / ul, less than 4000 cells / ul, or band cells greater than 10 % of the total white blood cell population. SELECT### Response: SELECT * FROM table_train_58 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 immature_form > 10 THEN 1 ELSE 0 END) >= 2.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_208 ( "id", "anemia", "serum_bicarbonate", "hemoglobin_a1c_hba1c", "temperature", "dementia", "electrolyte_imbalances", "impaired_sensorium", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- presence of significant anemia ( hemoglobin < 11 g / dl ) SELECT### Response: SELECT * FROM table_train_208 WHERE anemia = 1 OR hemoglobin_a1c_hba1c < 11.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_90 ( "id", "gender", "alzheimer", "breast_cancer", "smoking", "heart_rate", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- maximum age is 85 for patients with alzheimer's disease; there is no maximum age for normal volunteers. SELECT### Response: SELECT * FROM table_train_90 WHERE (alzheimer = 1 AND age <= 85) OR alzheimer = 0.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_240 ( "id", "anemia", "gender", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "estimated_glomerular_filtration_rate_egfr", "diastolic_blood_pressure_dbp", "insulin_requirement", "kidney_disease", "body_mass_index_bmi", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- uncontrolled arterial hypertension ( resting diastolic blood pressure > 90 mmhg and / or systolic blood pressure > 160 mmhg ) at the time of screening SELECT### Response: SELECT * FROM table_train_240 WHERE hypertension = 1 OR (diastolic_blood_pressure_dbp > 90 OR systolic_blood_pressure_sbp > 160).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_148 ( "id", "hemoglobin_a1c_hba1c", "renal_disease", "hematocrit_hct", "serum_creatinine", "albumin", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- has chronic renal insufficiency with serum creatinine > 2 mg / dl SELECT### Response: SELECT * FROM table_train_148 WHERE renal_disease = 1 AND serum_creatinine > 2.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_196 ( "id", "systolic_blood_pressure_sbp", "heart_disease", "renal_disease", "diabetic", "diastolic_blood_pressure_dbp", "serum_creatinine", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- congestive heart failure. SELECT### Response: SELECT * FROM table_train_196 WHERE heart_disease = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_125 ( "id", "carotid_stenosis", "pulmonary_disease", "neurodegenerative_disease", "active_infection", "skin_cancer", "heart_disease", "clinical_dementia_rating_scale", "renal_disease", "cerebrovascular_disease", "hepatic_disease", "breast_cancer", "urinary_tract", "prostate_cancer", "coronary_insufficiency", "cardiovascular_disease", "peptic_ulcer_disease", "immune_deficiency_disorder", "hematologic_disease", "neoplastic", "amnestic_mild_cognitive_impairment", "alzheimer_disease_ad", "gastrointestinal_disease", "cancer", "endocrine_disease", "cognitive_impairment", "neurological_disease", "parkinson_disease", "other_disorder", "lewy_body_dementia", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the subject has signs or symptoms of another neurodegenerative disease including parkinson's disease, diffuse lewy body dementia, or history of significant cerebrovascular disease SELECT### Response: SELECT * FROM table_train_125 WHERE neurodegenerative_disease = 1 OR parkinson_disease = 1 OR lewy_body_dementia = 1 OR cerebrovascular_disease = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_167 ( "id", "alt", "body_weight", "ast", "hematocrit_hct", "thyroid_stimulating_hormone_stsh", "body_mass_index_bmi", "fasting_glucose", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hematocrit ( hct ) > 34 % SELECT### Response: SELECT * FROM table_train_167 WHERE hematocrit_hct > 34.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_200 ( "id", "gender", "fasting_triglycerides", "fasting_plasma_glucose", "smoking", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fasting triglycerides > 700 mg / dl within past 12 weeks SELECT### Response: SELECT * FROM table_train_200 WHERE fasting_triglycerides > 700.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_210 ( "id", "serum_potassium", "serum_calcium", "estimated_glomerular_filtration_rate_egfr", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serum potassium < 3.5 mmol / l SELECT### Response: SELECT * FROM table_train_210 WHERE serum_potassium < 3.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_107 ( "id", "systolic_blood_pressure_sbp", "body_weight", "modified_hachinski_ischemia_scale", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "clinical_dementia_rating_cdr", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- clinical dementia rating = 0.5 to 2 SELECT### Response: SELECT * FROM table_train_107 WHERE clinical_dementia_rating_cdr >= 0.5 AND clinical_dementia_rating_cdr <= 2.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_17 ( "id", "severe_sepsis", "mean_arterial_pressure_map", "peripheral_vascular_disease", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- mean arterial pressure < 65 mmhg SELECT### Response: SELECT * FROM table_train_17 WHERE mean_arterial_pressure_map < 65.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_173 ( "id", "hiv_infection", "hemoglobin_a1c_hba1c", "hepatitis_c", "hepatitis_b", "cirrhosis", "renal_disease", "hepatic_disease", "allergy_to_egg", "estimated_glomerular_filtration_rate_egfr", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients who are allergic to eggs SELECT### Response: SELECT * FROM table_train_173 WHERE allergy_to_egg = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_159 ( "id", "hemoglobin_a1c_hba1c", "estimated_glomerular_filtration_rate_egfr", "kidney_disease", "serum_triglyceride", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- presence of chronic kidney disease ( gfr < 45 ml / min ) SELECT### Response: SELECT * FROM table_train_159 WHERE kidney_disease = 1 OR estimated_glomerular_filtration_rate_egfr < 45.