QUERY PLAN
Aggregate (cost=1.32..1.33 rows=1 width=32)
-> Seq Scan on tbl_erp_purchase_gifts t (cost=0.00..1.27 rows=16 width=3)
Filter: (status = 2)