How do I create a query to find students' free blocks per school level?

When planning out scheduling, it can be helpful to query students' free blocks. This query is designed to highlight all blocks for students that are blank (free).

This query makes extensive use of function fields; therefore, we highly recommend you only query on small groups of students at a time to reduce the amount of time the query takes to complete.

The Students' Free Blocks query.