Apple Interview Question

Write sql code to merge 2 datasets by specific variable