Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 385 Bytes

Learning to count.md

File metadata and controls

11 lines (8 loc) · 385 Bytes

Count the number of rows in the people table. select count(*) from people

Count the number of (non-missing) birth dates in the people table. select count(birthdate) from people

Count the number of unique birth dates in the people table. select count(DISTINCT(birthdate)) from people

Count the number of unique countries in the films table. select count(country) from films