Introduction
PARTITION BY
11. OVER(PARTITION BY) – practice 3
Summary

One more to go!

## Exercise

For each ticket, show its Id, Price, and a column named Ratio. The ratio is the ticket price divided by that sum of all tickets purchased on the same journey.

### Stuck? Here's a hint!

To avoid integer division, use CAST(Price AS NUMERIC).