Show the location codes and the number of documents in each location.
CREATE TABLE Document_locations (location_code VARCHAR)
[SQL] SELECT location_code, COUNT(*) FROM Document_locations GROUP BY location_code [/SQL]