Morningstar Interview Question

Question regarding sql and powerbi