for numeric and data attributes, return the min/max values