| Sort (cost=3.04..3.05 rows=1 width=348) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_purchase_costs (cost=0.00..3.04 rows=1 width=348) |
| Filter: ((created_at >= '2026-06-01 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-01 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%FYDD-20260601-%'::text) AND (length((serial_no)::text) = 19)) |