QUERY PLAN
Aggregate (cost=433.88..433.89 rows=1 width=8)
-> Bitmap Heap Scan on tbl_schedules (cost=19.99..433.83 rows=20 width=0)
Recheck Cond: (created_by = 5300)
Filter: (NOT is_complete)
-> Bitmap Index Scan on tbl_schedules_created_by_idx (cost=0.00..19.99 rows=1027 width=0)
Index Cond: (created_by = 5300)