Tutorial Presto 8.8 -

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