8 kyu

SQL Basics: Simple MIN / MAX

21,646 of 21,649matt 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 Trained25061
Total Skips1040
Total Code Submissions46073
Total Times Completed21649
SQL Completions21646
Total Stars58
% of votes with a positive feedback rating90% of 2169
Total "Very Satisfied" Votes1807
Total "Somewhat Satisfied" Votes304
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