Oracle MAX function.