Omnissa interview question

ARR calculation SQL based logics