TrainingByPackt / SQL-for-Data-Analytics

Perform fast and efficient data analysis with the power of SQL
MIT License
263 stars 432 forks source link

Lesson 8 Activity 15 #15

Open Swall1545 opened 7 months ago

Swall1545 commented 7 months ago

This code didn't work when I ran it.

Is it because it is written as?: sqlda$# END; $channel_avg$ and should be?: sqlda$# END; $sales_avg$

Swall1545 commented 7 months ago

also, it calls the wrong function name at the end:

Written as: sqlda=# SELECT avg_sales_since('2013-04-12', '2014-04-12') Should be: sqlda=# SELECT avg_sales_window('2013-04-12', '2014-04-12');