Join Types Flashcards

1
Q

Describe LEFT Join.

Describe EQUI Join.

Describe THETA Join.

A

Left Join: Returns all records from the left table, and the matched records from the right table. So basically, all left records will appear, and the only records in the right table that will appear will be ones that match based on the Join condition. Make sense? Yes.

Equi Join: Basically just a regular join. Only shows the columns which actually match, that’s it.

Theta Join: Right listen here. If equi join is “JOIN ON =“ then this is “JOIN ON >”, basically instead of equals, you use a different operator such as greater than. Note: this also includes operators like “greater than or equal to”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is referential integrity?

A

This refers to all tables being correctly linked through relationships and keys to the point where all JOINS return the data they should.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly