I would like to ask how to generate a Score table easily. The Score table has fields ID, StartValue, EndValue and Score, see below.
The logic is if a field is between the StartValue and EndValue, a score is given.
The StartValue and the EndValue have six decimal places.
An interval between two adjacent numbers for the Score field is 0.5.
An interval between the StartValue and the EndValue is around 5.
The values of the EndValue field are from -500 to 500.
Score Table
ID StartValue EndValue Score
1 0.000001 5.000000 0.5
2 5.000001 10.000000 1
3 10.000001 15.000000 1.5
4 15.000001 20.000000 2
.....
100 455.000001 500.000000 50
101 -4.999999 0.000000 0
102 -9.999999 -5.000000 -0.5
103 -14.99999 -10.000000 -1
104 -19.99999 -15.000000 -1.5
105 -24.99999 -20.000000 -2
......
xxx -504.999999 -500.000000 -50
Thanks in advance!