You are here: Year, Month, Count on an Invoices Table « MsSQL Server « IT news, forums, messages
Year, Month, Count on an Invoices Table

Posted by DaBrain on 03/04/07 02:48

I am trying to make a query on one table, an invoices table, and I
want to see how many orders are in each month

Year Month Count
---------------------------
2006 01 80
2006 02 110
2006 03 208
....


I cant just do Distinct MonthPart because we have years, so to get
these three columns, is just beyond my SQL skills.


Any suggestions or pointer would be greatly appreciated!!!!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация