![]() |
SQL-J Language Reference
|
Reference Manual |
RIGHT OUTER JOINA RIGHT OUTER JOIN is one of the JOIN operations that allow you to specify a JOIN clause. It preserves the unmatched rows from the second (right) table, joining them with a NULL in the shape of the first (left) table. A LEFT OUTER JOIN B is equivalent to B RIGHT OUTER JOIN A, with the columns in a different order. Syntax
TableExpression RIGHT OUTER JOIN TableExpression The scope of expressions in either the ON or the USING clause includes the current tables and any tables in query blocks outer to the current SELECT. The ON clause can reference tables not being joined and does not have to reference either of the tables being joined (though typically it does). For additional differences between ON and USING clauses, see ResultSet and Performance Differences Between ON and USING. RIGHT OUTER JOIN Examples
-- get all countries and corresponding cities, including
-- get all countries in Africa and corresponding cities, including
-- a TableExpression can be a joinOperation. Therefore |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |