Amazon interview question

Leadership Principles SQL, Windows Functions