Database: cre_Doc_Template_Mgt
Question: Show all template type codes with less than three templates.
SQL:
SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*)  <  3