Untitled
Anonymous
plain_text
11/21/2023 12:56 AM
428 B
17
Indexable
SELECT artists.name AS "Artista", COUNT(followers.id) AS "Total de seguidores" FROM artists JOIN artists_followers ON artists.id = artists_followers.artist_id JOIN users AS followers ON artists_followers.user_id = followers.id GROUP BY artists.name HAVING COUNT(followers.id) < 5 ORDER BY artists.name ASC;
Editor is loading...
Leave a Comment