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