QUERY PLAN
Aggregate (cost=3.94..3.95 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..3.79 rows=61 width=3)
Filter: (status = 2)