Admissions with above-average bills
mediumFind admissions with a billing amount above the average bill for all admissions.
Hospital Database · SQLite
Run your SQL answer to see the returned rows and check it.
SELECT admission_id, billing_amount FROM admissions WHERE billing_amount > (SELECT AVG(billing_amount) FROM admissions) ORDER BY billing_amount DESC;