OrderBy Clauses Back | Forward | Home

'Language Reference'
  • Logical Operators

  • Relational Operators

  • Data Types

  • Column Types

  • Primary Keys

  • Functions

  • Where Clauses

  • LIKE Clauses

  • Limit Clauses

  • OrderBy Clauses

  • Notes


  • User Functions

    Database Functions

    Data Manipulation Functions

    Table Functions

    Error Handling Functions

    << Last Section ( Limit Clauses ) OrderBy Clauses Next Section ( Notes ) >>

    'Order By' clauses can be used in select(). It will sort the results that are found by select() by the specified $column, either ASCENDING or DESCENDING. An 'Order By' clause is an array in the following format

         array($column, [ASC|DESC])

    where $column is the column to sort the results by. If the $column is not in the result set, then txtSQL will issue an error.

    User-Contributed Comments for:
    OrderBy Clauses
    No comments found;