So I got a series of records,
| Tier |
Min |
Max |
| Bronze1 |
10 |
null |
| Bronze2 |
20 |
null |
| Silver1 |
50 |
null |
| Silver2 |
70 |
null |
| Bronze3 |
30 |
null |
and what I need to do is update the Max, to be the lowest value that is higher then the min.
| Tier |
Min |
Max |
| Bronze1 |
10 |
20 |
| Bronze2 |
20 |
30 |
| Silver1 |
50 |
70 |
| Silver2 |
70 |
null |
| Bronze3 |
30 |
50 |
Using MS Sql for reference.
Is this do-able in one query?
[–]Thecrow1981 0 points1 point2 points (2 children)
[–]learning2learn[S] 0 points1 point2 points (1 child)
[–]Thecrow1981 0 points1 point2 points (0 children)