Syntax For Window Function In Pgadmin