IKS Health Interview Question

oops concepts and SQL queries