Tag: #psql
Building complex reports for your own DVD rental shop using PostgreSQL window functions
How to use window functions in PostgreSQL: rank, dense_rank, row_number, sum and lag
One row, many threads: How to avoid database duplicates in Rails applications
Pulling the trigger: How to update counter caches in your Rails app without Active Record callbacks