|
|
MySQL-like group by statement on queries. It keeps only the first row of each set of rows where the given expressions evaluate to equal. [PostgreSQL Docs](https://www.postgresql.org/docs/9.5/static/sql-select.html#SQL-DISTINCT)
|
|
|
MySQL-like group by statements on queries. It keeps only the first row of each set of rows where the given expressions evaluate to equal. [PostgreSQL Docs](https://www.postgresql.org/docs/9.6/static/sql-select.html#SQL-DISTINCT)
|
|
|
|
|
|
## How it works
|
|
|
```ruby
|
... | ... | |