Extracts the ORDER BY clause and returns SQL without it. Convenience wrapper around AnalyzeTopLevelOrderBy.
Use SqlDocument.Parse(sql, dialect).TopLevelOrderBy(); its Span gives the clause text.
SqlDocument.Parse(sql, dialect).TopLevelOrderBy()
Span
Extracts the ORDER BY clause and returns SQL without it. Convenience wrapper around AnalyzeTopLevelOrderBy.