I have a complicated db query that selects schools based on real estate listing attributes, performance statistics for the schools, and the distance of each listing to public tr