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 ManipulationJoin (Sql)Select (Sql)PostgresqlWindow 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

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心