セクション 2. 章 7
single
Challenge: Salary Progression Analysis
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a query to analyze how each employee's current salary compares to the earliest salary in their department. Your query must return the following columns for each employee:
employee_idnamedepartmentsalary- The earliest salary in the employee's department, based on the earliest
hire_date - The difference between the employee's salary and the department's earliest salary.
Steps:
- Use a window function to find the earliest salary in each department, ordered by
hire_date. - Calculate the difference between each employee's salary and the department's earliest salary.
- Return all required columns for each employee.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 7
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください