Finding the difference between the maximum and minimum value can be done with the help of the range function in SQL.