Ordered Analytical Functions Teradata