Is it possible to group by more than one column e.g
GROUP BY fV.tier_id AND 'f.form_template_id'
in a mySQL statement?
GROUP BY col1, col2, col3
group by fV.tier_id, f.form_template_id