+ " inner join (select coalesce(t.corrected_id, t.id) as tag_id, sum(tag_count)"
+ " from " + topTagsTable + " att inner join music.tag t on att.tag_id = t.id"
+ " group by coalesce(t.corrected_id, t.id)) pop on tag.id = pop.tag_id"
+ " order by tag.tag_name";
return jdbcTemplate.query(sql, new TagOccurrenceRowMapper());
}