QUERY PLAN
Aggregate (cost=1.21..1.22 rows=1 width=32)
-> Seq Scan on tbl_erp_wage_tickets t (cost=0.00..1.18 rows=11 width=4)
Filter: (status = 2)