Contents Index Having tab Expression Editor

SQL Anywhere Studio Help
  Query Editor Help

Order By tab


Use this tab to sort the rows in your result set.

Dialog components 
About ORDER BY conditions 

Each item in the ORDER BY list can be labeled as an up arrow for ascending order (the default) or a down arrow for descending order. To change the order from ascending to descending, double-click the arrow; or select the arrow and press F2.

The only way to ensure that rows are returned in a particular order is to use ORDER BY. In the absence of an ORDER BY clause, Adaptive Server Anywhere returns rows in whatever order is most efficient. This means that the appearance of result sets may vary depending on when you last accessed the row and other factors.

More information 

Contents Index Having tab Expression Editor