You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Executing 9.sql results in a table with 1 column and 19,325 rows."
My initial, incorrect solution passed check50 even though it returned only 19,261 rows. (My error was in using DISTINCT on 'name' rather than 'id', which evidently excludes some distinct people who have identical names.)
Here's the incorrect solution that passed the check:
SELECT DISTINCT(name)) FROM people JOIN stars ONpeople.id=stars.person_idWHERE movie_id IN (SELECT id FROM movies WHERE year =2004) ORDER BY birth;
The text was updated successfully, but these errors were encountered:
Instructions for 'movies' include this line:
"Executing 9.sql results in a table with 1 column and 19,325 rows."
My initial, incorrect solution passed check50 even though it returned only 19,261 rows. (My error was in using DISTINCT on 'name' rather than 'id', which evidently excludes some distinct people who have identical names.)
Here's the incorrect solution that passed the check:
The text was updated successfully, but these errors were encountered: