information about nulls and sort order.
This is based on information obtained from Peter Eisentraut and
Tom Lane on pgsql-hackers.
Please check my English and Docbook markup, as both are a second
language to me.
Rene Pijlman
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.49 2001/10/23 16:42:36 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.50 2001/10/31 04:50:52 momjian Exp $
Postgres documentation
-->
specific ordering operator name may be specified. ASC is equivalent
to USING < and DESC is equivalent to USING >.
</para>
+
+ <para>
+ The null value sorts higher than any other value in a domain. In other
+ words, with ascending sort order nulls sort at the end and with
+ descending sort order nulls sort at the beginning.
+ </para>
+
</refsect2>
<refsect2 id="SQL-UNION">