Database: cre_Doc_Template_Mgt
Question: What are the codes of template types that have fewer than 3 templates?
SQL:
SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*)  <  3