8 kyu

SQL Basics: Simple DISTINCT

23,294 of 23,298matt 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 Trained25643
Total Skips926
Total Code Submissions31612
Total Times Completed23298
SQL Completions23294
Total Stars46
% of votes with a positive feedback rating88% of 2118
Total "Very Satisfied" Votes1698
Total "Somewhat Satisfied" Votes341
Total "Not Satisfied" Votes79
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