suppose a column in a table has these values
1
2
3
4
6
9
11
12
13
14
15
Any way to do a query to get this result:
LowerRange UpperRange
--------------- ---------------
1 4
6
9
11 15
I marvel at the power of SQL so perhaps someone has faced this and can save my brain for other features :)
Thanks, Samuel