QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..252.98 rows=365 width=4)
Filter: (accessible_department = 1)