How to get only the highest and the lowest number as output in a set of data

Question: How to get only the highest and the lowest number as output in a set of data

Tags: