| Sort (cost=13.61..13.62 rows=1 width=465) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_advance_payment_tickets (cost=0.00..13.60 rows=1 width=465) |
| Filter: ((created_at >= '2026-06-11 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-11 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%YFKD-20260611-%'::text) AND (length((serial_no)::text) = 19)) |