Retention Rate is percent of users who return to use a product/service over a period of time. Here’s how to calculate retention rate in SQL. Calculate retention rate in MySQL, PostgreSQL.
PostgreSQL
How to Create Pivot Table in PostgreSQL
Pivot table & Crosstab makes in easy to analyze data. Here’s how to create pivot table in PostgreSQL.
How to Calculate Running Total in Redshift
Cumulative Total allows you to track running totals over time. Here’s how to calculate running total in Redshift.
How to Calculate Moving Average in Redshift
Rolling Average helps smoothen numerical trends in data. Here’s how to calculate moving average in Redshift using SQL query.