XYZ interview question

SQL excel BI BO reporting