Starting to add SQL section for template