চেকপয়েন্ট: paid/shipped অর্ডারে সবচেয়ে বেশি খরচ করা ৩ জন কাস্টমারের নাম ও মোট (সেন্টে) বের করো; বেশি খরচ আগে, টাইলে নাম।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে name ও total_cents, খরচ ডিসেন্ডিং।
Write your solution, test it against custom input, then submit for a real verdict.
Your submissions, verdicts, drafts and contest score are tied to your account. Registration is free.
ShopSphere fixture. Standard SQL (SQLite-compatible engine).
SQL samples run against the ShopSphere fixture. When a sample shows dataset setup, the judge applies it before running your query; the expected rows are TSV.
Base ShopSphere fixture (no changes)
Rahim 3495000 Nusrat 720000 Mim 670000
update orders set status='cancelled' where id in (3,6);
Rahim 2890000 Mim 670000 Tanvir 380000