change OVER in FROM clause to new syntax