This repository contains the SQL queries and the dataset to accompany an article on Medium.com titled "The Data Adventure 01: “How Long will your Business Start to Profit?” — An SQL Adventure"
The article shows how you can create a running total column with the window function SUM() followed by the OVER() designator in PostgreSQL. This repository contains all the codes and the dataset used in the article. Follow this link: https://p-kane.medium.com/the-data-adventure-01-how-long-will-your-business-start-to-profit-an-sql-adventure-b69445103c4f to read the full artile.