+ " inner join music.artist ma on la.artist_id = ma.id"
+ " where la.artist_name_search like ?"
+ " order by la.hasalbums desc, ma.artist_name"
+ " offset ? limit ?";
List<Artist> artists = jdbcTemplate.query(sql,
new Object[]{getNameQuery(userQuery), offset, limit}, new ArtistRowMapper());
return new NameSearchResult<>(artists, offset);
}