Skip to content

Commit

Permalink
Update website/docs/sql-reference/clauses/sql-order-by.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nghi-ly authored Nov 10, 2023
1 parent f163894 commit 4036a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/sql-reference/clauses/sql-order-by.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Since the ORDER BY clause is a SQL fundamental, data warehouses, including Snowf
## ORDER BY use cases

We most commonly see the ORDER BY clause used in data work to:
- Analyze data for both initial exploration of raw data sources and ad hoc querying of [mart datasets](https://docs.getdbt.com/best-practices/how-we-structure/4-marts)
- Analyze data for both initial exploration of raw data sources and ad hoc querying of [mart datasets](/best-practices/how-we-structure/4-marts)
- Identify the top 5/10/50/100 of a dataset when used in pair with a [LIMIT](/sql-reference/limit)
- (For Snowflake) Optimize the performance of large incremental models that use both a `cluster_by` [configuration](https://docs.getdbt.com/reference/resource-configs/snowflake-configs#using-cluster_by) and ORDER BY statement
- Control the ordering of window function partitions (ex. `row_number() over (partition by user_id order by updated_at)`)
Expand Down

0 comments on commit 4036a14

Please sign in to comment.