Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Department Sales Aggregation | CTE Fundamentals and Syntax
Practice
Projects
Quizzes & Challenges
Quiz
Challenges
/
Mastering Common Table Expressions (CTEs) in SQL
Sezione 1. Capitolo 3
single

single

bookChallenge: Department Sales Aggregation

Scorri per mostrare il menu

Compito

Swipe to start coding

Create a CTE to aggregate total sales for each department and select departments with total sales above $10,000.

  • Use a CTE to calculate the sum of sales amounts for each department.
  • Join the relevant tables to relate departments, employees, and sales.
  • Select only those departments whose total sales exceed $10,000.

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 1. 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

some-alt