I'm looking for some code or method that will display the min and max of sequenced number sets.
Situation:
I have a table with with record entries like:
1
2
3
4
6
7
8
22
23
24
and i would like an output of:
Min Max
1 4
6 8
22 24
Microsoft SQL ServerDatabasesMicrosoft SQL Server 2005
Last Comment
MichaelSwitzer
8/22/2022 - Mon
Ray
I don't understand the question? What are you trying to accomplish?
MichaelSwitzer
ASKER
The actual application is a little more complicated than the example I provided... Sorry for the poor reduction...
Assume a table named RawData. In the table RawData, 10 rows exist with the following values: