Filtering query further with ecto's windowAPI

I believe solution will be the same as here How to get a row by id with row number in Ecto?