| Sort (cost=1.21..1.22 rows=1 width=158) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_inventory_losts (cost=0.00..1.20 rows=1 width=158) |
| Filter: ((created_at >= '2026-06-30 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%BSD-20260630-%'::text) AND (length((serial_no)::text) = 18)) |