Order by Clause

Description

The ORDER BY clause specifies an ordering of the rows of the result table.

Click here to navigate to the IBM DB2 docs page for this syntax.

Grammar Syntax

Sample Source Patterns

The only paths of Order By in Db2 that are not supported in Snowflake are those when it is used with ORDER OF and INPUT SEQUENCE, hence if these are present, the whole order by clause is commented.

IBM DB2 Supported Examples

Snowflake

IBM DB2 Not Supported Examples

Snowflake

  1. MSCEWI1021: NODE NOT SUPPORTED

Last updated

Was this helpful?