Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Group by - solution to example 3 changed #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frenchmomsecrets
Copy link

Changed the left table to: artist and afterwards joining on table: album
this way we get all the artists, even those who have 0 albums, since instructions stated: "Find a list of all artists and how many albums they have"
Otherwise we only get the artists who have at least 1 album.

Changed lines 428 and 429
left table changed from 'album' to 'artist' and afterwards join on 'album' 
this way we have all the artists, even those that don't have any album (as per the exercise stated: " Find a list of *all* artists and how many albums they have"
otherwise in the proposed solution we only have the artist we have at least 1 album.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant