VIP 👤
🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili 🔌 API e router IA
intermediate

Build SQL Query

#sql #database #data

Construct a complex SQL query based on a description of requirements.

Act as a SQL expert. Write a query to select the top 5 customers by total purchase amount in the last month from the 'orders' and 'customers' tables. Assume the tables are linked by 'customer_id'.