200k views
5 votes
Describe how you would define the relation Brother-in-Law whose tuples have the form (x, y) with x being the brother-in-law of y. b. Give appropriate relational algebra and SQL expressions that return the relation Brother-in-Law.

User Keymone
by
4.2k points

1 Answer

6 votes

Answer:

The expression is :

π[cd) + π(g,h) ],[π(e,f)+π(a,b)])

We will use foreign key and primary key

User Jiten Basnet
by
4.4k points