Oracle Interview Question

Write a function that takes three separate but relational data sets and combines them into one usable object.