QUERY PLAN
Aggregate (cost=1.02..1.03 rows=1 width=8)
-> Seq Scan on tbl_punch_overtimes (cost=0.00..1.02 rows=1 width=0)
Filter: ((overtime_start >= '2025-06-27 00:00:00+08'::timestamp with time zone) AND (overtime_start <= '2025-06-27 23:59:59+08'::timestamp with time zone) AND (created_by = 1000))