I spotted it, because it's a type of syntax error I make quite often. For some reason when writing window functions, I tend to put a comma in the OVER clause if I'm not paying attention.
Same here. I always want to add a comma in the windows functions and then with Nested CTEs I always seem to forget the comma.