QUERY PLAN
Seq Scan on tbl_visible_work_logs (cost=0.00..4.58 rows=4 width=4)
Filter: (accessible_department = 1)