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