SQL & Queries




Answer & solution
Answer: Additional tuples: {(1,11),(2,6),(11,7),(11,8)}. (no official key was published)
Let ΔR={(2,11),(11,6)}. A newly created length-two path must use at least one new edge, so inspect R⋈ΔR, ΔR⋈R, and ΔR⋈ΔR. The existing edge 1→2 followed by 2→11 adds (1,11). The new edge 11→6 followed by existing 6→7 or 6→8 adds (11,7),(11,8). The two new edges together form 2→11→6 and add (2,6). These four tuples are the additions; the original three remain. Longer paths such as 1→2→11→6 do not qualify, because this view joins exactly two copies of R rather than taking a transitive closure.