Questionpro Interview Question

Oops ,coding, problem solving, sql