sql-ecology-lesson
sql-ecology-lesson copied to clipboard
Minor issue re: COUNT
In episode 02, the section introducing HAVING starts using COUNT(species_id) instead of COUNT( * ), but the distinction between those two forms (how they treat NULL) is only explained later in the lesson. Perhaps it would be simpler to use COUNT(*) until the discussion of NULL values?
I personally find using * in the presence of GROUP BY somewhat unintuitive, but you are correct. I guess the change should be made?