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_143 ( "id", "gender", "systolic_blood_pressure_sbp", "agitation", "npi", "aggression_domain", "delusions_hallucinations", "pulse_rate", "fridericia_corrected_qt_interval_qtcf", "diastolic_blood_pressure_dbp", "liver_disease", "hallucinations", "kidney_disease", "delusions", "respiratory_rate", "psychosis_subscale", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- kidney or liver dysfunction SELECT### Response: SELECT * FROM table_train_143 WHERE kidney_disease = 1 OR liver_disease = 1.
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. -- urine dipstick protein > 2+ ( 100 mg / dl ) or urine protein 2+ and a urine protein / creatinine ratio > 1 ( > 1000 mg / g ) SELECT### Response: SELECT * FROM table_train_214 WHERE urine_dipstick_protein > 100 AND (urine_protein > 1 OR creatinine_ratio > 1000).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_55 ( "id", "ejection_fraction_ef", "systolic_dysfunction", "language", "valvular_dysfunction", "consent", "heart_disease", "left_bundle_branch_block", "trauma", "pericardial_disease", "complete_fluid_challenge", "receiving_vasopressor", "pulmonary_hypertension", "prisoners", "heart_transplant", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- failure to complete fluid challenge SELECT### Response: SELECT * FROM table_train_55 WHERE complete_fluid_challenge = 0.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_106 ( "id", "gender", "pregnancy_or_lactation", "mini_mental_state_examination_mmse", "uncontrolled_diabetes", "blood_glucose", "rosen_modified_hachinski_ischemic_score", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- uncontrolled diabetes or blood glucose > 180 mg / dl on the day of the fdg _ pet scan SELECT### Response: SELECT * FROM table_train_106 WHERE uncontrolled_diabetes = 1 OR blood_glucose > 180.
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. -- baseline hgb < 11.7 g / dl in female SELECT### Response: SELECT * FROM table_train_251 WHERE baseline_hemoglobin_hgb < 11.7 AND gender = 'female'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_186 ( "id", "language", "diabetic", "regular_alcohol_intake", "allergy_to_drug", "alcohol_abuse", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- english _ speaking SELECT### Response: SELECT * FROM table_train_186 WHERE language = 'english'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_113 ( "id", "mini_mental_state_examination_mmse", "systolic_blood_pressure_sbp", "body_weight", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subject scores between 16 and 26 on the mmse SELECT### Response: SELECT * FROM table_train_113 WHERE mini_mental_state_examination_mmse >= 16 AND mini_mental_state_examination_mmse <= 26.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_250 ( "id", "gender", "waist_to_hip_ratio", "creatinine_clearance_cl", "panel_reactive_antibodies", "insulin_requirement", "serum_creatinine", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serum creatinine greater than or equal to 1.3 mg / dl for female SELECT### Response: SELECT * FROM table_train_250 WHERE serum_creatinine >= 1.3 AND gender = 'female'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_34 ( "id", "gender", "allergy_to_adhesive", "contraception", "use_of_cyclosporin", "use_of_digoxin", "liver_disease", "rhabomyolysis", "allergy_to_hydrocortisone", "use_of_statins", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- chronic liver disease ( cirrhosis ) SELECT### Response: SELECT * FROM table_train_34 WHERE liver_disease = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_163 ( "id", "pulse_oximetry", "hemoglobin_a1c_hba1c", "body_weight", "allergy_to_adhesive", "creatinine_clearance_cl", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- allergy to adhesives SELECT### Response: SELECT * FROM table_train_163 WHERE allergy_to_adhesive = 1.
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. -- renal impairment ( serum creatinine > 1.5 ) SELECT### Response: SELECT * FROM table_train_196 WHERE renal_disease = 1 OR serum_creatinine > 1.5.
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. -- septic shock: sepsis with persisting hypotension requiring vasopressors to maintain a mean arterial pressure >= 65 mm hg and a serum lactate level > 2 mmol / l despite adequate volume resuscitation. SELECT### Response: SELECT * FROM table_train_42 WHERE septic_shock = 1 OR (sepsis = 1 AND hypotension = 1 AND receiving_vasopressor = 1).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_75 ( "id", "pregnancy_or_lactation", "alzheimer", "alzheimer_family_history", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- all female participants that are pre _ menopausal will be required to have a pregnancy test; any participant who is pregnant will not be enrolled in the study. SELECT### Response: SELECT * FROM table_train_75 WHERE pregnancy_or_lactation = 0.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_115 ( "id", "systolic_blood_pressure_sbp", "hepatic_disease", "creatinine_clearance_cl", "diastolic_blood_pressure_dbp", "glucose_6_phosphate_dehydrogenase_deficiency_g6pd", "uncontrolled_blood_pressure", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subjects with chronic hepatic disease. SELECT### Response: SELECT * FROM table_train_115 WHERE hepatic_disease = 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. -- presence of any unstable cardiovascular disease, uncontrolled diabetes, chronic inflammatory or infectious conditions. retinoids have been associated with chest pain of unclear etiology, increased serum glucose, myelosuppression and increased risk of infection. SELECT### Response: SELECT * FROM table_train_124 WHERE cardiovascular_disease = 1 OR diabetes = 1 OR chronic_inflammatory = 1 OR active_infection = 1 OR (retinoids = 1 AND chest_pain = 1 AND etiology = 1 OR serum_glucose = 1 OR myelosuppression = 1 OR 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_82 ( "id", "mini_mental_state_examination_mmse", "systolic_blood_pressure_sbp", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "hypertension", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- uncontrolled hypertension ( systolic bp > 170 or diastolic bp > 100 ) . SELECT### Response: SELECT * FROM table_train_82 WHERE hypertension = 1 OR (systolic_blood_pressure_sbp > 170 OR diastolic_blood_pressure_dbp > 100).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_49 ( "id", "consent", "palliative_treatment", "acute_mesenteric_ischemia", "receiving_vasopressor", "septic_shock", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- vasopressor support to maintain mean arterial pressure ( map ) between 65 and 75 mmhg despite adequate volume resuscitation ( pulmonary artery occlusion pressure = 13 18 mmhg and central venous pressure = 8 12 mmhg ) SELECT### Response: SELECT * FROM table_train_49 WHERE receiving_vasopressor = 1.
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 total cholesterol greater than or equal to 240 mg / dl SELECT### Response: SELECT * FROM table_train_79 WHERE fasting_total_cholesterol >= 240.
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. -- human immunodeficiency virus positivity SELECT### Response: SELECT * FROM table_train_41 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_217 ( "id", "gender", "c_peptide_level", "hemoglobin_a1c_hba1c", "hematocrit_hct", "insulin_requirement", "serum_creatinine", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hematocrit < 36 % ( female ) ; < 38 % ( male ) SELECT### Response: SELECT * FROM table_train_217 WHERE (hematocrit_hct < 36 AND gender = 'female') OR (hematocrit_hct < 38 AND gender = 'male').
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. -- minors SELECT### Response: SELECT * FROM table_train_1 WHERE age >= 18.
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. -- refractory hypotension definition sbp < 90 or map < 65 SELECT### Response: SELECT * FROM table_train_6 WHERE hypotension = 1 OR (systolic_blood_pressure_sbp < 90 OR 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_88 ( "id", "mini_mental_state_examination_mmse", "mild_cognitive_impairment", "body_weight", "renal_disease", "memantine", "rivastigmine", "lewy_body_dementia", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- renal failure SELECT### Response: SELECT * FROM table_train_88 WHERE renal_disease = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_2 ( "id", "gender", "pregnancy_or_lactation", "diabetic", "electro_systolic_process", "degenerative_pathology", "neurological_disease", "cardiomyopathy", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- diabetic SELECT### Response: SELECT * FROM table_train_2 WHERE diabetic <> 'none'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_274 ( "id", "gender", "serum_bicarbonate", "randomization_bg", "positive_serum", "diabetic_ketoacidosis", "urinary_ketones", "diastolic_blood_pressure_dbp", "heart_rate", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subjects with an admission / randomization bg < 400 mg / dl without laboratory evidence of diabetic ketoacidosis ( serum bicarbonate < 18 meq / l or positive serum or urinary ketones ) . SELECT### Response: SELECT * FROM table_train_274 WHERE randomization_bg < 400 AND diabetic_ketoacidosis = 0 OR (serum_bicarbonate < 18 OR positive_serum = 0 OR urinary_ketones = 0).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_172 ( "id", "systolic_blood_pressure_sbp", "c_peptide_level", "hemoglobin_a1c_hba1c", "peak_stimulated_c_peptide", "diastolic_blood_pressure_dbp", "mixed_meal_tolerance_test_mmtt", "vitamin_d", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- systolic blood pressure > 160 and diastolic blood pressure > 100 SELECT### Response: SELECT * FROM table_train_172 WHERE systolic_blood_pressure_sbp > 160 AND diastolic_blood_pressure_dbp > 100.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_165 ( "id", "gender", "hemoglobin_a1c_hba1c", "visual_impairment", "blood_glucose", "body_mass_index_bmi", "a1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- blood glucose > 150 mg / dl and a1c > 7.5 % . SELECT### Response: SELECT * FROM table_train_165 WHERE blood_glucose > 150 AND a1c > 7.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_7 ( "id", "bleeding", "hypotension", "burn_injury", "hypoperfusion", "hypertension", "age", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- organ hypoperfusion lactate > 4 SELECT### Response: SELECT * FROM table_train_7 WHERE hypoperfusion = 1 OR lactate > 4.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_54 ( "id", "organ_transplantation", "severe_sepsis", "systolic_blood_pressure_sbp", "hiv_infection", "thrombocytopenia", "sepsis", "hypotension", "burn_injury", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- thrombocytopenia ( < 20 / ml ) SELECT### Response: SELECT * FROM table_train_54 WHERE thrombocytopenia < 20.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_35 ( "id", "pregnancy_or_lactation", "glucocorticoid_history", "impaired_consciousness", "hematologic_disease", "glasgow_come_score_gcs", "liver_disease", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- glucocorticoid history which warrants continuation of glucocorticoid administration SELECT### Response: SELECT * FROM table_train_35 WHERE glucocorticoid_history = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_272 ( "id", "fasting_plasma_glucose_fpg", "creatinine_clearance_cl", "baseline_hemoglobin_hgb", "sensitization_on_pra", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- baseline hb < 10 gm / dl SELECT### Response: SELECT * FROM table_train_272 WHERE baseline_hemoglobin_hgb < 10.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_78 ( "id", "mini_mental_state_examination_mmse", "consent", "swallow_oral_medication", "rosen_modified_hachinski_ischemic_score", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- mini _ mental state examinations ( mmse ) score between 10 _ 20 inclusive. SELECT### Response: SELECT * FROM table_train_78 WHERE mini_mental_state_examination_mmse >= 10 AND mini_mental_state_examination_mmse <= 20.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_171 ( "id", "systolic_blood_pressure_sbp", "hiv_infection", "hemoglobin_a1c_hba1c", "hepatitis_c", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- triglycerides greater than or equal to 500 mg / dl SELECT### Response: SELECT * FROM table_train_171 WHERE triglyceride_tg >= 500.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_21 ( "id", "pregnancy_or_lactation", "severe_sepsis", "systolic_blood_pressure_sbp", "active_infection", "limited_care", "septic_shock", "coagulopathy", "age", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- this will include patients that have 2 / 4 systemic inflammatory response syndrome criteria, a suspected infection and either a initial serum lactate > 4 mmol / l or a initial systolic blood pressure < 90 millimeters of mercury. SELECT### Response: SELECT * FROM table_train_21 WHERE active_infection = 1 AND (lactate > 4 OR systolic_blood_pressure_sbp < 90).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_246 ( "id", "allergy_to_dapagliflozin", "allergy_to_exenatide", "estimated_glomerular_filtration_rate_egfr", "fasting_c_peptide", "urine_albumin_to_creatinine_ratio_uacr", "fasting_triglyceride", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- urine albumin _ to _ creatinine ratio greater or equal to 300 mg / g SELECT### Response: SELECT * FROM table_train_246 WHERE urine_albumin_to_creatinine_ratio_uacr >= 300.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_129 ( "id", "cerebral_neoplasia", "gender", "mini_mental_state_examination_mmse", "multiple_lacunar_infarcts", "neurodegenerative_disease", "mri_abnormality", "nervous_system_functioning", "head_injury", "serious_neurological_disorders", "huntington_disease", "space_occupying_lesions", "major_cortical_stroke", "fronto_temporal_dementia", "encephalomalacia", "vascular_malformations", "systemic_medical_diseases", "single_prior_infarct", "subdural_hematoma", "single_prior_hemorrhage", "abscess", "disturbance_of_consciousness", "seizure_disorder", "tumor", "parkinson_disease", "cerebral_contusion", "body_mass_index_bmi", "lewy_body_dementia", "aneurysm", "ad", "infarct", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- mri indicative of significant abnormality, including but not limited to evidence of a single prior hemorrhage or infarct > 1 cm3, multiple lacunar infarcts ( > 1 ) or evidence of a single prior infarct > 1cm3, evidence of a cerebral contusion, encephalomalacia, aneurysms, vascular malformations, subdural hematoma, or space occupying lesions ( e.g. abscess or tumor ) . SELECT### Response: SELECT * FROM table_train_129 WHERE mri_abnormality = 1 OR single_prior_hemorrhage > 1 OR infarct > 1 OR multiple_lacunar_infarcts > 1 OR single_prior_infarct > 1 OR cerebral_contusion = 1 OR encephalomalacia = 1 OR aneurysm = 1 OR vascular_malformations = 1 OR subdural_hematoma = 1 OR (space_occupying_lesions = 1 OR abscess = 1 OR tumor = 1).
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. -- diagnosis of probable alzheimer's disease ( ad ) of mild to moderate severity ( as determined by a mini mental state examination ( mmse ) score of 14 _ 26 inclusive ) SELECT### Response: SELECT * FROM table_train_134 WHERE alzheimer_disease_ad = 1 OR (mini_mental_state_examination_mmse >= 14 AND mini_mental_state_examination_mmse <= 26).
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. -- age > 18 years SELECT### Response: SELECT * FROM table_train_203 WHERE age > 18.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_261 ( "id", "allergy_to_biological_products", "renal_disease", "bursing_mothers", "metabolic_bone_disease", "liver_disease", "allergy_to_drug", "alcohol_abuse", "drug_abuse", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients with a history of drug or alcohol dependence in the last 5 years SELECT### Response: SELECT * FROM table_train_261 WHERE drug_abuse = 1 OR alcohol_abuse = 1.
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 over 18 years admitted in intensive care unit and having severe sepsis criteria or septic shock documented or suspected define as bone criteria SELECT### Response: SELECT * FROM table_train_1 WHERE age > 18 AND (severe_sepsis = 1 OR septic_shock = 1).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_231 ( "id", "hemoglobin_a1c_hba1c", "heart_disease", "stroke", "renal_disease", "estimated_glomerular_filtration_rate_egfr", "allergy_to_milk", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- significant renal impairment ( glomerular filtration rate < 60 ml / min [to be calculated by the central laboratory] ) ; SELECT### Response: SELECT * FROM table_train_231 WHERE renal_disease = 1 OR estimated_glomerular_filtration_rate_egfr < 60.
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. -- non _ smoker SELECT### Response: SELECT * FROM table_train_200 WHERE smoking = 0.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_217 ( "id", "gender", "c_peptide_level", "hemoglobin_a1c_hba1c", "hematocrit_hct", "insulin_requirement", "serum_creatinine", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total daily insulin requirement of = 1.4 u / kg body weight SELECT### Response: SELECT * FROM table_train_217 WHERE insulin_requirement = 1.4.
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. -- hematocrit < 36 % ( female ) ; < 38 % ( male ) SELECT### Response: SELECT * FROM table_train_184 WHERE (gender = 'female' AND hematocrit_hct < 36) OR (gender = 'male' AND hematocrit_hct < 38).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_65 ( "id", "intention_to_arterial_catheter", "steroid_therapy", "intention_to_central_venous_catheter", "central_venous_pressure_cvp", "receiving_vasopressor", "pulmonary_artery_occlusive_pressure_paop", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- requiring vasopressor support despite adequate fluid resuscitation SELECT### Response: SELECT * FROM table_train_65 WHERE receiving_vasopressor = 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. -- subjects should have fpg in the range of 6 to 11 mmol / l at screening and hba1c less than 10 % ( hba1c value according to international dcct standard ) . SELECT### Response: SELECT * FROM table_train_280 WHERE fpg >= 6 AND fpg <= 11 AND hemoglobin_a1c_hba1c < 10.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_27 ( "id", "bone_marrow_transplant", "antimicrobial_therapy", "immune_suppression", "hiv_infection", "autoimmune_disease", "hepatitis_b_infection", "renal_disease", "total_parenteral_nutrition", "surgery", "hepatitis_c_infection", "invasive_candida_infection", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- sepsis induced immunosuppression SELECT### Response: SELECT * FROM table_train_27 WHERE immune_suppression = 1.
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. -- anemia ( hemoglobin < 12 ) SELECT### Response: SELECT * FROM table_train_183 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_68 ( "id", "sequential_organ_failure_assessment_sofa", "pregnancy_or_lactation", "piro_predispose_infection_response_organ_dysfunction_score", "systolic_blood_pressure_sbp", "hypotension", "age", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- pregnant subjects SELECT### Response: SELECT * FROM table_train_68 WHERE pregnancy_or_lactation = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_20 ( "id", "exercise_rehabilitation", "severe_sepsis", "active_infection", "mental_status", "functional_disability", "septic_shock", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- severe functional disability before admission; SELECT### Response: SELECT * FROM table_train_20 WHERE functional_disability = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_172 ( "id", "systolic_blood_pressure_sbp", "c_peptide_level", "hemoglobin_a1c_hba1c", "peak_stimulated_c_peptide", "diastolic_blood_pressure_dbp", "mixed_meal_tolerance_test_mmtt", "vitamin_d", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- undetectable c peptide ( c _ peptide < 0.1 ng / ml ) . SELECT### Response: SELECT * FROM table_train_172 WHERE c_peptide_level < 0.1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_270 ( "id", "gender", "allergy_to_omega_3", "serum_low_density_lipoprotein_cholesterol", "stimulated_c_peptide", "allergy_to_dha", "allergy_to_vitamin_d", "serum_triglyceride", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- stimulated c _ peptide > 0.2 pmol / l on mmtt SELECT### Response: SELECT * FROM table_train_270 WHERE stimulated_c_peptide > 0.2.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_166 ( "id", "hemoglobin_a1c_hba1c", "diabetic", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body mass index maximum 40 kg / m^2 SELECT### Response: SELECT * FROM table_train_166 WHERE 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_13 ( "id", "active_infection", "procalcitonin", "receiving_vasopressor", "sepsis", "septic_shock", "age", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- age < 18 years, or age > 80 years. SELECT### Response: SELECT * FROM table_train_13 WHERE age < 18 OR age > 80.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_236 ( "id", "renal_disease", "creatinine_clearance_cl", "estimated_glomerular_filtration_rate_egfr", "hba1c", "fbg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hba1c 10 % or higher. SELECT### Response: SELECT * FROM table_train_236 WHERE hba1c >= 10.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_234 ( "id", "orthostatic_hypotension", "systolic_blood_pressure_sbp", "estimated_glomerular_filtration_rate_egfr", "postural_fall_of_dbp", "diastolic_blood_pressure_dbp", "postural_fall_of_sbp", "allergy_to_sglt_2_inhibitors", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- egfr > 60 SELECT### Response: SELECT * FROM table_train_234 WHERE estimated_glomerular_filtration_rate_egfr > 60.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_156 ( "id", "anemia", "abnormal_bilirubin", "hemoglobin_a1c_hba1c", "body_mass_index_bmi", "bilirubin", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hba1c levels greater than 14 % SELECT### Response: SELECT * FROM table_train_156 WHERE hemoglobin_a1c_hba1c > 14.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_269 ( "id", "pregnancy_or_lactation", "hemoglobin_a1c_hba1c", "diabetic", "hba1c", "prisoners", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- type ii diabetes SELECT### Response: SELECT * FROM table_train_269 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_92 ( "id", "thyroid_disease", "heart_disease", "global_deterioration_scale", "rosen_modified_hachinski_ischemic_score", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- uncontrolled hypertension. SELECT### Response: SELECT * FROM table_train_92 WHERE hypertension = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_99 ( "id", "mini_mental_state_examination_mmse", "language", "renal_disease", "hepatic_disease", "allergy_to_formoterol", "geriatric_depression_scale_gds", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- mini _ mental status exam score > 16 and < 25 . SELECT### Response: SELECT * FROM table_train_99 WHERE mini_mental_state_examination_mmse >= 16 AND mini_mental_state_examination_mmse <= 25.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_66 ( "id", "pregnancy_or_lactation", "white_blood_cell_count_wbc", "acute_pyelonephritis", "intrabdominal_infection", "body_weight", "oxygen_therapy_by_face_mask", "temperature", "heart_rate", "paco2", "band_form", "respiratory_rate", "bacteremia_by_gram_negative_bacteria", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- are pregnant or are lactating and the milk is to be ingested by the infant ( pregnancy status must be verified by urine or serum testing ) SELECT### Response: SELECT * FROM table_train_66 WHERE pregnancy_or_lactation = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_138 ( "id", "mini_mental_state_examination_mmse", "stroke", "body_weight", "cranial_neurosurgery", "first_degree_relative", "seizure_disorder", "alcohol_abuse", "body_mass_index_bmi", "aneurysm", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body mass index bmi between 18 and 32 kg per m2, body weight less than 300 pounds. SELECT### Response: SELECT * FROM table_train_138 WHERE body_mass_index_bmi >= 18 AND body_mass_index_bmi <= 32 AND body_weight < 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. -- aged 55 _ 75 years SELECT### Response: SELECT * FROM table_train_79 WHERE age >= 55 AND age <= 75.
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. -- sinusal rhythm SELECT### Response: SELECT * FROM table_train_1 WHERE sinusal_rhythm = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_34 ( "id", "gender", "allergy_to_adhesive", "contraception", "use_of_cyclosporin", "use_of_digoxin", "liver_disease", "rhabomyolysis", "allergy_to_hydrocortisone", "use_of_statins", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- rhabomyolysis SELECT### Response: SELECT * FROM table_train_34 WHERE rhabomyolysis = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_171 ( "id", "systolic_blood_pressure_sbp", "hiv_infection", "hemoglobin_a1c_hba1c", "hepatitis_c", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 6.5 % < hba1c < 11 % SELECT### Response: SELECT * FROM table_train_171 WHERE hemoglobin_a1c_hba1c > 6.5 AND 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_160 ( "id", "alt", "systolic_blood_pressure_sbp", "ast", "platelet_count", "diastolic_blood_pressure_dbp", "serum_creatinine", "triglyceride_tg", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- triglyceride levels > 400 mg / dl. SELECT### Response: SELECT * FROM table_train_160 WHERE triglyceride_tg > 400.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_276 ( "id", "hbv", "systolic_blood_pressure_sbp", "hiv_infection", "hcv", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of human immunodeficiency virus ( hiv ) antibody positive SELECT### Response: SELECT * FROM table_train_276 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_55 ( "id", "ejection_fraction_ef", "systolic_dysfunction", "language", "valvular_dysfunction", "consent", "heart_disease", "left_bundle_branch_block", "trauma", "pericardial_disease", "complete_fluid_challenge", "receiving_vasopressor", "pulmonary_hypertension", "prisoners", "heart_transplant", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of significant trauma SELECT### Response: SELECT * FROM table_train_55 WHERE trauma = 1.
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. -- hematocrit < 34 % SELECT### Response: SELECT * FROM table_train_148 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_265 ( "id", "systolic_blood_pressure_sbp", "fasting_blood_glucose_fbg", "diastolic_blood_pressure_dbp", "hba1c", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fasting blood glucose < 126 mg / dl SELECT### Response: SELECT * FROM table_train_265 WHERE fasting_blood_glucose_fbg < 126.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_145 ( "id", "gender", "white_blood_cell_count_wbc", "elevated_intraocular_pressure", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "stroke", "platelets", "intraocular_pressure", "hematologic_disease", "visual_impairment", "diastolic_blood_pressure_dbp", "serum_creatinine", "insulin_requiring_diabetes", "uncontrolled", "hypertension", "coagulopathy", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serum creatinine > 1.4 mg / dl ( male ) or > 1.3 mg / dl ( female ) SELECT### Response: SELECT * FROM table_train_145 WHERE (gender = 'male' AND serum_creatinine > 1.4) OR (gender = 'female' AND serum_creatinine > 1.3).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_198 ( "id", "hemoglobin_a1c_hba1c", "fasting_plasma_glucose", "diabetes", "body_mass_index_bmi", "type_1_patients", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- a random plasma glucose of 200 mg / dl or more with typical symptom of diabetes SELECT### Response: SELECT * FROM table_train_198 WHERE fasting_plasma_glucose >= 200 OR diabetes = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_99 ( "id", "mini_mental_state_examination_mmse", "language", "renal_disease", "hepatic_disease", "allergy_to_formoterol", "geriatric_depression_scale_gds", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- geriatric depression scales ( gds ) >= 10 . SELECT### Response: SELECT * FROM table_train_99 WHERE geriatric_depression_scale_gds >= 10.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_56 ( "id", "organ_transplantation", "severe_sepsis", "immune_suppression", "autoimmune_disease", "hematopoietic", "chronic_infectious", "steroid_therapy", "sepsis", "systemic_inflammatory_response", "organ_failure", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients with any type of chronic infectious, inflammatory or autoimmune diseases SELECT### Response: SELECT * FROM table_train_56 WHERE chronic_infectious = 1 OR systemic_inflammatory_response = 1 OR 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_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 hemoglobin a1c ( hba1c ) > 8 % SELECT### Response: SELECT * FROM table_train_116 WHERE hemoglobin_a1c_hba1c > 8.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_249 ( "id", "gender", "allergy_to_dapagliflozin", "body_weight", "estimated_glomerular_filtration_rate_egfr", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- glomerular filtration rate ( gfr ) < 60 ml / min / 1.73 m2 SELECT### Response: SELECT * FROM table_train_249 WHERE estimated_glomerular_filtration_rate_egfr < 60.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_19 ( "id", "white_blood_cell_count_wbc", "active_infection", "heart_disease", "temperature", "skin_lesion", "heart_rate", "paco2", "immature_form", "respiratory_rate", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- confirmed or suspected infection; SELECT### Response: SELECT * FROM table_train_19 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_138 ( "id", "mini_mental_state_examination_mmse", "stroke", "body_weight", "cranial_neurosurgery", "first_degree_relative", "seizure_disorder", "alcohol_abuse", "body_mass_index_bmi", "aneurysm", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subjects with diagnosis of current alcohol related problems SELECT### Response: SELECT * FROM table_train_138 WHERE alcohol_abuse = 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. -- greater than 18 years old SELECT### Response: SELECT * FROM table_train_33 WHERE age > 18.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_188 ( "id", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "diastolic_blood_pressure_dbp", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- bmi of 25 _ 39.9 kg / m2 both inclusive. SELECT### Response: SELECT * FROM table_train_188 WHERE body_mass_index_bmi > 25 AND body_mass_index_bmi < 39.9.
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. -- risk of bleeding SELECT### Response: SELECT * FROM table_train_6 WHERE bleeding = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_231 ( "id", "hemoglobin_a1c_hba1c", "heart_disease", "stroke", "renal_disease", "estimated_glomerular_filtration_rate_egfr", "allergy_to_milk", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- allergy to milk or any of its components SELECT### Response: SELECT * FROM table_train_231 WHERE allergy_to_milk = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_63 ( "id", "immune_suppression", "leukocyte_count", "need_hemodialysis", "head_injury", "periodic_paralysis", "renal_disease", "glasgow_come_score_gcs", "sepsis", "pancreatitis", "enteral_feeding", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- severe immunologic suppression ( defined as a leukocyte count bellow 5000 cells / mm3 ) SELECT### Response: SELECT * FROM table_train_63 WHERE immune_suppression = 1 OR leukocyte_count < 5000.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_259 ( "id", "systolic_blood_pressure_sbp", "hiv_infection", "hemoglobin_a1c_hba1c", "hearing_problem", "heart_disease", "high_blood_pressure", "diabetic", "immune_deficiency_disorder", "visual_impairment", "diastolic_blood_pressure_dbp", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- immune disorder ( such as hiv / aids ) SELECT### Response: SELECT * FROM table_train_259 WHERE immune_deficiency_disorder = 1 OR 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_160 ( "id", "alt", "systolic_blood_pressure_sbp", "ast", "platelet_count", "diastolic_blood_pressure_dbp", "serum_creatinine", "triglyceride_tg", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- serum creatinine > 1.5 mg / dl or greater than 1.5x the upper limit of normal for age SELECT### Response: SELECT * FROM table_train_160 WHERE serum_creatinine > 1.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_258 ( "id", "gender", "autoimmune_disease", "renal_disease", "hepatic_disease", "immune_deficiency_disorder", "active_hepatitis", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hepatic failure or active hepatitis SELECT### Response: SELECT * FROM table_train_258 WHERE hepatic_disease = 1 OR active_hepatitis = 1.
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. -- severe cardiac, pulmonary, vascular, metabolic, or hematologic conditions. SELECT### Response: SELECT * FROM table_train_128 WHERE cardiac = 1 OR pulmonary_disease = 1 OR vascular = 1 OR metabolic = 1 OR hematologic_disease = 1.
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. -- lactose or galactose intolerance SELECT### Response: SELECT * FROM table_train_209 WHERE lactose_intolerance = 1 OR galactose_intolerance = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_234 ( "id", "orthostatic_hypotension", "systolic_blood_pressure_sbp", "estimated_glomerular_filtration_rate_egfr", "postural_fall_of_dbp", "diastolic_blood_pressure_dbp", "postural_fall_of_sbp", "allergy_to_sglt_2_inhibitors", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- bmi 25 to 35 inclusive SELECT### Response: SELECT * FROM table_train_234 WHERE body_mass_index_bmi >= 25 AND body_mass_index_bmi <= 35.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_169 ( "id", "leukocytes", "hemoglobin_a1c_hba1c", "urine_albumin_excretion", "estimated_glomerular_filtration_rate_egfr", "glucola_beverage_gct", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 50 gram glucola beverage gct of greater than or equal to 190 mg / dl SELECT### Response: SELECT * FROM table_train_169 WHERE glucola_beverage_gct >= 190.
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. -- have had organ transplantation. SELECT### Response: SELECT * FROM table_train_194 WHERE organ_transplantation = 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. -- patient must be at least 16 years of age SELECT### Response: SELECT * FROM table_train_6 WHERE age >= 16.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_72 ( "id", "extracorporeal_membrane_oxygenation_ecmo_cannulation", "heart_disease", "meningitis_or_encephalitis", "sepsis", "cancer", "prisoners", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of cardiac arrest. SELECT### Response: SELECT * FROM table_train_72 WHERE prisoners = 1.
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 glyburide; SELECT### Response: SELECT * FROM table_train_182 WHERE allergy_to_glyburide = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_49 ( "id", "consent", "palliative_treatment", "acute_mesenteric_ischemia", "receiving_vasopressor", "septic_shock", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- refusal to give consent SELECT### Response: SELECT * FROM table_train_49 WHERE consent = 0.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_277 ( "id", "gender", "cholesterol", "blood_platelet_counts", "creatinine_clearance_cl", "estimated_glomerular_filtration_rate_egfr", "severe_dyslipidemia", "fasting_triglyceride", "body_mass_index_bmi", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- creatinine level ( a measure of kidney function is greater than 1.4 mg / dl ( for female ) or greater than 1.5 mg / dl ( for male ) or your estimated gfr is under 60 . SELECT### Response: SELECT * FROM table_train_277 WHERE (creatinine_clearance_cl > 1.4 AND gender = 'female') OR (creatinine_clearance_cl > 1.5 AND gender = 'male') OR estimated_glomerular_filtration_rate_egfr < 60.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_218 ( "id", "plasma_glucose_concentration", "c_peptide_level", "body_weight", "diabetic", "single_antigen_b_sab", "low_density_lipoprotein_ldl_cholesterol", "body_mass_index_bmi", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body weight < 70 kg SELECT### Response: SELECT * FROM table_train_218 WHERE body_weight < 70.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_141 ( "id", "gender", "hypothyroidism", "depression", "mini_mental_state_examination_mmse", "neuropsychiatric_diagnoses", "memory_box", "early_stage_ad", "head_injury", "stroke", "body_weight", "major_medical_illness", "rbans_dmi", "psychosis", "alzheimer_disease_ad", "diabetes", "body_mass_index_bmi", "ad", "hypertension", "clinical_dementia_rating_cdr", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- a diagnosis of ad, and mini _ mental status examination ( mmse ) score between >= 18 and <= 26 . SELECT### Response: SELECT * FROM table_train_141 WHERE ad = 1 OR alzheimer_disease_ad = 1 AND (mini_mental_state_examination_mmse >= 18 AND mini_mental_state_examination_mmse <= 26).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_67 ( "id", "corticosteroid_therapy", "viral_infection", "active_infection", "hiv_infection", "neutropenia", "receiving_prednisolone", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- intake of corticosteroids at a dose more than or equal to 1 mg / kg of equivalent prednisone for more than one month SELECT### Response: SELECT * FROM table_train_67 WHERE corticosteroid_therapy = 1 AND receiving_prednisolone >= 1.