query students: query two fields