🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar
hard

Generate SQL Query

#sql #database #data-analysis

Write a SQL query to extract specific data from a theoretical database schema.

Write a SQL query to find the top 3 customers who spent the most money in the last month. Assume a table named 'sales' with columns: customer_id (int), amount (decimal), and transaction_date (datetime). Include the total amount spent by each customer in the result.