Epicodus exercise in Ruby with SQL