sql - SUM quantity based on 3 columns in the table -


i have table shown here:

table.

i need sum quantities same item , loc combinations dates in monthly buckets. instance between 1-june , 30 june, need sum quantities based on item , loc combinations.

select item, loc, year(date), month(date), sum(qty) quantity table group item, loc, year(date), month(date) 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -