| GroupAggregate (cost=17.66..17.72 rows=3 width=286) |
| Group Key: w.scenario_option_id, wso.name |
| -> Sort (cost=17.66..17.66 rows=3 width=282) |
| Sort Key: w.scenario_option_id, wso.name |
| -> Hash Right Join (cost=15.97..17.63 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.93..15.93 rows=3 width=8) |
| -> Bitmap Heap Scan on tbl_work_logs w (cost=4.31..15.93 rows=3 width=8) |
| Recheck Cond: (project_id = 4005) |
| 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 = 4005) |