কোন ভেন্ডর ৫,০০০ টাকার বেশি বিক্রি করেছে (শুধু paid ও shipped)? ভেন্ডরের নাম আর মোট রেভিনিউ (সেন্টে) বের করো; বেশি রেভিনিউ আগে।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে name ও revenue_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)
TechNest 3190000 StyleHub 1100000 HomeCraft 540000
update orders set status='cancelled' where id in (3,6);
TechNest 3190000