Created
September 15, 2022 18:13
-
-
Save Seorusus/38d25311bb286e3e2a1391441bf0886e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
name, | |
(SELECT COUNT(artist_id) FROM band_members WHERE band_members.band_id = bands.id) | |
FROM bands; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment