betterworks Interview Question

Few SQL Questions, and a Problem Solving