Database: cre_Doc_Template_Mgt
Question: What are all different template ids used for documents, and how many times were each of them used?
SQL:
SELECT template_id ,  count(*) FROM Documents GROUP BY template_id