Master records selections in Rails app with SQL window functions
Learn how to use row number window function on a practical example to select unique latest grouped records from DB.
https://blog.widefix.com/select-unique-latest-grouped-records-from-db/
Post a comment