Content deleted Content added
m →When two nulls are equal: grouping, sorting, and some set operations: minor corrections in English |
m →When two nulls are equal: grouping, sorting, and some set operations: minor corrections in English |
||
Line 617:
Other SQL operations, clauses, and keywords using the "not distinct" definition in their treatment of Nulls include:
* The <code>PARTITION BY</code> clause of the ranking and windowing functions
* The <code>UNION</code>, <code>INTERSECT</code>, and <code>EXCEPT</code>
* The <code>DISTINCT</code> keyword used in <code>SELECT</code> queries
The principle that Nulls
The SQL standard does not explicitly define a default sort order for Nulls. Instead, on conforming systems, Nulls can be sorted before or after all data values by using the <code>NULLS FIRST</code> or <code>NULLS LAST</code> clauses of the <code>ORDER BY</code> list, respectively. Not all DBMS vendors implement this functionality, however. Vendors who do not implement this functionality may specify different treatments for Null sorting in the DBMS.<ref name="nullversusnull"/>
|