| Sort (cost=1.32..1.33 rows=1 width=514) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_wage_tickets (cost=0.00..1.31 rows=1 width=514) |
| Filter: ((created_at >= '2026-06-02 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-02 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%GZD-20260602-%'::text) AND (length((serial_no)::text) = 18)) |