QUERY PLAN
Sort (cost=1.02..1.03 rows=1 width=341)
Sort Key: settle_month DESC, id DESC
-> Seq Scan on tbl_erp_wage_tickets (cost=0.00..1.01 rows=1 width=341)
Filter: (status = 2)