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

single

Challenge: Employee Salary Reporting with CTEs

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

タスク

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

Write a query using a Common Table Expression (CTE) to produce a report of all employees whose salary is above the average salary of all employees in the company. The report must display each qualifying employee's first name, last name, department name, and salary.

  • Use a CTE to calculate the average salary of all employees.
  • Select only those employees whose salary is greater than the average salary calculated in the CTE.
  • Display the employee's first name, last name, department name, and salary.

解答

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

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

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

セクション 1.  2
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt