Sort (cost=79.50..79.50 rows=1 width=184) |
Sort Key: serial_no DESC |
-> Seq Scan on tbl_erp_payment_tickets (cost=0.00..79.48 rows=1 width=184) |
Filter: ((created_at >= '2025-08-12 00:00:00+08'::timestamp with time zone) AND (created_at <= '2025-08-12 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%FKD-20250812-%'::text) AND (length((serial_no)::text) = 18)) |