NPE Aggregating with LOWER and alias