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

bookChallenge: Assign Default Bonuses

Aufgabe

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.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 5. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

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

Swipe um das Menü anzuzeigen

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 5. Kapitel 2
single

single

some-alt