| Group (cost=371.56..371.90 rows=68 width=4) |
| Group Key: u.id |
| -> Sort (cost=371.56..371.73 rows=68 width=4) |
| Sort Key: u.id |
| -> Hash Left Join (cost=9.46..369.49 rows=68 width=4) |
| Hash Cond: (p.user_id = u.id) |
| -> Index Scan using tbl_punch_pkey on tbl_punch p (cost=0.29..360.14 rows=68 width=4) |
| Index Cond: ((day_at >= '2025-12-01'::date) AND (day_at <= '2025-12-22'::date)) |
| Filter: ((in_at IS NOT NULL) OR (out_at IS NOT NULL)) |
| -> Hash (cost=7.41..7.41 rows=141 width=4) |
| -> Seq Scan on tbl_users u (cost=0.00..7.41 rows=141 width=4) |