Workstream Interview Question

lots of SQL merging Qs.