what is the drug type of patient name stephanie suchan?

SELECT PRESCRIPTIONS."DRUG_TYPE" FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Stephanie Suchan"

what is the drug type of patient name stephanie suchan ?

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: BASE

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN


what is the drug name used by the patient stephanie suchan?

SELECT PRESCRIPTIONS."DRUG" FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Stephanie Suchan"

what is the drug name used by the patient stephanie suchan ?

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 0.9% Sodium Chloride

Answer: 5% Dextrose

Answer: Amitriptyline

Answer: Amitriptyline

Answer: Amlodipine

Answer: Bag

Answer: Bag

Answer: Bag

Answer: Bisacodyl

Answer: Bisacodyl

Answer: Bisacodyl

Answer: Calcium Carbonate

Answer: Calcium Gluconate

Answer: Calcium Gluconate

Answer: Calcium Gluconate

Answer: Dexamethasone

Answer: Dexamethasone

Answer: Dexamethasone

Answer: Dextrose 50%

Answer: Dextrose 50%

Answer: Diazepam

Answer: Docusate Sodium

Answer: Docusate Sodium

Answer: Estrogens Conjugated

Answer: Estrogens Conjugated

Answer: Famc

Answer: Famotidine

Answer: Famvir

Answer: Furosemide

Answer: Gabapentin

Answer: Gabapentin

Answer: Gabapentin

Answer: Gabapentin

Answer: Glucagon

Answer: Glucagon

Answer: HYDROmorphone

Answer: HYDROmorphone (Dilaudid)

Answer: HYDROmorphone (Dilaudid)

Answer: HYDROmorphone (Dilaudid)

Answer: HYDROmorphone (Dilaudid)

Answer: HYDROmorphone (Dilaudid)

Answer: HYDROmorphone (Dilaudid)

Answer: HYDROmorphone (Dilaudid)

Answer: Heparin

Answer: Heparin

Answer: Heparin

Answer: Insulin

Answer: Insulin

Answer: Insulin

Answer: Iso-Osmotic Sodium Chloride

Answer: Lorazepam

Answer: Magnesium Sulfate

Answer: Magnesium Sulfate

Answer: Magnesium Sulfate

Answer: Morphine Sulfate

Answer: Omeprazole

Answer: Pantoprazole

Answer: Pantoprazole

Answer: Potassium Chl 20 mEq / 1000 mL NS

Answer: Potassium Chloride

Answer: Potassium Chloride

Answer: Potassium Chloride

Answer: Potassium Phosphate

Answer: PredniSONE

Answer: PredniSONE

Answer: PredniSONE

Answer: SW

Answer: Scopolamine Patch

Answer: Senna

Answer: Senna

Answer: Sodium Chloride 0.9%  Flush

Answer: Sodium Chloride 0.9%  Flush

Answer: Sodium Chloride 0.9%  Flush

Answer: Sodium Chloride Nasal

Answer: Vancomycin

Answer: Vial

Answer: Vial


what is the lab test name that the patient stephanie suchan underwent?

SELECT LAB."LABEL" FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Stephanie Suchan"

what is the lab test name that the patient stephanie suchan underwent ?

Answer: Anion Gap

Answer: Anion Gap

Answer: Anion Gap

Answer: Anion Gap

Answer: Anion Gap

Answer: Anion Gap

Answer: Base Excess

Answer: Basophils

Answer: Bicarbonate

Answer: Bicarbonate

Answer: Bicarbonate

Answer: Bicarbonate

Answer: Bicarbonate

Answer: Bicarbonate

Answer: Calcium, Total

Answer: Calcium, Total

Answer: Calcium, Total

Answer: Calcium, Total

Answer: Calcium, Total

Answer: Calculated Bicarbonate, Whole Blood

Answer: Calculated Bicarbonate, Whole Blood

Answer: Calculated Total CO2

Answer: Chloride

Answer: Chloride

Answer: Chloride

Answer: Chloride

Answer: Chloride

Answer: Chloride

Answer: Chloride, Whole Blood

Answer: Chloride, Whole Blood

Answer: Creatine Kinase, MB Isoenzyme

Answer: Creatinine

Answer: Creatinine

Answer: Creatinine

Answer: Creatinine

Answer: Creatinine

Answer: Creatinine

Answer: Creatinine

Answer: Eosinophils

Answer: Epithelial Cells

Answer: Fibrinogen, Functional

Answer: Free Calcium

Answer: Glucose

Answer: Glucose

Answer: Glucose

Answer: Glucose

Answer: Glucose

Answer: Glucose

Answer: Glucose

Answer: Glucose

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit

Answer: Hematocrit, Calculated

Answer: Hemoglobin

Answer: Hemoglobin

Answer: Hemoglobin

Answer: Hemoglobin

Answer: Hemoglobin

Answer: Hemoglobin

Answer: Hemoglobin

Answer: Hyaline Casts

Answer: Lactate

Answer: Lipase

Answer: Lymphocytes

Answer: MCH

Answer: MCH

Answer: MCH

Answer: MCH

Answer: MCH

Answer: MCH

Answer: MCHC

Answer: MCHC

Answer: MCHC

Answer: MCHC

Answer: MCHC

Answer: MCHC

Answer: MCV

Answer: MCV

Answer: MCV

Answer: MCV

Answer: MCV

Answer: MCV

Answer: Magnesium

Answer: Magnesium

Answer: Magnesium

Answer: Magnesium

Answer: Magnesium

Answer: Monocytes

Answer: Neutrophils

Answer: O2 Flow

Answer: Oxygen

Answer: Oxygen Saturation

Answer: PT

Answer: PT

Answer: PT

Answer: PT

Answer: PTT

Answer: PTT

Answer: PTT

Answer: PTT

Answer: Phosphate

Answer: Phosphate

Answer: Phosphate

Answer: Phosphate

Answer: Phosphate

Answer: Platelet Count

Answer: Platelet Count

Answer: Platelet Count

Answer: Platelet Count

Answer: Platelet Count

Answer: Platelet Count

Answer: Potassium

Answer: Potassium

Answer: Potassium

Answer: Potassium

Answer: Potassium

Answer: Potassium

Answer: Potassium, Whole Blood

Answer: Potassium, Whole Blood

Answer: Protein

Answer: RBC

Answer: RDW

Answer: RDW

Answer: RDW

Answer: RDW

Answer: RDW

Answer: RDW

Answer: Red Blood Cells

Answer: Red Blood Cells

Answer: Red Blood Cells

Answer: Red Blood Cells

Answer: Red Blood Cells

Answer: Red Blood Cells

Answer: Sodium

Answer: Sodium

Answer: Sodium

Answer: Sodium

Answer: Sodium

Answer: Sodium

Answer: Sodium, Whole Blood

Answer: Sodium, Whole Blood

Answer: Specific Gravity

Answer: Urea Nitrogen

Answer: Urea Nitrogen

Answer: Urea Nitrogen

Answer: Urea Nitrogen

Answer: Urea Nitrogen

Answer: Urea Nitrogen

Answer: Urea Nitrogen

Answer: Urobilinogen

Answer: WBC

Answer: White Blood Cells

Answer: White Blood Cells

Answer: White Blood Cells

Answer: White Blood Cells

Answer: White Blood Cells

Answer: White Blood Cells

Answer: pCO2

Answer: pH

Answer: pH

Answer: pO2


find out the category of lab test for patient stephanie suchan.

SELECT LAB."CATEGORY" FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Stephanie Suchan"

find out the category of lab test for patient stephanie suchan .

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Blood Gas

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Chemistry

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology

Answer: Hematology


which language does patient paul edwards speak?

SELECT DEMOGRAPHIC."LANGUAGE" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Paul Edwards"

which language does patient paul edwards speak ?

Answer: ENGL


paul edwards is covered under which health insurance?

SELECT DEMOGRAPHIC."INSURANCE" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Paul Edwards"

paul edwards is covered under which health insurance ?

Answer: Private


which primary disease is the patient paul edwards suffering from?

SELECT DEMOGRAPHIC."DIAGNOSIS" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Paul Edwards"

which primary disease is the patient paul edwards suffering from ?

Answer: HYPERGLYCEMIA;HYPONATREMIA


what is the admission time of the Paul Edwards?

SELECT DEMOGRAPHIC."ADMITTIME" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Paul Edwards"

what is the admission time of the Paul Edwards ?

Answer: 2125-03-19 23:04:00


Specify the ICU stay id for the subject named Paul Edwards

SELECT PRESCRIPTIONS."ICUSTAY_ID" FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Paul Edwards"

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861

Answer: 206861


specify the lab test fluid of patient paul edwards

SELECT LAB."FLUID" FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Paul Edwards"

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Urine

Answer: Urine

Answer: Urine

Answer: Urine

Answer: Urine

Answer: Urine

Answer: Urine


let me know the birth date of patient kelly gallardo.

SELECT DEMOGRAPHIC."DOB" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Kelly Gallardo"

let me know the birth date of patient kelly gallardo .

Answer: 2184-09-06 00:00:00


What is the religion of Kelley Gallardo?

SELECT DEMOGRAPHIC."RELIGION" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Kelly Gallardo"

What is the religion of Kelley Gallardo ?

Answer: UNOBTAINABLE


specify the admission location of patient kelly gallardo

SELECT DEMOGRAPHIC."ADMISSION_LOCATION" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Kelly Gallardo"

Answer: PHYS REFERRAL/NORMAL DELI


What is the primary disease of Kelly Gallardo?

SELECT DEMOGRAPHIC."DIAGNOSIS" FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."NAME" = "Kelly Gallardo"

What is the primary disease of Kelly Gallardo ?

Answer: NEWBORN


SELECT LAB."ITEMID" FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Kelly Gallardo"

Answer: 50868

Answer: 50882

Answer: 50883

Answer: 50883

Answer: 50884

Answer: 50884

Answer: 50885

Answer: 50885

Answer: 50902

Answer: 50971

Answer: 50983

Answer: 51143

Answer: 51144

Answer: 51146

Answer: 51200

Answer: 51221

Answer: 51222

Answer: 51244

Answer: 51248

Answer: 51249

Answer: 51250

Answer: 51251

Answer: 51254

Answer: 51255

Answer: 51256

Answer: 51257

Answer: 51265

Answer: 51277

Answer: 51279

Answer: 51301


find the lab test fluid of kelly gallardo.

SELECT LAB."FLUID" FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."NAME" = "Kelly Gallardo"

find the lab test fluid of kelly gallardo .

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood

Answer: Blood


what is the maximum days of hospital stay for female patients ?

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F"

Answer: 181


what is the maximum days of hospital stay of patients whose gender is male?

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M"

what is the maximum days of hospital stay of patients whose gender is male ?

Answer: 294


what is the minimum days of hospital stay of patients whose admission type is urgent?

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT"

what is the minimum days of hospital stay of patients whose admission type is urgent ?

Answer: -1


find the minimum days of hospital stay for newborns.

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "NEWBORN"

find the minimum days of hospital stay for newborns .

Answer: -1


calculate the maximum days for which patients with private health insurance have been hospitalized.

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Private"

calculate the maximum days for which patients with private health insurance have been hospitalized .

Answer: 206


What is the minimum days of hospital stay for patients who are of black/haitian ethnicity?

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "BLACK/HAITIAN"

What is the minimum days of hospital stay for patients who are of black/haitian ethnicity ?

Answer: 0


give the average duration of hospital stay for asian patients.

SELECT AVG ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "ASIAN"

give the average duration of hospital stay for asian patients .

Answer: 8.216699801192844


calculate the average days for which hispanic or latino patients have stayed in hospital.

SELECT AVG ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "HISPANIC OR LATINO"

calculate the average days for which hispanic or latino patients have stayed in hospital .

Answer: 9.577240566037736


For how long the patients admitted to clinic referral (premature) stayed in the hospital?

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_LOCATION" = "CLINIC REFERRAL/PREMATURE"

For how long the patients admitted to clinic referral ( premature ) stayed in the hospital ?

Answer: 206


what is the minimum days for which patients with brain mass; intracranial hemorrhage were hospitalized?

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "BRAIN MASS;INTRACRANIAL HEMORRHAGE"

what is the minimum days for which patients with brain mass ; intracranial hemorrhage were hospitalized ?

Answer: 4


calculate the minimum duration of hospital stay for patients who had ventricular tachycardia as primary disease.

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "VENTRICULAR TACHYCARDIA"

calculate the minimum duration of hospital stay for patients who had ventricular tachycardia as primary disease .

Answer: 0


calculate the maximum days of hospitalization for patients with s/p hanging primary disease.

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "S/P HANGING"

calculate the maximum days of hospitalization for patients with s / p hanging primary disease .

Answer: 163


what is the average days of hospital stay of patients whose primary disease is s/p fall?

SELECT AVG ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "S/P FALL"

what is the average days of hospital stay of patients whose primary disease is s / p fall ?

Answer: 9.004504504504505


what is the maximum number of days of hospital stay for patients with hypertension but not coronary artery disease/cardiac cath?

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH"

what is the maximum number of days of hospital stay for patients with hypertension but not coronary artery disease / cardiac cath ?

Answer: 4


what is the maximum days of hospital stay of patients whose primary disease is pituitary bleed?

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "PITUITARY BLEED"

what is the maximum days of hospital stay of patients whose primary disease is pituitary bleed ?

Answer: 1


Calculate the maximum days for which patients of 68 years of age or older stayed in hospital.

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."AGE" >= "68"

Calculate the maximum days for which patients of 68 years of age or older stayed in hospital .

Answer: 191


calculate the minimum days for which patients aged 20 years or older were hospitalized.

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."AGE" >= "20"

calculate the minimum days for which patients aged 20 years or older were hospitalized .

Answer: -1


what is the average days of hospital stay for the patients born after 2180?

SELECT AVG ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOB_YEAR" > "2180"

what is the average days of hospital stay for the patients born after 2180 ?

Answer: 11.461634435433561


Average out the duration of hospital stay for patients born after the year 2071

SELECT AVG ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOB_YEAR" > "2071"

Answer: 9.83391865301751


find the minimum number of days of hospital stay for patients born before the year 2200.

SELECT MIN ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOB_YEAR" > "2200"

find the minimum number of days of hospital stay for patients born before the year 2200 .

Answer: 2


what is the average days of hospital stay of patients who died before year 2154?

SELECT AVG ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOD_YEAR" < "2154.0"

what is the average days of hospital stay of patients who died before year 2154 ?

Answer: 10.69376670402621


calculate the maximum days for which patients who died before 2164 stayed in hospital.

SELECT MAX ( DEMOGRAPHIC."DAYS_STAY" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOD_YEAR" < "2164.0"

calculate the maximum days for which patients who died before 2164 stayed in hospital .

Answer: 294


calculate the average age of married female patients.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."GENDER" = "F"

calculate the average age of married female patients .

Answer: 63.56269226036668


calculate the maximum age of female divorced patients.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "DIVORCED" AND DEMOGRAPHIC."GENDER" = "F"

calculate the maximum age of female divorced patients .

Answer: 94


calculate the maximum age of unmarried male patients.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."GENDER" = "M"

calculate the maximum age of unmarried male patients .

Answer: 94


calculate the minimum age of married patients who had elective type hospital admission.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE"

calculate the minimum age of married patients who had elective type hospital admission .

Answer: 21


what is the maximum age of married patients admitted on self pay status

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."INSURANCE" = "Self Pay"

Answer: 77


what is the average age of patient with single as marital status and admitted under clinic referral/premature?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."ADMISSION_LOCATION" = "CLINIC REFERRAL/PREMATURE"

what is the average age of patient with single as marital status and admitted under clinic referral / premature ?

Answer: 53.28832487309645


what is the average age of patients whose marital status is married and discharge location is snf?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "SNF"

what is the average age of patients whose marital status is married and discharge location is snf ?

Answer: 76.0259086002159


Calculate the maximum age of married patients who are 41 years or older.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."AGE" >= "41"

Calculate the maximum age of married patients who are 41 years or older .

Answer: 100


What is the average age of patients whose marital status is married and are aged 44 years or older?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."AGE" >= "44"

What is the average age of patients whose marital status is married and are aged 44 years or older ?

Answer: 67.74338718267353


what is the maximum age of married patients aged 47 years or more?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."AGE" >= "47"

what is the maximum age of married patients aged 47 years or more ?

Answer: 100


calculate the average age of unmarried patients born after 2087.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."DOB_YEAR" > "2087"

calculate the average age of unmarried patients born after 2087 .

Answer: 44.61355174981385


Calculate the average age of unmarried patients born after the year 2097

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."DOB_YEAR" > "2097"

Answer: 43.05845972610808


what is the maximum age of patients whose marital status is single and who were born before the year 2073?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."DOB_YEAR" > "2073"

what is the maximum age of patients whose marital status is single and who were born before the year 2073 ?

Answer: 89


Specify the average age of unmarried patients admitted in or after the year 2156

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."ADMITYEAR" >= "2156"

Answer: 51.47936772046589


what is the average age of male patients with medicaid insurance?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."INSURANCE" = "Medicaid"

what is the average age of male patients with medicaid insurance ?

Answer: 38.32910609341169


what is the average age of male patients with a private insurance policy?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."INSURANCE" = "Private"

what is the average age of male patients with a private insurance policy ?

Answer: 40.005622133451695


find the minimum age of white female patients .

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."ETHNICITY" = "WHITE"

Answer: 0


how many male patients are of hispanic or latino ethnicity?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."ETHNICITY" = "HISPANIC OR LATINO"

how many male patients are of hispanic or latino ethnicity ?

Answer: 40.97273612463486


what is the maximum age of female patients who died of death status 0?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."EXPIRE_FLAG" = "0"

what is the maximum age of female patients who died of death status 0 ?

Answer: 98


calculate the maximum age of male patients who are still alive.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."EXPIRE_FLAG" = "0"

calculate the maximum age of male patients who are still alive .

Answer: 100


calculate the average age of female patients who were discharged to long term care hospital.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "LONG TERM CARE HOSPITAL"

calculate the average age of female patients who were discharged to long term care hospital .

Answer: 68.70277777777778


find the maximum age of male patients whose discharge location is snf.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "SNF"

find the maximum age of male patients whose discharge location is snf .

Answer: 100


Calculate the minimum age of female patients who had gastrointestinal bleed as their primary disease?

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."DIAGNOSIS" = "GASTROINTESTINAL BLEED"

Calculate the minimum age of female patients who had gastrointestinal bleed as their primary disease ?

Answer: 28


what is the maximum age of male patients diagnosed with primary disease overdose?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DIAGNOSIS" = "OVERDOSE"

what is the maximum age of male patients diagnosed with primary disease overdose ?

Answer: 73


Find out the average age of male patients that are 24 years old or older.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."AGE" >= "24"

Find out the average age of male patients that are 24 years old or older .

Answer: 63.599656234333594


Calculate the minimum age of male patients who are 54 years or older.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."AGE" >= "54"

Calculate the minimum age of male patients who are 54 years or older .

Answer: 54


calculate the maximum age of female patients who were admitted to hospital for a day.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."DAYS_STAY" = "1"

calculate the maximum age of female patients who were admitted to hospital for a day .

Answer: 100


what is the maximum age of male patients who stayed in hospital for 5 days?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DAYS_STAY" = "5"

what is the maximum age of male patients who stayed in hospital for 5 days ?

Answer: 97


specify the maximum age of male patients who remained admitted in hospital for 20 days.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DAYS_STAY" = "20"

specify the maximum age of male patients who remained admitted in hospital for 20 days .

Answer: 90


calculate the average age of male patients who have stayed in hospital for 27 days.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DAYS_STAY" = "27"

calculate the average age of male patients who have stayed in hospital for 27 days .

Answer: 55.25595238095238


calculate the minimum age of male patients who were born after 2078.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DOB_YEAR" > "2078"

calculate the minimum age of male patients who were born after 2078 .

Answer: 0


Calculate the average age of spanish speaking patients who have overdose as the primary disease.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "SPAN" AND DEMOGRAPHIC."DIAGNOSIS" = "OVERDOSE"

Calculate the average age of spanish speaking patients who have overdose as the primary disease .

Answer: 39.666666666666664


what is the average age of patients whose language is cape and primary disease is hyperglycemia?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "CAPE" AND DEMOGRAPHIC."DIAGNOSIS" = "HYPERGLYCEMIA"

what is the average age of patients whose language is cape and primary disease is hyperglycemia ?

Answer: 49.0


calculate the maximum age of english speaking patients who have sepsis primary disease.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "ENGL" AND DEMOGRAPHIC."DIAGNOSIS" = "SEPSIS"

calculate the maximum age of english speaking patients who have sepsis primary disease .

Answer: 99


calculate the average age of self pay insurance patients who had urgent hospital admission.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DEMOGRAPHIC."INSURANCE" = "Self Pay"

calculate the average age of self pay insurance patients who had urgent hospital admission .

Answer: 34.0


what is the maximum age of patients whose admission type is elective and insurance is medicaid?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."INSURANCE" = "Medicaid"

what is the maximum age of patients whose admission type is elective and insurance is medicaid ?

Answer: 89


how many patients were admitted in emergency primarily for brain mass; intracranial hemorrhage ?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."DIAGNOSIS" = "BRAIN MASS;INTRACRANIAL HEMORRHAGE"

how many patients were admitted in emergency primarily for brain mass ; intracranial hemorrhage ?

Answer: 71.0


how many patients were admitted in emergency primarily for t5 fracture?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."DIAGNOSIS" = "T5 FRACTURE"

how many patients were admitted in emergency primarily for t5 fracture ?

Answer: 56.0


what is the minimum age of patients whose admission type is emergency and admitted in the year  2173 or after?

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."ADMITYEAR" >= "2173"

what is the minimum age of patients whose admission type is emergency and admitted in the year 2173 or after ?

Answer: 0


find the minimum age of patients who were admitted in emergency in or after the year 2175.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."ADMITYEAR" >= "2175"

find the minimum age of patients who were admitted in emergency in or after the year 2175 .

Answer: 0


calculate the maximum age of medicaid patients who belong to black/cape verdean ethnic background.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Medicaid" AND DEMOGRAPHIC."ETHNICITY" = "BLACK/CAPE VERDEAN"

calculate the maximum age of medicaid patients who belong to black / cape verdean ethnic background .

Answer: 88


calculate the minimum age of medicaid insurance patients who have cerebral aneurysm/sda primary disease.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Medicaid" AND DEMOGRAPHIC."DIAGNOSIS" = "CEREBRAL ANEURYSM/SDA"

calculate the minimum age of medicaid insurance patients who have cerebral aneurysm / sda primary disease .

Answer: 38


calculate the average age of government health insurance patients who were admitted in hospital for a day.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Government" AND DEMOGRAPHIC."DAYS_STAY" = "1"

calculate the average age of government health insurance patients who were admitted in hospital for a day .

Answer: 27.01290322580645


find the maximum age of patients with government insurance who expired before the year 2154.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Government" AND DEMOGRAPHIC."DOD_YEAR" < "2154.0"

find the maximum age of patients with government insurance who expired before the year 2154 .

Answer: 89


Out of total number of patients admitted in or after 2177, calculate the maximum age of patients on government insurance

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Government" AND DEMOGRAPHIC."ADMITYEAR" >= "2177"

Out of total number of patients admitted in or after 2177 , calculate the maximum age of patients on government insurance

Answer: 84


calculate the average age of white ethnic background patients who stayed in hospital for 2 days.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "WHITE" AND DEMOGRAPHIC."DAYS_STAY" = "2"

calculate the average age of white ethnic background patients who stayed in hospital for 2 days .

Answer: 44.04178044784271


how many patients belonging to white ethnic origin were admitted in the year less than or equal to 2120?

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "WHITE" AND DEMOGRAPHIC."ADMITYEAR" >= "2120"

how many patients belonging to white ethnic origin were admitted in the year less than or equal to 2120 ?

Answer: 100


tell me the minimum age of patients with death status as 0 and discharge location as disc-tran cancer chldrn h.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."EXPIRE_FLAG" = "0" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "DISC-TRAN CANCER/CHLDRN H"

tell me the minimum age of patients with death status as 0 and discharge location as disc - tran cancer chldrn h.

Answer: 0


What is average age of patients that survived and had a primary disease of COPD exacerbation?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."EXPIRE_FLAG" = "0" AND DEMOGRAPHIC."DIAGNOSIS" = "COPD EXACERBATION"

What is average age of patients that survived and had a primary disease of COPD exacerbation ?

Answer: 66.3529411764706


Calculate the average age of living patients admitted to the hospital on or after 2121.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."EXPIRE_FLAG" = "0" AND DEMOGRAPHIC."ADMITYEAR" >= "2121"

Calculate the average age of living patients admitted to the hospital on or after 2121 .

Answer: 46.00821757667446


Calculate the minimum age of patients who have posterior communicating aneurysm/sda and were discharged home.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DISCHARGE_LOCATION" = "HOME" AND DEMOGRAPHIC."DIAGNOSIS" = "POSTERIOR COMMUNICATING ANEURYSM/SDA"

Calculate the minimum age of patients who have posterior communicating aneurysm/sda and were discharged home .

Answer: 48


what is the average age of patients who are discharged due to home health care and diagnosed with primary disease gastrointestinal bleed?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DISCHARGE_LOCATION" = "HOME HEALTH CARE" AND DEMOGRAPHIC."DIAGNOSIS" = "GASTROINTESTINAL BLEED"

what is the average age of patients who are discharged due to home health care and diagnosed with primary disease gastrointestinal bleed ?

Answer: 70.93


what is average age of patients whose primary disease is bowel obstruction and who are aged equal or more than 71 years?

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "BOWEL OBSTRUCTION" AND DEMOGRAPHIC."AGE" >= "71"

what is average age of patients whose primary disease is bowel obstruction and who are aged equal or more than 71 years ?

Answer: 80.89473684210526


calculate the maximum age of patients who have pneumonia primary disease and were hospitalized for 30 days.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "PNEUMONIA" AND DEMOGRAPHIC."DAYS_STAY" = "30"

calculate the maximum age of patients who have pneumonia primary disease and were hospitalized for 30 days .

Answer: 78


calculate the minimum age of patients who have gastrointestinal bleed primary disease and were hospitalized for 17 days.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "GASTROINTESTINAL BLEED" AND DEMOGRAPHIC."DAYS_STAY" = "17"

calculate the minimum age of patients who have gastrointestinal bleed primary disease and were hospitalized for 17 days .

Answer: 44


Calculate the minimum age of patients born after 2095 who have transient ischemic attack as their primary disease.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "TRANSIENT ISCHEMIC ATTACK" AND DEMOGRAPHIC."DOB_YEAR" > "2095"

Calculate the minimum age of patients born after 2095 who have transient ischemic attack as their primary disease .

Answer: 50


provide the minimum age of patients primarily diagnosed for hypoxia and expired before the year 2155.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "HYPOXIA" AND DEMOGRAPHIC."DOD_YEAR" < "2155.0"

provide the minimum age of patients primarily diagnosed for hypoxia and expired before the year 2155 .

Answer: 30


Provide the average age of patients aged 70 and under and admitted in or before the year 2157.

SELECT AVG ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."AGE" >= "70" AND DEMOGRAPHIC."ADMITYEAR" >= "2157"

Provide the average age of patients aged 70 and under and admitted in or before the year 2157 .

Answer: 79.97782728622958


calculate the maximum age of patients who were hospitalized for 20 days and died before 2131.

SELECT MAX ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DAYS_STAY" = "20" AND DEMOGRAPHIC."DOD_YEAR" < "2131.0"

calculate the maximum age of patients who were hospitalized for 20 days and died before 2131 .

Answer: 90


find the minimum age of patients who stayed in the hospital for 20 days and died before the year 2186.

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DAYS_STAY" = "20" AND DEMOGRAPHIC."DOD_YEAR" < "2186.0"

find the minimum age of patients who stayed in the hospital for 20 days and died before the year 2186 .

Answer: 20


what is the minimum age of patients who stayed in hospital for 4 days and were admitted in or after the year 2177?

SELECT MIN ( DEMOGRAPHIC."AGE" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DAYS_STAY" = "4" AND DEMOGRAPHIC."ADMITYEAR" >= "2177"

what is the minimum age of patients who stayed in hospital for 4 days and were admitted in or after the year 2177 ?

Answer: 0