🏠 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
Medium

Generate SQL Query

#sql #database #coding

Write a SQL query to join tables and calculate totals.

Write a SQL query that joins a 'users' table and an 'orders' table on user_id. The query should return the user's name and their total order amount, limited to the top 10 users who have spent the most.