Specifies the columns by which to order the data within a partition.
| Category: | Table Control |
| Interaction: | Valid only with the PARTITION= table option. |
| Data source: | SASHDAT file |
specifies the columns by which to order the data within a partition. The specified column(s) must exist and cannot be partitioning columns. When multiple columns are specified, the column names must be separated by commas.
create table sashdat.employees {options partition=(dept)
orderby=(hire_date descending)} as select * from mybase.employees;