[Solved] The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP, OFFSET or FOR XML
[ad_1] The relational model specifies that the tuples of a relation have no specific order. In other words, rows in a database table have no specific order. Therefor, when you are creating anything that can be references as a table (i.e views, derived tables etc’) you can’t specify an order by clause unless it’s needed … Read more