I need to do a search on the database and according to the value found within a range of values should return a specific value.
For example, if you find values from 1 to 4, you should return 1, finding from 5 to 8, you should return 2.
The multiple of a given value is required.