🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna
advanced

Generate SQL Query

#sql #database #programming

Create a complex SQL query based on a natural language description.

Write a PostgreSQL query to find the top 5 customers who have spent the most money in the last 30 days. Assume there are two tables: 'customers' (id, name) and 'orders' (id, customer_id, amount, created_at). Include the customer name and the total amount spent.