Database: cre_Doc_Template_Mgt
Question: Return the id and type code of the template that is used for the greatest number of documents.
SQL: select t1.template_id ,  t2.template_type_code from documents as t1 join templates as t2 on t1.template_id  =  t2.template_id group by t1.template_id order by count(*) desc limit 1