Sort (cost=609.34..609.34 rows=1 width=207) |
Sort Key: serial_no DESC |
-> Seq Scan on tbl_erp_cash_cost_tickets (cost=0.00..609.33 rows=1 width=207) |
Filter: ((created_at >= '2025-08-14 00:00:00+08'::timestamp with time zone) AND (created_at <= '2025-08-14 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%XJFYD-20250814-%'::text) AND (length((serial_no)::text) = 20)) |