Unique (cost=2005.17..2007.07 rows=72 width=4) |
-> Sort (cost=2005.17..2006.12 rows=381 width=4) |
Sort Key: s.created_by |
-> Nested Loop (cost=0.29..1988.83 rows=381 width=4) |
-> Seq Scan on tbl_work_log_carbon_copy_rels ccr (cost=0.00..167.68 rows=381 width=4) |
Filter: (user_id = 1004) |
-> Index Scan using tbl_work_logs_pkey on tbl_work_logs s (cost=0.29..4.78 rows=1 width=8) |
Index Cond: (id = ccr.work_log_id) |