Limit (cost=31.49..31.49 rows=2 width=111) |
-> Sort (cost=31.49..31.49 rows=2 width=111) |
Sort Key: r.created_at DESC |
-> Group (cost=31.47..31.48 rows=2 width=111) |
Group Key: r.id |
-> Sort (cost=31.47..31.47 rows=2 width=111) |
Sort Key: r.id |
-> Hash Right Join (cost=20.17..31.46 rows=2 width=111) |
Hash Cond: (rvr.erp_ticket_change_log_id = r.id) |
-> Seq Scan on tbl_erp_ticket_change_log_handlers rvr (cost=0.00..9.76 rows=576 width=4) |
-> Hash (cost=20.15..20.15 rows=2 width=111) |
-> Seq Scan on tbl_erp_ticket_change_logs r (cost=0.00..20.15 rows=2 width=111) |
Filter: (ticket_type = '20006'::smallint) |