• parthi-1705 (12/17/2010)


    ruwanwickrama (12/16/2010)


    I want to select all columns and get monthly total in my table.

    how am i do this...

    plz help me...

    Is this you are looking for

    Select Project ,Location,Itemtype,Sum(Amount) From mytable Group by Project ,Location,Itemtype,MONTH(Date)

    Thanks

    Parthi

    This will work as long as your data does not span more than 12 consecutive months.