6916 TOP N Syntax error: %VSTR.
The TOP N option is not supported in subqueries and join indexes. WITH caluse is not allowed as well.
Don't use Top N option in subquery and join indexes. Also avoid use Top N in queries with WITH clause.