TL;DR: If using :group => :some_field you might want to :order => 'NULL'. According to the man By default, MySQL...

Best results in other decks

We had a strange behaviour on one of our mariadb-servers: Everyday at around midnight we saw that the root...

between 2 dates select latest_date, lowest_date, floor(datediff(date(latest_date), date(lowest_date)) / 365) from your_table

Search in all decks