GoRails Screencasts
SQL Learning Path - Group By Statement

SQL Learning Path - Group By Statement

GoRails Screencasts

10:01

About this episode

In this lesson, we will look at how to group rows by a given column and then use aggregate functions to perform calculations on the results.

More from GoRails Screencasts

Configuring servers can be tricky, but it's much easier using drop-in configs so you're not editing files that could change across versions or environments.

7m

The Whenever gem is fantastic for defining cron jobs. With a little customization, we can have it monitor cron jobs and report logs, and status to services like AppSignal.

12m

Learn how to use Rails' with_options to DRY up duplicated options across method calls and associations, including how to nest them for shared defaults.

8m