Tutorial Presto 8.8 Direct

-- Group data by one or more columns SELECT column1, COUNT(*) FROM my_table GROUP BY column1;