QUERY PLAN
Aggregate (cost=1.23..1.24 rows=1 width=32)
-> Seq Scan on tbl_erp_wage_tickets (cost=0.00..1.18 rows=11 width=7)
Filter: (status = 2)