add partition and over helpers
add over clause to select