QUERY PLAN
Aggregate (cost=4.92..4.93 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..4.61 rows=122 width=3)
Filter: (status = 2)