SyntaxFix
Write A Post
Hire A Developer
Questions
Here is my answer using the group by clause.
SELECT * FROM feeds f LEFT JOIN ( SELECT artist_id, feed_id FROM feeds_artists GROUP BY artist_id, feed_id ) fa ON fa.feed_id = f.id LEFT JOIN artists a ON a.artist_id = fa.artist_id