ক্যাম্পেইন-উইকের (১ নভেম্বর ০০:০০ থেকে ৭ নভেম্বর সারাদিন — অর্থাৎ ৮ নভেম্বরের আগে) ভেতরে যেসব কার্ট শেষবার ছোঁয়া হয়েছিল (updated_at), সেগুলোর রিপোর্ট লাগবে। প্রতি কার্টের cart_id, কাস্টমারের customer (নাম), status ও updated_at বের করো; updated_at অনুযায়ী, সমান হলে কার্ট আইডি অনুযায়ী। ৭ নভেম্বরের রাত এগারোটা-বারোটার টাচও ভেতরেই গোনা হবে।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে cart_id, customer, status, updated_at — updated_at অনুযায়ী, টাই-এ cart_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)
6 Tanvir active 2026-11-01 10:00
insert into carts (id,customer_id,status,created_at,updated_at) values (9,3,'abandoned','2026-11-07 09:00','2026-11-07 22:15');
6 Tanvir active 2026-11-01 10:00 9 Nusrat abandoned 2026-11-07 22:15