27585 postgres 20 0 2282m 429m 314m R 100 5.6 956:25.57 postmaster:
SELECT a.id, a.name, a.sort_name +
| FROM artist a
| – Look for artist credit
| LEFT JOIN (
| SELECT artist, COUNT(
*) AS credits FROM artist_credit_name GROUP BY artist +
I think this query needs to be re-written with an intermediate table...