Saturday, July 18, 2009

Learn Joined Relations in SQL

- Join operations take two relations and return as a result another relation.
- These additional operations are typically used as sub query
expressions in the from clause
- Join condition – defines which tuples in the two relations match,
and what attributes are present in the result of the join.
- Join type – defines how tuples in each relation that do not match
any tuple in the other relation (based on the join condition) are
treated.


Joined Relations – Data sets for Examples


loan inner join borrower on
loan.loan_number = borrower.loan_number

No comments:

Post a Comment