Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Question #6 #9

Open
orick14 opened this issue Aug 22, 2022 · 2 comments
Open

Question #6 #9

orick14 opened this issue Aug 22, 2022 · 2 comments

Comments

@orick14
Copy link

orick14 commented Aug 22, 2022

Solution query doesn't give any result for me. I changed between primary keys doesn't help. Help please

@bazhdarrzgar
Copy link

bazhdarrzgar commented Sep 15, 2022

SELECT bands.name AS 'Band Name' FROM bands LEFT JOIN albums ON bands.id = albums.band_id GROUP BY bands.id HAVING COUNT(albums.band_id) = 0;

this is work for me

@arthur-debiasi
Copy link

SELECT bands.name AS 'Band Name' FROM bands LEFT JOIN albums ON bands.id = albums.band_id GROUP BY bands.id HAVING COUNT(albums.band_id) = 0;

this works for me either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants