✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
🤑 Join the Treehouse affiliate program and earn 25% recurring commission!
New No-Code Track! 🚀 New videos dropping every week—start learning today!
🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀
Window functions are a powerful SQL feature that let you compare results against other results within a query. With them, you can you can compare one row to other rows in a query to calculate each row as a percent of the total, for example, or to add a moving average to a report.