QUERY PLAN
Aggregate (cost=1.15..1.16 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..1.15 rows=1 width=32)
Filter: (status = 2)