Challenge: Assign Default Bonuses
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 5. Kapitel 2
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 2.86
Challenge: Assign Default Bonuses
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 5. Kapitel 2
single