セクション 2. 章 6
single
Challenge: Compare Performance Over Time
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a query to display each employee's performance score for every review and show the difference in score compared to their previous review.
- Select
employee_id,name,review_date, andscorefor each performance review. - Use the
LAGwindow function to access the previous review's score for the same employee, ordered byreview_date. - Calculate the difference between the current score and the previous score for each review.
- Name the difference column
score_difference. - Ensure results are ordered by
employee_idandreview_date.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください