sql - counting number of entries in a month -


I have an order table, and it has the order-date column, which is called order_date. I have to calculate the number of orders of each month in 2009. How do I do this?

  Select the month (order-date) as the order, calculation (*) Order by order in order of order where year (order_data) = month by month (order_date) order (order_date)  

for reference, see Transact-SQL and command.


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

.net - Self Tracking Entities (STE)'s and partial updates with EF4 and mVC2 -