Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Departmental Salary Bands | Advanced CASE WHEN Logic
Mastering CASE WHEN in SQL

bookChallenge: Departmental Salary Bands

Compito

Swipe to start coding

Write a query that adds a salary_band column to the employees table result set. The salary_band should be assigned as follows:

  • Assign 'Senior' if salary is greater than or equal to 90000.
  • Assign 'Mid' if salary is between 60000 (inclusive) and 90000 (exclusive).
  • Assign 'Junior' if salary is less than 60000.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 3
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

close

bookChallenge: Departmental Salary Bands

Scorri per mostrare il menu

Compito

Swipe to start coding

Write a query that adds a salary_band column to the employees table result set. The salary_band should be assigned as follows:

  • Assign 'Senior' if salary is greater than or equal to 90000.
  • Assign 'Mid' if salary is between 60000 (inclusive) and 90000 (exclusive).
  • Assign 'Junior' if salary is less than 60000.

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 2. Capitolo 3
single

single

some-alt