Limit (cost=85.45..85.50 rows=20 width=93) |
-> Sort (cost=85.45..86.83 rows=552 width=93) |
Sort Key: r.created_at DESC |
-> HashAggregate (cost=65.24..70.76 rows=552 width=93) |
Group Key: r.id |
-> Hash Right Join (cost=25.27..61.04 rows=1681 width=93) |
Hash Cond: (rvr.erp_ticket_change_log_id = r.id) |
-> Seq Scan on tbl_erp_ticket_change_log_handlers rvr (cost=0.00..30.40 rows=2040 width=4) |
-> Hash (cost=18.38..18.38 rows=552 width=93) |
-> Seq Scan on tbl_erp_ticket_change_logs r (cost=0.00..18.38 rows=552 width=93) |
Filter: (created_by = 1001) |