Bookings per facility
GROUP BY splits the rows into groups and aggregates inside each one, giving one row per group.
task
For each facility_id, list the number of bookings, as facility_id and bookings_made.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
GROUP BY splits the rows into groups and aggregates inside each one, giving one row per group.
For each facility_id, list the number of bookings, as facility_id and bookings_made.