Database: cre_Doc_Template_Mgt
Question: Id of templates effective from 2005 to 2008
SQL: select template_id from templates where date_effective_from like "%2005%" and date_effective_to like "%2008%"