December 16, 2010 at 11:38 pm
I want to select all columns and get monthly total in my table.
how am i do this...
plz help me...
December 17, 2010 at 10:51 am
Please read the first article in my signature on how to ask a question in this forum.
It'll show you how to post table def and sample data in a ready to use format.
Also, please include your expected output (not as jpg) and what you've tried so far.
Right now it looks like homework...
December 17, 2010 at 1:07 pm
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
Thanks
Parthi
December 17, 2010 at 7:27 pm
Thanx Parthi,
Your answer very helpful to me...............
😉
December 18, 2010 at 4:00 pm
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.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply