Content deleted Content added
I simplified most of the extra words, fixed some uppercase mistakes, and fixed punctuation. |
|||
Line 458:
</syntaxhighlight>
would allow insertion of rows where author_last or author_first are {{NULL}} irrespective of how the table Authors is defined or what it contains. More precisely, a null in any of these fields would allow any value in the other one, even on that is not found in Authors table. For example, if Authors contained only {{code|('Doe', 'John')}}, then {{code|('Smith', NULL)}} would satisfy the foreign key constraint. [[SQL-92]] added two extra options for narrowing down the matches in such cases. If <code>MATCH PARTIAL</code> is added after the <code>REFERENCES</code> declaration then any non-null must match the foreign key, e.g. {{code|('Doe', NULL)}} would still match, but {{code|('Smith', NULL)}} would not. Finally, if <code>MATCH FULL</code> is added then {{code|('
==Outer joins==
|