Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Employee Bonus Eligibility | Advanced CASE WHEN Logic
Mastering CASE WHEN in SQL
セクション 2.  2
single

single

bookChallenge: Employee Bonus Eligibility

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

タスク

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

You need to determine bonus eligibility for each employee using nested CASE WHEN logic. Add a column named bonus to the result:

  • If both salary is greater than or equal to 80000 and years_at_company is greater than or equal to 5, set bonus to 'High'.
  • If only one of these conditions is met, set bonus to 'Medium'.
  • If neither condition is met, set bonus to 'None'.

解答

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

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

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

セクション 2.  2
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt