| Limit (cost=2.95..3.00 rows=20 width=59) |
| -> Sort (cost=2.95..3.04 rows=38 width=59) |
| Sort Key: ticket_date, ticket_word, serial_no, id |
| -> HashAggregate (cost=1.57..1.95 rows=38 width=59) |
| Group Key: id |
| -> Seq Scan on tbl_ledger_tickets t (cost=0.00..1.48 rows=38 width=59) |
| Filter: (ledger_id = 1) |