Slots booked per facility
Aggregates over a group: sum() adds a column inside each group.
task
For each facility_id, give the total slots booked, as facility_id and total_slots. Order by facility_id.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
Aggregates over a group: sum() adds a column inside each group.
For each facility_id, give the total slots booked, as facility_id and total_slots. Order by facility_id.