🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク
medium

Write a SQL Query

#sql #database #data-analysis

Construct a SQL query to retrieve specific aggregated data.

Write a SQL query for a table named 'Orders' with columns 'order_id', 'customer_id', 'order_date', and 'total_amount'. The query should find the top 3 customers who spent the most money in the year 2023. Return the customer_id and the total sum spent.