Introduction to SQL Window Functions

提供方
Coursera Project Network
在此指導項目中,您將:

Understand how SQL window functions work and when to use them

Understand how the ORDER BY and PARTITION BY clauses work with the OVER() clause

Manipulate data in tables using SQL SELECT statements together with window functions

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

Welcome to this project-based course Introduction to SQL Window Functions. This is a hands-on project that introduces SQL users to the world of window functions. In this project, you will learn how to explore and query the project-db database extensively. We will start this hands-on project by retrieving the data in the table in the database. By the end of this 2-hour-and-a-half-long project, you will be able to use different window functions to retrieve the desired result from a database. In this project, you will learn how to use SQL window functions like ROW_NUMBER(), LEAD(), LAG(), and FIRST_VALUE() to manipulate data in the project-db database. These window functions will be used together with the OVER() clause to query this database.

您要培養的技能

  • Data Manipulation
  • Join (Sql)
  • Select (Sql)
  • Postgresql
  • Window Function

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Getting Started

  2. ROW_NUMBER() - Part One

  3. ROW_NUMBER() - Part Two

  4. PARTITION BY

  5. PARTITION BY With CTE

  6. Fetching: LEAD() & LAG()

  7. FIRST_VALUE() - Part One

  8. FIRST_VALUE() - Part Two

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心