Fractal interview question

SQL joins