Trying out some averaging queries