[#2626] Added TODO as a reminder to refactor / externalise an existing SQL template