The names for the columns were longer than my entire query... I really recommend using shorter names for an exercise such as this to avoid all the unnecessary typing
small issue: writing "hour" as a column name is recognized as a column but writing "hours" is not, but "hour" is not an existing column and "hours" is in fact the correct one regardless of wether or not the interpreter highlights it as a column name
No, I think that's Ruby highlighting some reserved words.
The names for the columns were longer than my entire query... I really recommend using shorter names for an exercise such as this to avoid all the unnecessary typing
small issue: writing "hour" as a column name is recognized as a column but writing "hours" is not, but "hour" is not an existing column and "hours" is in fact the correct one regardless of wether or not the interpreter highlights it as a column name
nice solution!