Deloitte interview question

SQL , pivot , machine learning