সাপোর্ট ডেস্কে কাস্টমার ফোন করে জানতে চায় তার পার্সেল কোন কুরিয়ারের হাতে। সুন্দরবন কুরিয়ারের সব পার্সেলের ট্র্যাকিং নম্বর SUN- দিয়ে শুরু হয়। shipments থেকে সেই পার্সেলগুলোর tracking_no, order_id ও status বের করো — ট্র্যাকিং নম্বর অনুযায়ী সাজাও।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে tracking_no, order_id, 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)
SUN-1001 1 delivered SUN-1004 4 shipped SUN-1007 7 shipped SUN-1009 9 delivered
insert into shipments (id,order_id,carrier,tracking_no,status,shipped_at,delivered_at) values (9,2,'Sundarban','SUN-1102','shipped','2026-11-04',NULL);
SUN-1001 1 delivered SUN-1004 4 shipped SUN-1007 7 shipped SUN-1009 9 delivered SUN-1102 2 shipped