Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Multi-Step Employee Analysis | CTE Fundamentals and Syntax
Mastering Common Table Expressions (CTEs) in SQL
セクション 1.  5
single

single

Challenge: Multi-Step Employee Analysis

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

Write a query using two CTEs to analyze employee sales performance relative to their department. The first CTE should calculate the total sales amount for each employee. The second CTE should determine the average total sales per department and select employees whose total sales exceed their department's average.

  • Calculate each employee's total sales.
  • Calculate the average total sales for each department.
  • Select employees whose total sales are greater than their department's average.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  5
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt