SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count(*)  <  3
What are the codes of template types that have fewer than 3 templates?
SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING count ( * ) < 3
select template_type_code from templates group by template_type_code having count ( * ) < value
What are the codes of template types that have fewer than 3 templates ?