Pregunta de entrevista de Apple

Write sql code to merge 2 datasets by specific variable