Flutura interview question

SQL join queries