| Sort (cost=117.38..117.38 rows=1 width=227) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_collect_tickets (cost=0.00..117.36 rows=1 width=227) |
| Filter: ((created_at >= '2026-06-04 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-04 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%SKD-20260604-%'::text) AND (length((serial_no)::text) = 18)) |