XI-depth understanding of the principles and join query

When we query data from multiple tables, we need to use join queries, join queries usage is very high.

In this article

  1. Cartesian Product

  2. En

  3. Outer join

  4. Left connection

  5. The right connection

  6. Principle table join

  7. Join queries using java achieve, deepen understanding

First, the Cartesian product

  Simply understood Cartesian product: There are two sets A and B, represented by Cartesian product of the set of elements A and B set in the elements of any interconnected generation of all possible outcomes.

  

Guess you like

Origin www.cnblogs.com/biao/p/11764055.html