40 40 votes Given two union compatible relations $R_1(A, B)$ and $R_2 (C, D)$, what is the result of the operation $R_1 \Join_{ A = C \wedge B = D} R_2$? $R_1 \cup R_2$ $R_1 \times R_2$ $R_1 – R_2$ $R_1 \cap R_2$ Databases gate1998 normal relational-algebra + – Kathleen 13.2k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Deepak Poonia commented Aug 26, 2024 i edited by Deepak Poonia Aug 26, 2024 reply Follow flag Detailed Video Solution: https://youtu.be/H4-GIPOm2DE?feature=sharedNOTE that the given "join" operation is Equi-Join, & hence the Schema of the result will be $(A,B,C,D)$, So, technically, no option is correct.BUT Authors like Raghu Ramakrishnan project only one attribute from the equated attributes in Equijoin.The schema of given Equijoin operation, as per Navathe & Ullman, will be $(A,B,C,D).$The schema of given Equijoin operation, as per Raghu Ramakrishnan, will be $(A,B).$Neverthless, Option D is the best choice. Watch the Video Solution above. 24 24 replyShare js__ commented Dec 13, 2025 reply Follow flag taking small examples can help :A B C D1 2 5 92 3 2 34 3 3 15 1 8 4given expr will return (2 3) 0 0 replyShare Please log in or register to add a comment.
Best answer 60 60 votes This question is an example of Theta Join, $r \bowtie_\theta s= \sigma_\theta(r \times s)$ The join here will be selecting only those tuples where $A = C$ and $B = D,$ meaning it is the intersection. D option. Arjun answered Jan 23, 2016 • edited Oct 22, 2017 Arjun comment Share Follow See all 21 Comments 21 21 Comments reply Show 18 previous comments camelCase.ai commented Dec 19, 2025 reply Follow flag . 0 0 replyShare camelCase.ai commented Dec 19, 2025 reply Follow flag Right ABCD will be the final schema here 0 0 replyShare Ysh 1 commented Sep 4 reply Follow flag The question can be equally transformed to : r1(ab) natural join r2(ab) with renaming cd 0 0 replyShare Please log in or register to add a comment.
1 1 vote ✍️ Example:Let’s say:R₁(A, B):AB123456R₂(C, D):CD345678🔗 Operation: R₁ ⋈A₌C ∧ B₌D R₂We match rows where:A = CB = DSo we look for tuples that are identical in both tables.✅ Matching tuples:⟨3, 4⟩⟨5, 6⟩🎯 Result:ABCD34345656This is just the intersection of R₁ and R₂. Ujjwal_Nikam answered Oct 29, 2025 Ujjwal_Nikam comment Share Follow 0 reply Please log in or register to add a comment.