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_105 ( "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_105 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_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. -- plasma creatinine > 2 mg / dl. SELECT### Response: SELECT * FROM table_train_119 WHERE plasma_creatinine > 2.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_161 ( "id", "white_blood_cell_count_wbc", "systolic_blood_pressure_sbp", "c_peptide_level", "diastolic_blood_pressure_dbp", "heart_rate", "glycosylated_hemoglobin", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- resting heart rate > 120 bpm SELECT### Response: SELECT * FROM table_train_161 WHERE heart_rate > 120.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_28 ( "id", "gender", "pregnancy_or_lactation", "systemic_antifungal_therapy", "child_pugh_class", "invasive_candida_infection", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- pregnant or lactating female SELECT### Response: SELECT * FROM table_train_28 WHERE pregnancy_or_lactation = 1 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_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. -- hematologic or advanced malignancies SELECT### Response: SELECT * FROM table_train_35 WHERE 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_23 ( "id", "in_another_study", "immune_suppression", "hiv_infection", "fio2", "head_injury", "heart_disease", "steroid_therapy", "chemotherapy", "edema", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- severe head trauma with edema SELECT### Response: SELECT * FROM table_train_23 WHERE head_injury = 1 AND edema = 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. -- has an active metabolic, hepatic, or gastrointestinal disease SELECT### Response: SELECT * FROM table_train_226 WHERE active_metabolic = 1 OR hepatic_disease = 1 OR gastrointestinal_disease = 1.
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. -- diagnosis of lewy body dementia or mild cognitive impairment SELECT### Response: SELECT * FROM table_train_88 WHERE lewy_body_dementia = 1 OR mild_cognitive_impairment = 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. -- fasted plasma glucose at screening visit <= 260 mg / dl ( 14.44 mmol / l ) SELECT### Response: SELECT * FROM table_train_237 WHERE fasting_plasma_glucose <= 260.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_51 ( "id", "active_infection", "procalcitonin", "oliguria", "receiving_vasopressor", "metabolic_acidosis", "colonized_with_a_multi_drug_resistant_organism", "hypoperfusion", "central_venous_oxygen_saturation_scvo2", "venous_to_arterial_co2_gap_dco2", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patient with an identified infectious site according to the definitions, SELECT### Response: SELECT * FROM table_train_51 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_47 ( "id", "bone_marrow_transplant", "organ_transplantation", "allergy_to_calcitriol", "serum_calcium", "taking_vitamin_d", "intention_to_central_venous_catheter", "sarcoidosis", "metabolic_bone_disease", "primary_parathyroid_disease", "phosphate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- therapy with nutritional vitamin d at doses > 1000 i.u. per day or activated vitamin d at any dose SELECT### Response: SELECT * FROM table_train_47 WHERE taking_vitamin_d = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_60 ( "id", "corticosteroid_therapy", "radiotherapy", "immune_suppression", "hiv_infection", "cd4_count", "sargramostim", "chemotherapy", "immune_deficiency_disorder", "tumor", "receiving_prednisolone", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- immunosuppressive treatment ( including corticosteroid at immunosuppressive dose : > 10 mg equivalent prednisolone and cumulative dose > 700 mg ) SELECT### Response: SELECT * FROM table_train_60 WHERE immune_suppression = 1 OR (corticosteroid_therapy = 1 OR receiving_prednisolone > 700).
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. -- active heart disease SELECT### Response: SELECT * FROM table_train_259 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_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. -- body mass index ( bmi ) < 35 kg / m2 SELECT### Response: SELECT * FROM table_train_263 WHERE 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_57 ( "id", "bleeding", "in_another_study", "hiv_infection", "hepatitis_c_infection", "receiving_vasopressor", "hypotension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- participation in another study SELECT### Response: SELECT * FROM table_train_57 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_149 ( "id", "prostate_specific_antigen_psa", "c_peptide_level", "hemoglobin_a1c_hba1c", "fasting_serum_glucose", "vitamin_d", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- vitamin d level < 20 SELECT### Response: SELECT * FROM table_train_149 WHERE vitamin_d < 20.
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. -- diagnosis of type ii diabetes. SELECT### Response: SELECT * FROM table_train_230 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_243 ( "id", "c_peptide_level", "finger_stick_measurements", "diabetic", "fasting_blood_glucose_fbg", "hypoglycemia", "insulin_requirement", "triglyceride_tg", "a1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- safety substudy in 20 iddm patients only: insulin _ treated type ii diabetics with a c _ peptide of < 0.8 ng / mld and fasting blood glucose > 150 mg / dl will be excluded even without history of hypoglycemia during finger stick measurements. SELECT### Response: SELECT * FROM table_train_243 WHERE insulin_requirement = 1 AND diabetic = 'ii' AND c_peptide_level < 0.8 AND fasting_blood_glucose_fbg > 150 AND (hypoglycemia = 0 AND finger_stick_measurements = 0).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_147 ( "id", "pregnancy_or_lactation", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "obesity", "fasting_blood_glucose_fbg", "heart_rate", "body_mass_index_bmi", "underweight", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hemoglobin < 8.5 g / dl or > or = to 17 g / dl SELECT### Response: SELECT * FROM table_train_147 WHERE hemoglobin_a1c_hba1c < 8.5 OR hemoglobin_a1c_hba1c >= 17.
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. -- significant, uncontrolled systemic illness ( i.e. chronic renal failure, chronic liver disease, poorly controlled diabetes, or poorly controlled congestive heart failure ) SELECT### Response: SELECT * FROM table_train_136 WHERE systemic_illness = 1 OR (renal_disease = 1 OR liver_disease = 1 OR poorly_controlled_diabetes = 1 OR 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_180 ( "id", "gender", "pregnancy_or_lactation", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "diabetic", "post_load_glucose", "diastolic_blood_pressure_dbp", "impaired_glucose_tolerance", "fasting_glucose", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- age 18 years or older with clinical type i diabetes for at least one year SELECT### Response: SELECT * FROM table_train_180 WHERE age >= 18 AND diabetic = 'i'.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_47 ( "id", "bone_marrow_transplant", "organ_transplantation", "allergy_to_calcitriol", "serum_calcium", "taking_vitamin_d", "intention_to_central_venous_catheter", "sarcoidosis", "metabolic_bone_disease", "primary_parathyroid_disease", "phosphate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of hypersensitivity or any allergic reaction to calcitriol SELECT### Response: SELECT * FROM table_train_47 WHERE allergy_to_calcitriol = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_43 ( "id", "anemia", "cystinuria", "hyperoxaluria", "acute_gout_attack", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- known mediterranean anemia SELECT### Response: SELECT * FROM table_train_43 WHERE anemia = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_37 ( "id", "severe_sepsis", "mechanical_ventilation", "surgery", "receiving_vasopressor", "sepsis", "organ_failure", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- have received vasopressor therapy ( at any dose ) SELECT### Response: SELECT * FROM table_train_37 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. -- age 50 _ 89 years old SELECT### Response: SELECT * FROM table_train_79 WHERE age >= 50 AND age <= 89.
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. -- elevated triglyceride level > 150 mg / dl SELECT### Response: SELECT * FROM table_train_179 WHERE triglyceride_tg > 150.
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. -- creatinine > 1.2 SELECT### Response: SELECT * FROM table_train_163 WHERE creatinine_clearance_cl > 1.2.
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. -- symptomatic hypotension or hypertension ( supine diastolic blood pressure > 95 mmhg ) ( in the judgment of the investigator ) SELECT### Response: SELECT * FROM table_train_118 WHERE symptomatic_hypotension = 1 OR (hypertension = 1 OR diastolic_blood_pressure_dbp > 95).
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_189 ( "id", "alt", "hyperglycemia", "liver_disease", "smoking", "alcohol_abuse", "drug_abuse", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- triglycerides > 450 mg / dl SELECT### Response: SELECT * FROM table_train_189 WHERE triglyceride_tg > 450.
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. -- presence or history of panel _ reactive anti _ hla antibody > 20 % . SELECT### Response: SELECT * FROM table_train_225 WHERE panel_reactive_antibodies > 20.
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. -- head trauma with a glasgow come score ( gcs ) less or equal to 5 SELECT### Response: SELECT * FROM table_train_63 WHERE head_injury = 1 AND glasgow_come_score_gcs <= 5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_235 ( "id", "urinary_protein", "nephrotic_range_proteinuria", "hepatic_disease", "estimated_glomerular_filtration_rate_egfr", "kidney_disease", "renal_transplantation", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- presence of hepatic disease SELECT### Response: SELECT * FROM table_train_235 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_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. -- glucose _ 6 _ phosphate dehydrogenase ( g6pd ) deficiency SELECT### Response: SELECT * FROM table_train_115 WHERE glucose_6_phosphate_dehydrogenase_deficiency_g6pd = 0.
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. -- age 12 _ 21 years SELECT### Response: SELECT * FROM table_train_210 WHERE age >= 12 AND age <= 21.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_123 ( "id", "bleeding", "systolic_blood_pressure_sbp", "anticoagulation", "lumbar_puncture", "blood_pressure_problem", "stroke", "substance_dependence", "schizophrenia", "major_mental_illness", "multiple_sclerosis", "platelet_count", "pulse_rate", "diastolic_blood_pressure_dbp", "diabetes_problem", "sepsis", "breathing_problem", "alzheimer_disease_ad", "neurological_disease", "seizure_disorder", "alcohol_abuse", "brain_tumor", "parkinson_disease", "major_depression", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- major depression in past 12 months ( dsm _ iv criteria ) , major mental illness such as schizophrenia, or recent ( in past 12 months ) alcohol or substance abuse. SELECT### Response: SELECT * FROM table_train_123 WHERE major_depression = 1 OR (major_mental_illness = 1 OR schizophrenia = 1 OR alcohol_abuse = 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_244 ( "id", "fasting_venous_plasma_glucose", "hemoglobin_a1c_hba1c", "diabetic", "capillary_glycated_hemoglobin", "fasting_capillary_glucose", "borderline_fasting_capillary_glucose_level", "body_mass_index_bmi", "fasting_glucose", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body mass index 25 _ 39.9 kg / m2 SELECT### Response: SELECT * FROM table_train_244 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_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. -- weight > 200 kg SELECT### Response: SELECT * FROM table_train_66 WHERE body_weight > 200.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_111 ( "id", "mini_mental_state_examination_mmse", "liver_disease", "geriatric_depression_scale_gds", "rosen_modified_hachinski_ischemic_score", "plasma_creatinine", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of liver disease SELECT### Response: SELECT * FROM table_train_111 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_227 ( "id", "gender", "diabetic", "allergic_to_study_products", "hba1c", "a1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- male 35 _ 70 years old SELECT### Response: SELECT * FROM table_train_227 WHERE gender = 'male' AND age >= 35 AND age <= 70.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_176 ( "id", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "estimated_glomerular_filtration_rate_egfr", "blood_glucose", "hypoglycemia", "total_cholesterol", "low_density_lipoprotein_ldl_cholesterol", "triglyceride_tg", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- resting systolic blood pressure ( sbp ) < 140 SELECT### Response: SELECT * FROM table_train_176 WHERE systolic_blood_pressure_sbp < 140.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_96 ( "id", "gender", "elevated_creatinine", "diabetic", "cerebrovascular_disease", "moca_score", "parkinsonism", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- elevated creatinine ( female > 1.3 mg / dl or male > 1.4 mg / dl at baseline ) SELECT### Response: SELECT * FROM table_train_96 WHERE (elevated_creatinine > 1.3 AND gender = 'female') OR (elevated_creatinine > 1.4 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_90 ( "id", "gender", "alzheimer", "breast_cancer", "smoking", "heart_rate", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- heart rate < 45 or > 100 ; SELECT### Response: SELECT * FROM table_train_90 WHERE heart_rate < 45 OR heart_rate > 100.
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. -- total cholesterol greater than 300 mg / dl SELECT### Response: SELECT * FROM table_train_201 WHERE total_cholesterol >= 300.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_243 ( "id", "c_peptide_level", "finger_stick_measurements", "diabetic", "fasting_blood_glucose_fbg", "hypoglycemia", "insulin_requirement", "triglyceride_tg", "a1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- a1c 7.1 _ 11 SELECT### Response: SELECT * FROM table_train_243 WHERE a1c >= 7.1 AND a1c <= 11.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_24 ( "id", "systolic_blood_pressure_sbp", "do_not_resuscitate_dnr", "temperature", "hypotension", "cardiac_arrest", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- post cardiac arrest SELECT### Response: SELECT * FROM table_train_24 WHERE cardiac_arrest = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_4 ( "id", "pregnancy_or_lactation", "severe_sepsis", "acute_venous_thromboembolism_vte", "allergy_to_carbapenem", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- admission diagnosis of acute vte, SELECT### Response: SELECT * FROM table_train_4 WHERE acute_venous_thromboembolism_vte = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_40 ( "id", "bone_marrow_transplant", "organ_transplantation", "systolic_blood_pressure_sbp", "do_not_resuscitate_dnr", "autoimmune_disease", "steroid_therapy", "intention_to_central_venous_catheter", "hematologic_disease", "sepsis", "acute_leukemia", "allergy_to_ifn_gamma", "neoplasma", "receiving_prednisolone", "septic_shock", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- subjects with a history of allergy or intolerance to ifn gamma SELECT### Response: SELECT * FROM table_train_40 WHERE allergy_to_ifn_gamma = 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. -- 12 to 40 years old SELECT### Response: SELECT * FROM table_train_223 WHERE age >= 12 AND age <= 40.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_105 ( "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. -- mini mental state examination score > 15 SELECT### Response: SELECT * FROM table_train_105 WHERE mini_mental_state_examination_mmse > 15.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_178 ( "id", "gender", "pregnancy_or_lactation", "hiv_infection", "hepatitis_c", "renal_disease", "hypoglycemia", "serum_creatinine", "seizure_disorder", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- for adolescents: bmi less than the 5 percentile SELECT### Response: SELECT * FROM table_train_178 WHERE body_mass_index_bmi < 5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_117 ( "id", "mini_mental_state_examination_mmse", "systolic_blood_pressure_sbp", "renal_disease", "total_serum_protein", "diastolic_blood_pressure_dbp", "geriatric_depression_scale_gds", "serum_creatinine", "uncontrolled_blood_pressure", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- uncontrolled blood pressure and / or blood pressure above 140 / 90 SELECT### Response: SELECT * FROM table_train_117 WHERE uncontrolled_blood_pressure = 1 OR systolic_blood_pressure_sbp >= 140 OR diastolic_blood_pressure_dbp >= 90.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_193 ( "id", "gender", "c_peptide_level", "hemoglobin_a1c_hba1c", "proteinuria", "body_mass_index_bmi", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- male or female of age 18 to 65 years SELECT### Response: SELECT * FROM table_train_193 WHERE (gender = 'male' OR gender = 'female') AND (age >= 18 AND age <= 65).
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. -- patients < 18 years of age, pregnant patients, and patients with limitations of care. SELECT### Response: SELECT * FROM table_train_21 WHERE age < 18 OR pregnancy_or_lactation = 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_155 ( "id", "cholesterol", "bleeding", "systolic_blood_pressure_sbp", "diabetic", "hyperlipidemia", "creatinine_clearance_cl", "platelet_count", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hyperlipidemia ( total cholesterol > 260 mg / dl SELECT### Response: SELECT * FROM table_train_155 WHERE hyperlipidemia = 1 OR cholesterol > 260.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_23 ( "id", "in_another_study", "immune_suppression", "hiv_infection", "fio2", "head_injury", "heart_disease", "steroid_therapy", "chemotherapy", "edema", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- heart failure ( new york heart association [nyha] iv ) SELECT### Response: SELECT * FROM table_train_23 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_229 ( "id", "hemoglobin_a1c_hba1c", "active_metabolic", "body_weight", "hba1c", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- minimal weight of 40 kg SELECT### Response: SELECT * FROM table_train_229 WHERE body_weight >= 40.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_232 ( "id", "metastatic_cancer", "hemoglobin_a1c_hba1c", "diabetic", "short_life_expectancy", "body_mass_index_bmi", "a1c", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- individuals with metastatic cancer or short life expectancy SELECT### Response: SELECT * FROM table_train_232 WHERE metastatic_cancer = 1 OR short_life_expectancy = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_51 ( "id", "active_infection", "procalcitonin", "oliguria", "receiving_vasopressor", "metabolic_acidosis", "colonized_with_a_multi_drug_resistant_organism", "hypoperfusion", "central_venous_oxygen_saturation_scvo2", "venous_to_arterial_co2_gap_dco2", "lactate", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patient colonized with a multi drug resistant organisms preventing de escalation antibiotic, SELECT### Response: SELECT * FROM table_train_51 WHERE colonized_with_a_multi_drug_resistant_organism = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_111 ( "id", "mini_mental_state_examination_mmse", "liver_disease", "geriatric_depression_scale_gds", "rosen_modified_hachinski_ischemic_score", "plasma_creatinine", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- current plasma creatinine >= 0.5 mg / dl SELECT### Response: SELECT * FROM table_train_111 WHERE plasma_creatinine >= 0.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_44 ( "id", "pregnancy_or_lactation", "severe_sepsis", "corticosteroid_therapy", "immune_suppression", "hepatic_disease", "septic_shock", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 18 years old or older SELECT### Response: SELECT * FROM table_train_44 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_164 ( "id", "hemoglobin_a1c_hba1c", "diabetic", "fasting_plasma_glucose", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fasting plasma glucose > 125 mg / dl on more than one occasion SELECT### Response: SELECT * FROM table_train_164 WHERE fasting_plasma_glucose > 125.
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. -- subjects must have an admission blood glucose > 140 mg and < 400 mg / dl and no evidence of ketoacidosis ( serum bicarbonate < 18 meq / l SELECT### Response: SELECT * FROM table_train_233 WHERE admission_blood_glucose > 140 AND admission_blood_glucose < 400 AND (ketoacidosis = 0 OR serum_bicarbonate > 18).
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. -- fasting plasma glucose during the screening period < / = 240 mg / dl SELECT### Response: SELECT * FROM table_train_279 WHERE fasting_plasma_glucose <= 240.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_46 ( "id", "bleeding", "active_infection", "hypotension", "burn_injury", "hypertension", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 10 % of body surface area acute burn injury SELECT### Response: SELECT * FROM table_train_46 WHERE burn_injury > 10.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_154 ( "id", "systolic_blood_pressure_sbp", "fpg", "hemoglobin_a1c_hba1c", "creatinine_clearance_cl", "diastolic_blood_pressure_dbp", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- fpg > 125 mg / dl or < 105 mg / dl at screening blood draw SELECT### Response: SELECT * FROM table_train_154 WHERE fpg > 125 OR fpg < 105.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_157 ( "id", "gender", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "platelets", "renal_disease", "c_reactive_protein", "creatinine_clearance_cl", "urine_protein", "serum_creatinine", "proteinuria", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- c _ reactive protein > 10 SELECT### Response: SELECT * FROM table_train_157 WHERE c_reactive_protein > 10.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_22 ( "id", "pre_treatment_with_hydroxyethyl_starch", "requiring_dialysis", "intracerebral_hemorrhage", "serum_creatinine", "kidney_disease", "allergy_to_hydroxyethyl_starch", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- known allergy against hydroxyethyl starch SELECT### Response: SELECT * FROM table_train_22 WHERE allergy_to_hydroxyethyl_starch = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_14 ( "id", "bone_marrow_transplant", "pregnancy_or_lactation", "organ_transplantation", "advanced_pulmonary_fibrosis", "cardiopulmonary_resuscitation", "myocardial_infarction", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- a solid organ or bone marrow transplant patients. SELECT### Response: SELECT * FROM table_train_14 WHERE organ_transplantation = 1 OR bone_marrow_transplant = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_239 ( "id", "basal_c_peptide", "body_weight", "renal_disease", "creatinine_clearance_cl", "serum_creatinine", "stimulated", "body_mass_index_bmi", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients weighing more than 80 kg. SELECT### Response: SELECT * FROM table_train_239 WHERE body_weight > 80.
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. -- 18 to 75 years of age SELECT### Response: SELECT * FROM table_train_226 WHERE age >= 18 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_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. -- taking medication for lyperlipidemia ldl > 160 SELECT### Response: SELECT * FROM table_train_98 WHERE lyperlipidemia_ldl > 160.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_109 ( "id", "serum_potassium", "systolic_blood_pressure_sbp", "body_mass_index_bmi", "hypertension", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- body mass index ( bmi ) of >= 18 kg / m2 to <= 32 kg / m2 SELECT### Response: SELECT * FROM table_train_109 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_168 ( "id", "cholesterol", "hemoglobin_a1c_hba1c", "triglyceride_tg", "fasting_glucose", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- triglycerides < 175 SELECT### Response: SELECT * FROM table_train_168 WHERE triglyceride_tg < 175.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_46 ( "id", "bleeding", "active_infection", "hypotension", "burn_injury", "hypertension", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- age >= 18 SELECT### Response: SELECT * FROM table_train_46 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_16 ( "id", "bleeding", "brain_hernia", "allergy_to_granisetron", "intraperitoneal_infection", "intestinal_obstruction", "tumor", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patients with advanced tumors. SELECT### Response: SELECT * FROM table_train_16 WHERE tumor = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_157 ( "id", "gender", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "platelets", "renal_disease", "c_reactive_protein", "creatinine_clearance_cl", "urine_protein", "serum_creatinine", "proteinuria", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- proteinuria ( urine protein > 200 mg / dl ) or a creatinine > 1.5 mg / dl ( male ) or 1.4 mg / dl ( female ) SELECT### Response: SELECT * FROM table_train_157 WHERE (proteinuria = 1 OR urine_protein > 200) OR (creatinine_clearance_cl > 1.5 AND gender = 'male') OR (creatinine_clearance_cl > 1.4 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_71 ( "id", "gender", "language", "intention_to_arterial_catheter", "renal_disease", "sepsis", "allergy_to_hydroxyethyl_starch", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- chronic renal insufficiency SELECT### Response: SELECT * FROM table_train_71 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_122 ( "id", "metabolic_disease", "stroke", "renal_disease", "huntington_disease", "hepatic_disease", "psychiatric_disease", "multiple_sclerosis", "hyperlipidemia", "cardiovascular_disease", "estimated_glomerular_filtration_rate_egfr", "alzheimer_dementia", "psychosis", "total_cholesterol", "subdural_hematoma", "ldl", "gastrointestinal_disease", "neurological_disease", "seizure_disorder", "brain_tumor", "parkinson_disease", "normal_pressure_hydrocephalus", "triglyceride_tg", "supranuclear_palsy", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of neurologic or psychiatric disease ( i.e. stroke, psychosis, etc. ) SELECT### Response: SELECT * FROM table_train_122 WHERE neurological_disease = 1 OR psychiatric_disease = 1 OR (stroke = 1 OR psychosis = 1).
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. -- hemoglobin a1c 6.5 _ 13 % or SELECT### Response: SELECT * FROM table_train_165 WHERE hemoglobin_a1c_hba1c > 6.5 AND hemoglobin_a1c_hba1c < 13.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_121 ( "id", "depression", "suicidality", "neurodegenerative_disease", "unstable_asthmatic_condition", "vitamin_k_deficiency", "renal_disease", "cerebrovascular_disease", "hepatic_disease", "liver_disease", "cardiac_disease", "acute_severe", "chronic_obstructive_pulmonary_disease_copd", "alcohol_abuse", "parkinson_disease", "drug_abuse", "lewy_body_dementia", "coagulopathy", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- a current diagnosis of cardiac, renal or hepatic disease SELECT### Response: SELECT * FROM table_train_121 WHERE cardiac_disease = 1 OR renal_disease = 1 OR 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_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. -- abnormal liver function SELECT### Response: SELECT * FROM table_train_182 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_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. -- pre _ trial low _ density lipoprotein ( ldl ) cholesterol > 100 and triglycerides > 200 mg / dl with or without lipid lowering therapy SELECT### Response: SELECT * FROM table_train_218 WHERE low_density_lipoprotein_ldl_cholesterol > 100 AND triglyceride_tg > 200.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_205 ( "id", "anemia", "gender", "renal_disease", "hematocrit_hct", "creatinine_gfr", "fasting_plasma_triglyceride", "thiazolidinediones", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- no history of thiazolidinediones SELECT### Response: SELECT * FROM table_train_205 WHERE thiazolidinediones = 0.
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. -- known hypersensitivity to hydrocortisone and additives SELECT### Response: SELECT * FROM table_train_34 WHERE allergy_to_hydrocortisone = 1 OR 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_74 ( "id", "gender", "pregnancy_or_lactation", "mini_mental_state_examination_mmse", "clinical_dementia_rating_cdr", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- clinical dementia rating ( cdr ) >= 0.5 SELECT### Response: SELECT * FROM table_train_74 WHERE clinical_dementia_rating_cdr >= 0.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_154 ( "id", "systolic_blood_pressure_sbp", "fpg", "hemoglobin_a1c_hba1c", "creatinine_clearance_cl", "diastolic_blood_pressure_dbp", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- have hemoglobin a1c 6.75 _ 10 % SELECT### Response: SELECT * FROM table_train_154 WHERE hemoglobin_a1c_hba1c >= 6.75 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_213 ( "id", "serum_potassium", "laboratory_abnormality", "hemoglobin_a1c_hba1c", "positive_hiv", "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. -- hemoglobin a1c ( hba1c ) of less than 9 % SELECT### Response: SELECT * FROM table_train_213 WHERE hemoglobin_a1c_hba1c < 9 OR 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_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. -- male or female ( of non _ child bearing potential ) subjects ages >= 50 years of age. SELECT### Response: SELECT * FROM table_train_106 WHERE (gender = 'male' OR (gender = 'female' AND pregnancy_or_lactation = 0)) AND age >= 50.
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. -- contraindication for exercise rehabilitation according to the investigators' decision; SELECT### Response: SELECT * FROM table_train_20 WHERE exercise_rehabilitation = 1.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_247 ( "id", "mini_mental_state_examination_mmse", "creatinine_consistently", "creatinine_clearance_cl", "seizure_disorder", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- creatinine clearance < 60 and / or serum creatinine consistently > 1.5 mg / dl; SELECT### Response: SELECT * FROM table_train_247 WHERE creatinine_clearance_cl < 60 OR creatinine_consistently > 1.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_228 ( "id", "ejection_fraction_ef", "hiv_infection", "heart_disease", "body_weight", "body_mass_index_bmi", "allergy_to_beef", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- history of heart failure with ef < 30 SELECT### Response: SELECT * FROM table_train_228 WHERE heart_disease = 1 AND ejection_fraction_ef < 30.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_77 ( "id", "gender", "pregnancy_or_lactation", "language", "hiv_aids", "age", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- male or female 50 to 90 of age inclusive. SELECT### Response: SELECT * FROM table_train_77 WHERE (gender = 'male' OR gender = 'female') AND (age >= 50 AND age <= 90).
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. -- creatinine clearance ( cl ) of < 45 ml / min SELECT### Response: SELECT * FROM table_train_115 WHERE creatinine_clearance_cl < 45.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_152 ( "id", "systolic_blood_pressure_sbp", "creatinine_clearance_cl", "diastolic_blood_pressure_dbp", "total_cholesterol", "urine_protein", "proteinuria", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total cholesterol > 220 mg / dl SELECT### Response: SELECT * FROM table_train_152 WHERE total_cholesterol > 220.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_93 ( "id", "mini_mental_state_examination_mmse", "creatinine_clearance_cl", "cornell_scale_for_depression_in_dementia_csdd", "clinical_dementia_rating_cdr", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- mini _ mental state examination ( mmse ) range: 20 to 30 SELECT### Response: SELECT * FROM table_train_93 WHERE mini_mental_state_examination_mmse >= 20 AND mini_mental_state_examination_mmse <= 30.
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. -- at least 45 years old SELECT### Response: SELECT * FROM table_train_75 WHERE age >= 45.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_152 ( "id", "systolic_blood_pressure_sbp", "creatinine_clearance_cl", "diastolic_blood_pressure_dbp", "total_cholesterol", "urine_protein", "proteinuria", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- creatinine > 1.6 mg / dl SELECT### Response: SELECT * FROM table_train_152 WHERE creatinine_clearance_cl > 1.6.
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. -- presence of panel reactive antibodies ( pra ) > 20 % ; SELECT### Response: SELECT * FROM table_train_242 WHERE panel_reactive_antibodies > 20.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_235 ( "id", "urinary_protein", "nephrotic_range_proteinuria", "hepatic_disease", "estimated_glomerular_filtration_rate_egfr", "kidney_disease", "renal_transplantation", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- nephrotic range proteinuria ( urinary protein > 3.5 gm / day ) SELECT### Response: SELECT * FROM table_train_235 WHERE nephrotic_range_proteinuria = 1 OR urinary_protein > 3.5.
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_train_278 ( "id", "gender", "supine", "systolic_blood_pressure_sbp", "hemoglobin_a1c_hba1c", "estimated_glomerular_filtration_rate_egfr", "diastolic_blood_pressure_dbp", "serum_creatinine", "bilirubin", "NOUSE" ) -- Using valid SQLite, answer the following questions for the tables provided above. -- hemoglobin a1c between 7 % and 9 % ( inclusive ) SELECT### Response: SELECT * FROM table_train_278 WHERE hemoglobin_a1c_hba1c >= 7 AND hemoglobin_a1c_hba1c <= 9.