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
In 03-sql-joins, I am confused by the inclusion of the the challenge within the JOINING episode:
Count the number of records in the surveys table that have a NULL value in the species_id column.
SELECT COUNT(*)
FROM surveys
WHERE species_id IS NULL;
As far as I understand, this challenge is less about joining than about counting, and dealing with counting nulls. My suggestion is to include it in the COUNT part of 02-sql-aggregation episode
Additional suggestions
I would add information on the existence of IS NOT NULL command at this point, which is used in an example at the end of the episode, but not explicitly mentionned before
I would perhaps add the following code, that can be used to highlight the difference of behaviour between COUNT(*) and COUNT(species_id):
SELECT COUNT(*) - COUNT(species_id)
FROM surveys
The text was updated successfully, but these errors were encountered:
juanfrh
pushed a commit
to juanfrh/sql-ecology-lesson
that referenced
this issue
Apr 16, 2020
In 03-sql-joins, I am confused by the inclusion of the the challenge within the JOINING episode:
As far as I understand, this challenge is less about joining than about counting, and dealing with counting nulls. My suggestion is to include it in the COUNT part of 02-sql-aggregation episode
Additional suggestions
I would add information on the existence of
IS NOT NULL
command at this point, which is used in an example at the end of the episode, but not explicitly mentionned beforeI would perhaps add the following code, that can be used to highlight the difference of behaviour between COUNT(*) and COUNT(species_id):
The text was updated successfully, but these errors were encountered: