Question: Group by ships by flag, and return number of ships that have each flag.
Schema: create table ship (flag varchar, PRIMARY KEY (flag))
SQL: select count(*), flag from ship group by flag