Abschnitt 1. Kapitel 8
single
Challenge: Employee Bonus Eligibility
Swipe um das Menü anzuzeigen
Aufgabe
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'.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 8
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen