Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Need help for Genarte HTML with Rowspan. RE: Need help for Genarte HTML with Rowspan.
Eirikur Eiriksson
SSC Guru
Points: 182882
More actions
June 27, 2016 at 6:10 am
#1887015
Add the count of each department as the rowspan to the first department cell of each department, easy with count and row_number over (partition by department)
😎