SQL Practice

Admission length category

hard

Return each admission id and label it as Open when discharge_date is NULL, otherwise Closed.

Hospital Database · SQLite

Run your SQL answer to see the returned rows and check it.

← More case expressions questions