I need a very simple stored procedure in SQL Server.
There would be two parts of the procedure:
1) Col1, Col2 and Col3 would be grouped using start time column
2) col4, Col5 and Col6 would be grouped using drop time column
Output would be Col1, Col2, Col3, Col4, Col5 and Col6 along with another Col7 which is an cumulative section.
Skills: microsoft sql server programming