data
userId height
curry 1
curry 2
kd 3
kd 4
james 2
input: userIds=[curry,kd,james]
i want
curry 2
kd 4
james 2
So, i want one record with the highest height in each group.
data
userId height
curry 1
curry 2
kd 3
kd 4
james 2
input: userIds=[curry,kd,james]
i want
curry 2
kd 4
james 2
So, i want one record with the highest height in each group.
Copyright © 2021 Jogjafile Inc.
Get!!!!
but I don't understand.
$sortmust definition before$group, if not, the height is not the largest.Why? Or i was wrong ?