Operations wants a breakdown of visit outcomes. Count the number of visits for each status value (scheduled, completed, cancelled, no_show).
Schema
🔑idINT
🔗patient_idINT
🔗doctor_idINT
visit_dateTEXT
diagnosisTEXT
notesTEXTNULL
follow_up_dateTEXTNULL
statusTEXT
postgresql
Run your query to see results
Press Ctrl + Enter to execute