6. Query Block - Order by
Order by
"Order by" is used to sort the query results based on a specific column within a single query block.
How to use
Then, select the column that you want to sort the results by and choose either the "descending" or "ascending" option. Note that if there is one or more "Group by" clauses in place, only the columns used in "Group by" can be used in "Order by." You can add multiple "Order by" clauses by clicking on the "Order by" button.
Last updated