What is the template type code of the template used by document with the name "Data base"?
create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code)); create table documents (template_id varchar, document_name varchar, PRIMARY KEY (template_id))
select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t2.document_name = "data base"