An open API service indexing awesome lists of open source software.

https://github.com/hackvan/sql-aggregate-functions


https://github.com/hackvan/sql-aggregate-functions

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

#Objectives:
1. Find the min and max of a number set
2. Count the total of a number set
3. Find the average of a number set

We have a database full of students. The schema is as follows:
![](http://readme-pics.s3.amazonaws.com/sql-students.png)
Run `learn` to get started. Write your `SQL` in `lib/students.rb` to get the specs in `spec/student_spec.rb` to pass.

Note: Since it's a Ruby file, write your queries as strings inside each method already defined in `lib/students.rb` .

View Objectives: on Learn.co and start learning to code for free.

View SQL Aggregate Functions Lab on Learn.co and start learning to code for free.