| Sort (cost=3.81..3.81 rows=1 width=318) |
| Sort Key: serial_no DESC |
| -> Seq Scan on tbl_erp_other_income_tickets (cost=0.00..3.80 rows=1 width=318) |
| Filter: ((created_at >= '2026-07-09 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-07-09 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%QTSRD-20260709-%'::text) AND (length((serial_no)::text) = 20)) |