sum row added for query's