QUERY PLAN
Aggregate (cost=450.81..450.82 rows=1 width=8)
-> Bitmap Heap Scan on tbl_schedules (cost=24.34..450.75 rows=24 width=0)
Recheck Cond: (created_by = 1011)
Filter: (NOT is_complete)
-> Bitmap Index Scan on tbl_schedules_created_by_idx (cost=0.00..24.33 rows=1073 width=0)
Index Cond: (created_by = 1011)