ExcelR Interview Question

oops concept , sql query, exception handling