Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Filter Employees by Department Size | Nested Subqueries in the WHERE section
Generate Nested Subqueries in SQL
セクション 1.  2
single

single

Challenge: Filter Employees by Department Size

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

タスク

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

Write a SQL query to list all employees who work in departments that have more than 5 employees. Use a nested subquery in the WHERE clause to identify departments meeting this size requirement.

  • Select all columns from the employees table.
  • Use a nested subquery in the WHERE clause to find department_id values from the employees table that have more than 5 employees.
  • Return only employees whose department_id is in the set of departments with more than 5 employees.

解答

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

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

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

セクション 1.  2
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt