VIP 👤
🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links 🔌 AI-API's en routers
Khó

Viết câu lệnh SQL truy vấn dữ liệu

#sql #cơ sở dữ liệu #lập trình

Tạo câu lệnh SQL để lấy dữ liệu từ cơ sở dữ liệu.

Tôi có hai bảng: 'Users' (id, name, signup_date) và 'Orders' (id, user_id, amount, order_date). Hãy viết câu lệnh SQL để tìm ra 10 người dùng có tổng số tiền chi tiêu (total amount) cao nhất trong tháng này, kèm theo tên và tổng số tiền của họ.