Challenge: Assign Default Bonuses
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 5. Kapitel 2
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Fantastiskt!
Completion betyg förbättrat till 2.86
Challenge: Assign Default Bonuses
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 5. Kapitel 2
single