| Sort (cost=9.47..9.48 rows=2 width=17) |
| Sort Key: tbl_users.name, tbl_users.id |
| -> Hash Join (cost=1.64..9.46 rows=2 width=17) |
| Hash Cond: (tbl_users.id = tbl_ledger_tickets.created_by) |
| -> Seq Scan on tbl_users (cost=0.00..7.44 rows=144 width=13) |
| -> Hash (cost=1.61..1.61 rows=2 width=4) |
| -> HashAggregate (cost=1.57..1.59 rows=2 width=4) |
| Group Key: tbl_ledger_tickets.created_by |
| -> Seq Scan on tbl_ledger_tickets (cost=0.00..1.48 rows=38 width=4) |
| Filter: ((created_by IS NOT NULL) AND (ledger_id = 1)) |