Explicitly specifying the join condition - sql, PL-SQL Programming

Explicitly specifying the join condition - SQL

SELECT *

FROM IS_CALLED JOIN IS_ENROLLED_ON

ON ( IS_CALLED.StudentId = IS_ENROLLED_ON.StudentId )

Now, the key word JOIN in all of the foregoing examples can be harmlessly preceded by the word INNER. SQL also supports what are called "outer joins". The outer join of t1 and t2 contains all the rows of the inner join and possibly some more if either operand has rows which fail to participate in the inner join. Such a row might participate in the outer join, accompanied by NULL for each column of the other operand. The key words LEFT, RIGHT, and FULL, each optionally followed by OUTER, are used to specify whether unmatched rows of the first (left) operand, the second (right) operand, or both operands, respectively, are to appear in the result. Example shows an SQL outer join. A single row for student S5 appears in the result, with NULL in place of a value for CourseId.

Posted Date: 1/18/2013 4:51:22 AM | Location : United States







Related Discussions:- Explicitly specifying the join condition - sql, Assignment Help, Ask Question on Explicitly specifying the join condition - sql, Get Answer, Expert's Help, Explicitly specifying the join condition - sql Discussions

Write discussion on Explicitly specifying the join condition - sql
Your posts are moderated
Related Questions
Dynamic SQL: The Most PL/SQL programs do a predictable, specific job. For illustration, a stored procedure may accept an employee number and salary increase, and then update t

Constants and Variables:   You can declare the constants and variables in the declarative section of any PL/SQL subprogram, block, or package. The Declarations allot the stor

Main features of PL/SQL A good way to get familiar with PL/SQL is to look at a sample program. The below program processes an order for tennis rackets. At first, it declares a

Short-Circuit Evaluation When computing a logical expression, the PL/SQL uses short-circuit evaluation. That is, the PL/SQL stops computing the expression as soon as the result

PITS Depressions in secondary cell wall is called pit. A pit present on the free cell wall surface without its partner is called Blind pit. It consists of 2 parts -

Initializing Records The illustration below shows that you can initialize a record in its type definition. Whenever you declare a record of the type TimeRec, its 3 fields supp

Declaring Records Whenever you define a RECORD type, you may declare records of that type, as the illustration shows: DECLARE TYPE StockItem IS RECORD ( item_no INTEG

Scope Rules You cannot declare an exception twice in the similar block. Though, you can, declare the similar exception in 2 different blocks. The Exceptions declared in a bloc

Naming Conventions The similar naming conventions apply to all PL/SQL program items and units including the variables, cursors, constants, cursor variables, procedures, exception

Parameter and Keyword Description: EXIT: An unconditional EXIT statement (i.e., one without a WHEN clause) exits the present loop instantly. The Execution resumes with th