Available Tables:

Debug: Column Names in healthcare_dataset

DEBUG SQL Summary:


    SELECT 
        COUNT(*) AS total_patients,
        AVG(Age) AS avg_age,
        SUM(Billing_Amount) AS total_billing,
        AVG(Billing_Amount) AS avg_billing
    FROM healthcare_dataset
    WHERE 
    Gender = 'F'
    AND Age BETWEEN 50 AND 60
    AND AdmitType = 'Emergency'
    AND Medication = 'Lipitor'
    AND TestResult = 'Inconclusive'


SQL error: Unknown column 'Billing_Amount' in 'field list'