I try to use sys_connect_by_path in connect by prior, to create a path for all the model, I want to indicate for any path the highest score that the client gets in the models.
the query that I use to create the paths
select id, sys_connect_by_path(model,';') path,
sys_connect_by_path(score,';') score_path, max_score
from table
connect by prior id = id
for any path I get the last score from the path, how can I indicate the highest score from the path? there is a "max" function?