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

bookChallenge: Assign Default Bonuses

Compito

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.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 5. Capitolo 2
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

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

Scorri per mostrare il menu

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 5. Capitolo 2
single

single

some-alt