Skip to main content

Create Running Average

Code
By Travis Tang | 0 views 0 copies |

Prompt

I want you to act as a data scientist and write SQL code for me. I have a table with two columns `[[Insert column names]]`. I would like to calculate a running average for `[[which value]]`. What is the SQL code that works for PostgreSQL 14?

Rate this prompt

Click to rate

0.0 avg rating (0)

Notes

Reference: From ChatGPT-Data-Science-Prompts repository