Challenge: Employee Bonus Eligibility
Завдання
Swipe to start coding
You need to determine bonus eligibility for each employee using nested CASE WHEN logic. Add a column named bonus to the result:
- If both
salaryis greater than or equal to 80000 andyears_at_companyis greater than or equal to 5, setbonusto'High'. - If only one of these conditions is met, set
bonusto'Medium'. - If neither condition is met, set
bonusto'None'.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 4.17
Challenge: Employee Bonus Eligibility
Свайпніть щоб показати меню
Завдання
Swipe to start coding
You need to determine bonus eligibility for each employee using nested CASE WHEN logic. Add a column named bonus to the result:
- If both
salaryis greater than or equal to 80000 andyears_at_companyis greater than or equal to 5, setbonusto'High'. - If only one of these conditions is met, set
bonusto'Medium'. - If neither condition is met, set
bonusto'None'.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single