Skip to content
Advertisement

Return first order by each month

I am trying to modify my current query to return the first order for each month in each year.

Here is my full table and my current query.

enter image description here

Advertisement

Answer

Try something like this:

You can get the total sum per order date if you want, too:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement