SELECT substr(toLowCardinality('abc'), 1 in 1) AS x GROUP BY x;

