Need help for Genarte HTML with Rowspan

Hi All,

I want to generate the HTML with rowspan and colspan using sql query.

I can create HTML table but unable to give rowspan to TD tags.

Please give me the suggestions.

that's pretty vague. Please post some input data and the output you want to see