QUERY PLAN
Aggregate (cost=1.25..1.26 rows=1 width=32)
-> Seq Scan on tbl_erp_cost_tickets (cost=0.00..1.19 rows=12 width=8)
Filter: (status = 2)