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