How to Calculate a Moving Average by Date | EssentialSQL
Автор: Essential SQL (EssentialSQL)
Загружено: 2023-02-25
Просмотров: 964
Описание:
If you're interested in learning SQL, then why not hop on over and get our course Windows Functions for Business Analytics today at: https://www.udemy.com/course/sql-wind...
Sample Database and Table At GitHub: https://github.com/kwenzel1/Essential...
Sample Code:
select SalesDate, Product, Amount,
AVG(Amount) over (partition by Product
order by SalesDate rows between 3 PRECEDING and current row) as FourWeekMovingAvg
from WeeklySales;
I'm here to help, so if you have any questions about the video or there is something I missed that you want to know more of, please let me know.
I'm continually looking for ways to improve what I show you, so I would love to hear your suggestions. Just add them to the comments!
If you're looking to learn more SQL, check out the other courses I've put together. Feel free to use these discount links to get you enrolled today:
• Relational Database Design - SQL Relational Database Design, Data Modeling, and Normalization Explained for MySql, PostgreSQL, and SQL Server @ https://www.udemy.com/course/relation...
• Stored Procedures Unpacked - Learn to develop, code, & implement stored procedures, transactions, & cursors, in your SQL Server database using T-SQL @ https://www.udemy.com/course/stored-p...
• Subquery Magic - Take the mystery out of subqueries & take your SQL to the next level. Use SQL Server & write data driven nested queries @ https://www.udemy.com/course/sub-quer...
• Join Together Now - Learn to combine data from multiple tables using inner & outer sql joins. Master database joins, write awesome queries @ https://www.udemy.com/course/join-tog...
• SQL Certification Practice Test - Get Help with Certified Tests and Interviews. Perfect for SQL Data Engineers & Business Analysts and Junior DBA's @ https://www.udemy.com/course/sql-cert...
In addition to my courses on Udemy, check out the free resources I for you to use on my blog at https://www.essentialsql.com/blog/
One last thing…
Want to continue the learning experience? I invite you to check out the free articles and resources I have to offer you at www.essentialsql.com. I made them for you and you’ll find them very easy to understand.
Don't forget to subscribe and like this video. It really helps my videos wider audience.
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: