QUERY PLAN
Aggregate (cost=6.29..6.30 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_outbounds t (cost=0.00..5.92 rows=146 width=6)
Filter: (status = 2)