QUERY PLAN
Aggregate (cost=1.20..1.21 rows=1 width=16)
-> Seq Scan on tbl_punch_overtimes (cost=0.00..1.20 rows=1 width=16)
Filter: ((overtime_start >= '2024-09-19 00:00:00+08'::timestamp with time zone) AND (overtime_start <= '2025-09-19 23:59:59+08'::timestamp with time zone) AND (created_by = 1005) AND (status = 2))