🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
medium

SQL Sales Report Query

#sql #database #query

Write an SQL query to calculate total sales grouped by category.

Write an SQL query for a table named 'sales' with columns 'id', 'product_category', and 'amount'. The query should return the total sales amount for each product category, ordered by the total amount in descending order.