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

  1. To utilize this feature, start by clicking on the "Order by" option at the top of the Query Block, which will activate the Order by input window.

  2. 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