answersLogoWhite

0

The result of the natural join is the set of all combinations of tuples in R and S that are equal on their common attribute names.

The result of the semijoin is only the set of all tuples in R for which there is a tuple in S that is equal on their common attribute names.

The point is that natural join is a set of all combinations and semijoin is only the tuples from the first relation not a combination between the two.

For example:

R1 R2

A B B C

1 2 2 3

1 3 3 4

1 4 5 3

R1 (natural join) R2 =

A B C

1 2 3

1 3 4

whereas R1(semijoin) R2 =

A B

1 2

1 3

So in a way semijoin selects and returns a table of only the tuples from R1 that have an equal attribute with R2

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the difference between two pitches called?

a semi tone a semi tone


What is the difference between a semi auto and a revolver?

Method of operation.


What is the difference between a classical and a semi acoustic guitar?

The sound.


What is the difference between semi-permanent eyelashes and permanent eyelash extensions?

The main difference between semi-permanent and permanent eyelash extensions is the length of time they will last. Semi-permanent eyelashes will not last as long as permanent eyelash extensions.


What is the difference between Permanent and semi-permanent fasteners?

semi permanent are used to help aid whilst you sew.


What is the difference between flush and semi-flush mounted ceiling lights?

The difference between flush and semi-flush mounted ceiling lights is that one of them can be mounted on the ceiling and the other one can be mounted elsewhere.


Is there a difference between european and american Semi Truck Rims?

yes


What is the difference in frequency between monthly and semi-annual CD coupon payments?

The difference in frequency between monthly and semi-annual CD coupon payments is that monthly payments occur once a month, while semi-annual payments occur twice a year.


Difference between semi auto pistol and dual action?

Semi-auto requires the hammer to be cocked for the first shot.


Difference between block and semi block letter?

A semi-block letter is less formal than a block letter.


Difference between semi variable costs and semi fixed costs?

a semi fixed cost moves upward in a step where semi variable cost begining at a given base level


What is the difference between a regular tessellation and a semi-regular tessellation?

look it upp