[Commits] 6846a33: MDEV-25714 Join using derived with aggregation returns incorrect results