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