QUERY PLAN
Aggregate (cost=1.25..1.26 rows=1 width=8)
-> Sort (cost=1.24..1.24 rows=1 width=56)
Sort Key: tbl_erp_inventory_build_verify_rels.id
-> Seq Scan on tbl_erp_inventory_build_verify_rels (cost=0.00..1.23 rows=1 width=56)
Filter: ((status = 0) AND (erp_inventory_build_id = 12))