Floran Gmehlin
Floran Gmehlin

Reputation: 854

Relational algebra : Parenthesis issue

I have been given this homework on relational algebra.

RA problem

I am having trouble figuring what differs between both relation instances as the parenthesis are placed otherwise in the second case. I would say that both return the same result but I don't think it is the case.

If anyone could provide an explanation that would be nice ! Thank you

Upvotes: 0

Views: 1414

Answers (1)

Andomar
Andomar

Reputation: 238166

Looks like the second variant is an error. The outer projection looks for sname but is only passed sid.

Upvotes: 2

Related Questions