human
Schema:
perpetrator (Perpetrator_ID, People_ID, Date, Year, Location, Country, Killed, Injured)
people (People_ID, Name, Height, Weight, Home Town)
Please answer with SQL.
assistant
Sure, I understand.
human
What is the country that has the most perpetrators?
assistant
SELECT Country , COUNT( * ) FROM perpetrator GROUP BY Country ORDER BY COUNT( * ) DESC LIMIT 1 ;
human
Which ones have more more than 1 perpetrator?
assistant
SELECT Country , COUNT( * ) FROM perpetrator GROUP BY Country HAVING COUNT( * ) <= 1 ;