GroupAggregate (cost=17.65..17.71 rows=3 width=286) |
Group Key: w.scenario_option_id, wso.name |
-> Sort (cost=17.65..17.65 rows=3 width=282) |
Sort Key: w.scenario_option_id, wso.name |
-> Hash Right Join (cost=15.96..17.62 rows=3 width=282) |
Hash Cond: (wso.id = w.scenario_option_id) |
-> Seq Scan on tbl_work_log_scenario_options wso (cost=0.00..1.39 rows=39 width=278) |
-> Hash (cost=15.92..15.92 rows=3 width=8) |
-> Bitmap Heap Scan on tbl_work_logs w (cost=4.31..15.92 rows=3 width=8) |
Recheck Cond: (project_id = 3810) |
Filter: ((NOT is_draft) AND (scenario_id = 1)) |
-> Bitmap Index Scan on tbl_work_logs_project_id_idx (cost=0.00..4.31 rows=3 width=0) |
Index Cond: (project_id = 3810) |