Challenge: Assign Default Bonuses
Task
Swipe to start coding
Write a query to display all columns from the employees table, but replace any NULL values in the bonus column with 500.
- Select all columns from the
employeestable. - Replace any
NULLvalue in thebonuscolumn with500. - Name the resulting column for bonus as
bonus.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 5. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.86
Challenge: Assign Default Bonuses
Swipe to show menu
Task
Swipe to start coding
Write a query to display all columns from the employees table, but replace any NULL values in the bonus column with 500.
- Select all columns from the
employeestable. - Replace any
NULLvalue in thebonuscolumn with500. - Name the resulting column for bonus as
bonus.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 5. ChapterΒ 2
single