Question: def join ( relation _ one: Table, relation _ two: Table, join _ condition: str ) - > Table: Performs Theta JOIN

def join (relation_one: Table, relation_two: Table, join_condition: str)-> Table:
"""
Performs Theta JOIN on two relations
:param relation_one: Table object, the R1 relation in the theta join
:param relation_two: Table object, the R2 relation in the theta join
:param condition: str, the condition for theta join
:return: Table object, the resulted relation after R1 theta join R2
Hint: Use cartesian function provided
"""
join_relation = Table("JoinTable")
# Enter your code below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!