QUERY PLAN
Sort (cost=1.19..1.19 rows=1 width=353)
Sort Key: serial_no DESC
-> Seq Scan on tbl_erp_personal_taxs (cost=0.00..1.18 rows=1 width=353)
Filter: ((created_at >= '2026-06-01 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-06-01 23:59:59+08'::timestamp with time zone) AND ((serial_no)::text ~~* '%GSD-20260601-%'::text) AND (length((serial_no)::text) = 18))