Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Assign Default Bonuses | Null Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL

bookChallenge: Assign Default Bonuses

Taak

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 employees table.
  • Replace any NULL value in the bonus column with 500.
  • Name the resulting column for bonus as bonus.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 5. Hoofdstuk 2
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Assign Default Bonuses

Veeg om het menu te tonen

Taak

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 employees table.
  • Replace any NULL value in the bonus column with 500.
  • Name the resulting column for bonus as bonus.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 5. Hoofdstuk 2
single

single

some-alt