QUERY PLAN
Unique (cost=52.08..52.13 rows=10 width=4)
-> Sort (cost=52.08..52.10 rows=10 width=4)
Sort Key: s.created_by
-> Hash Join (cost=35.62..51.91 rows=10 width=4)
Hash Cond: (s.id = ccr.work_log_id)
-> Seq Scan on tbl_work_logs s (cost=0.00..14.50 rows=450 width=8)
-> Hash (cost=35.50..35.50 rows=10 width=4)
-> Seq Scan on tbl_work_log_carbon_copy_rels ccr (cost=0.00..35.50 rows=10 width=4)
Filter: (user_id = 5495)