QUERY PLAN
Seq Scan on tbl_visible_schedules (cost=0.00..5.11 rows=7 width=4)
Filter: (accessible_department = 1)