What does this query do?

It selects the artist name and album title of rows where the id matches the artist_idIt selects the artist name and album title from the artist table

It selects the artist name and album title of rows where the id matches the artist_id.