ASKER
Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.
TRUSTED BY
are [from] and [to] fields integers?
are there other fields in the table to "group by"?
and, would there ever be gaps in the output number sequence (if so when)?
e.g.
category-A| 1,2,3,4,5,6
category-B| 20,21,23,24,25,26
category-C| 1,2,3,4,5,6,20,21,23,24,25