🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
Beginner

Write a SQL Customer Report Query

#sql #database #query

Construct a SQL query to join two tables and generate a report of recent customer purchases.

Write a SQL query to list the top 10 customers who made the highest total purchases in the last month. Join the 'Customers' table (with columns customer_id, customer_name) and the 'Orders' table (with columns order_id, customer_id, order_date, total_amount). Order the results by total_amount in descending order.