MySQL Loop Through Each Row
For different columns

select DivisionName, TemplateName from division join tmplate;


If you want each row as a single column string

select concat(DivisionName,' ', TemplateName) from division join tmplate;