Hi please watch the image link below for table structure. http://i31.tinypic.com/2v0zw4o.jpg
we have to print it in a layout format like below.....like for d same date diff regions with total count....
Date CentroOeste Nordeste Norte RJ_ES_MG SaoPaulo Sul 7/6/2010 233 204 154 130 128 99 7/7/2010 0 0 0 0 3 0 7/8/2010 0 0 0 0 0 13 7/16/2010 0 0 0 300 0 0 8/6/2010 0 0 0 0 3 43 Total 233 204 154 430 134 155
How can I achieve this? Please provide me the stored procedure or query to get the desired output like this.