I know there are tons of question that includes that error, but I haven\'t seen one that incldues a subquery with row_numbers.
Ok so I have this raw query which WORKS whe