Amazon interview question

SQL Window function Get %out of a number