QUERY PLAN
Aggregate (cost=6.56..6.57 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..6.15 rows=163 width=3)
Filter: (status = 2)