ফাইন্যান্স টিম প্রতি সন্ধ্যায় reconciliation চালায় — প্রতিটি অর্ডারের টাকা কি সফলভাবে এসেছে? বাস্তবে একটি অর্ডারে payments টেবিলে একাধিক রেকর্ড থাকতে পারে: bKash চেষ্টা ব্যর্থ হলে failed, COD বকেয়া থাকলে pending, রিফান্ড হলে refunded, আর সফল হলে paid। এমন অর্ডার বের করো যার কোনো paid পেমেন্ট নেই; order_id, কাস্টমারের নাম (customer) ও অর্ডারের status দাও, অর্ডার আইডি অনুযায়ী সাজাও।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে order_id, customer, status — অর্ডার আইডি অনুযায়ী সাজানো।
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)
2 Karim pending 5 Sajid cancelled
update payments set status='paid', paid_at='2026-10-03 11:00' where id=2;
5 Sajid cancelled