QUERY PLAN
Aggregate (cost=1.13..1.14 rows=1 width=32)
-> Seq Scan on tbl_erp_inventory_losts t (cost=0.00..1.11 rows=5 width=6)
Filter: (status = 2)