Couldn't execute SQL query:
SELECT members.number, members.lname, members.fname, classes.name FROM members, classes WHERE members.year=2017 AND (members.class_id = classes.class_id and classes.year=2017) ORDER BY class_id, lname, fname