VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
Intermediate

Generate SQL Query

#sql #database #query #coding

Writes an SQL query to retrieve specific data based on requirements.

Write a SQL query to select all records from the 'orders' table where the 'status' is 'completed' and the 'order_date' is within the last 30 days. Sort the results by 'total_amount' in descending order.