Group keywords by site

Posted by Skudd on Stack Overflow See other posts from Stack Overflow or by Skudd
Published on 2010-06-01T02:00:58Z Indexed on 2010/06/01 2:03 UTC
Read the original article Hit count: 352

Filed under:
|

I am finding a lot of useful help here today, and I really appreciate it. This should be the last one for the day:

I have a list of the top 10 keywords per site, sorted by visits, by date. The records need to be sorted as follows (excuse the formatting):

        2010-05 2010-04
site1.com   keyword1    apples  wine
    keyword1 visits 100 12
    keyword2    oranges water
    keyword2 visits 99  10
site2.com   keyword1    blueberry   cornbread
    keyword1 visits 90  100
    keyword2    squares biscuits
    keyword2 visits 80  99

Basically what I need to accomplish involves grouping, but I can't seem to figure it out. Am I heading down the right path, or is there another way to achieve this, or is it just impossible?

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about ssrs-2005