QUERY PLAN
Aggregate (cost=12.25..12.26 rows=1 width=32)
-> Seq Scan on tbl_erp_inventory_builds t (cost=0.00..12.25 rows=1 width=32)
Filter: (status = 2)