I am looking for a PostgreSQL function like PERCENT_RANK() or CUME_DIST() or similar to lag() that will take the first row only and calculate the percentage of every number from