Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
nameblue

Order By

An order by clause in SQL specifies that a SQL select statement returns a result set with the rows being sorted by the values of one or more columns.

...

NameDescriptionValue
fieldDefines how the data will be orderedA table field.Any field name
sortorderDefine Defines the sorting order of the data.ASC or DESC

Example

Expand
titleOrder By
Code Block
themeEclipse
languagexml
titleOrder By
	<orderby>
		<fielditem>
			<field>OUGROUPS.OUGNAME</field>        
			<sortorder>ASC</sortorder>   
		</fielditem>
	</orderby>