Angular Minds interview question

sql, oops concepts