I need to sum the last 12 of a value for EVERY ROW. On SQL this looks like it:
value
sum(value) over (partition by field1, field2 order by