| Sort (cost=2.91..2.91 rows=1 width=243) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_other_income_tickets (cost=0.00..2.90 rows=1 width=243) |
| Filter: ((created_at >= '2026-06-10 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-10 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%QTSRD-20260610-%'::text) AND (length((serial_no)::text) = 20)) |