🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar
intermediate

Generate a Complex SQL Query

#sql #database #code

Construct an SQL query to join multiple tables.

Write a SQL query to retrieve the names of all customers who have made a purchase in the last 30 days. Join the 'customers' table with the 'orders' table on 'customer_id'. Order the results by the purchase date in descending order.