8 kyu

SQL Basics: Simple MIN / MAX

21,971 of 21,974matt c

Description:

For this challenge you need to create a simple MIN / MAX statement that will return the Minimum and Maximum ages out of all the people.

people table schema

  • id
  • name
  • age

select table schema

  • age_min (minimum of ages)
  • age_max (maximum of ages)

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 Trained25431
Total Skips1059
Total Code Submissions46734
Total Times Completed21974
SQL Completions21971
Total Stars58
% of votes with a positive feedback rating90% of 2189
Total "Very Satisfied" Votes1823
Total "Somewhat Satisfied" Votes308
Total "Not Satisfied" Votes58
Total Rank Assessments8
Average Assessed Rank
8 kyu
Highest Assessed Rank
8 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • matt c Avatar
  • suic Avatar
Ad