UKG interview question

oops concepts, aptitude, situation based, SQL