8 kyu

SQL Basics: Simple DISTINCT

22,963 of 22,967matt c

Description:

For this challenge you need to create a simple DISTINCT statement, you want to find all the unique ages.

people table schema

  • id
  • name
  • age

select table schema

  • age (distinct)

NOTE: Your solution should use pure SQL. Ruby is used within the test cases to do the actual testing.

SQL
Fundamentals

Stats:

CreatedOct 26, 2016
PublishedOct 26, 2016
Warriors Trained25279
Total Skips913
Total Code Submissions31200
Total Times Completed22967
SQL Completions22963
Total Stars46
% of votes with a positive feedback rating88% of 2108
Total "Very Satisfied" Votes1692
Total "Somewhat Satisfied" Votes338
Total "Not Satisfied" Votes78
Total Rank Assessments10
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • matt c Avatar
  • smile67 Avatar
Ad