SQL window functions explained through 4 real-world examples

Let’s face it: sometimes we just need to see some real-life examples before things make sense

Matt Chapman
Learning SQL

--

Image by Diego PH on Unsplash

Window functions are one of the most powerful tools in SQL and are great for tackling tasks like:

  • Finding the max/min/average value in a group

--

--

Matt Chapman
Learning SQL

Data Scientist based in Oxford, UK. Practice SQL at the-SQL-gym.com or check out my website templates at MakePage.org