In this post, we will solve **Relations – 2 HackerRank Solution**. This problem **(Relations – 2)** is a part of **HackerRank Databases** series.

**Task**

The result which operation contains all pairs of tuples from the two relations, regardless of whether their attribute values match.

**Solution – Relations – 2 – HackerRank Solution**

**Correct Answer – Cartesian product**

**Note:** This problem **(Relations – 2)** is generated by **HackerRank** but the solution is provided by **CodingBroz**. This tutorial is only for **Educational** and **Learning** purpose.