Skip to content

MWeissSharp/sql_names

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Names

Save a script containing the query you used to answer each question and your answer (as a comment).

  1. How many rows are in the names table?

  2. How many total registered people appear in the dataset?

  3. Which name had the most appearances in a single year in the dataset?

  4. What range of years are included?

  5. What year has the largest number of registrations?

  6. How many different (distinct) names are contained in the dataset?

  7. Are there more males or more females registered?

  8. What are the most popular male and female names overall (i.e., the most total registrations)?

  9. What are the most popular boy and girl names of the first decade of the 2000s (2000 - 2009)?

  10. Which year had the most variety in names (i.e. had the most distinct names)?

  11. What is the most popular name for a girl that starts with the letter X?

  12. How many distinct names appear that start with a 'Q', but whose second letter is not 'u'?

  13. Which is the more popular spelling between "Stephen" and "Steven"? Use a single query to answer this question.

  14. What percentage of names are "unisex" - that is what percentage of names have been used both for boys and for girls?

  15. How many names have made an appearance in every single year since 1880?

  16. How many names have only appeared in one year?

  17. How many names only appeared in the 1950s?

  18. How many names made their first appearance in the 2010s?

  19. Find the names that have not be used in the longest.

  20. Come up with a question that you would like to answer using this dataset. Then write a query to answer this question.

About

sql_names-jrioross created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published