Sort (cost=1.28..1.28 rows=1 width=217) |
Sort Key: serial_no DESC |
-> Seq Scan on tbl_erp_other_income_tickets (cost=0.00..1.27 rows=1 width=217) |
Filter: ((created_at >= '2025-09-17 00:00:00+08'::timestamp with time zone) AND (created_at <= '2025-09-17 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%QTSR-20250917-%'::text) AND (length((serial_no)::text) = 19)) |