QUERY PLAN
Aggregate (cost=7.84..7.85 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..7.54 rows=120 width=3)
Filter: (status = 2)