Clint writes "I have a table that contains "Road Numbers", and many "Road Numbers" relate to an "ID". The table is like this:[Road Number][ID][100] [1][101] [1][102] [1][103] [1][107] [1][108] [1][109] [1][110] [1][104] [2][105] [2][106] [2][111] [2][112] [2][113] [3][114] [3][115] [3]
What I would like to return is a result set like this:[ID][Lowest Road Number][Highest Road Number][1] [100] [103][1] [107] [110][2] [104] [106][2] [111] [112][3] [113] [115]
The only way that I have been able to do this is with a loop, and it is very slow. A SQL solution would be nice"