accounting - more than one query