Implement LETTING without explicit GROUP BY. Fix MB-12108.