অপস টিমের নিয়ম — কার্যকর অর্ডার ১৪ দিনের বেশি পুরনো হলে আর অপেক্ষা চলে না। রিপোর্ট তারিখ ২০২৬-১১-১৫ ধরে এমন অর্ডার বের করো যার স্ট্যাটাস paid/shipped, বয়স ১৪ দিনের বেশি, আর এখনো delivered হয়নি — order_id, customer, ordered_at ও পূর্ণ দিনে বয়স age_days; বয়স বেশি থেকে কম, সমান হলে অর্ডার আইডি অনুযায়ী।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে order_id, customer, ordered_at, age_days — বয়স নিচের ক্রমে, সমান হলে order_id অনুযায়ী।
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)
4 Rahim 2026-10-10 36 7 Mim 2026-10-22 24
update shipments set status='delivered', delivered_at='2026-10-14' where id=3;
7 Mim 2026-10-22 24