| Sort (cost=10.43..10.44 rows=1 width=217) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_sales_outbounds (cost=0.00..10.42 rows=1 width=217) |
| Filter: ((created_at >= '2026-06-05 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-05 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%XSCKD-20260605-%'::text) AND (length((serial_no)::text) = 20)) |