I need your super strength in the following problem:
I have purchase doc with order values. I want distinct list of all the vendors where net annual spend for that vendor is less than $1000. for example, the final will be something like that:
Amazon -- $500 -- 2017 (Ebay will be omitted as net order per annum is more than $1000)
Ebay -- $75 -- 2018
Amazon -- $1000 -- 2018