ফাইন্যান্স টিম অক্টোবর মাসে প্রসেস হওয়া পেমেন্টের খতিয়ান তৈরি করছে। payments থেকে যেসব পেমেন্ট paid_at অক্টোবরে (২০২৬-১০-০১ থেকে ২০২৬-১১-০১-এর আগে), তাদের payment_id, method, amount_cents, paid_at বের করো — paid_at অনুযায়ী, একই সময়ে আইডি অনুযায়ী।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে payment_id, method, amount_cents, paid_at — paid_at ঊর্ধ্বক্রম, সমান হলে payment_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)
1 bkash 890000 2026-10-01 10:15 3 card 600000 2026-10-05 12:40 11 bkash 450000 2026-10-08 09:00 4 bkash 2000000 2026-10-10 09:05 5 card 170000 2026-10-12 15:20 6 cod 605000 2026-10-20 18:10 7 bkash 670000 2026-10-22 14:30 8 card 180000 2026-10-25 11:00 9 bkash 120000 2026-10-28 16:45
update payments set paid_at='2026-10-31 23:59' where id=10;
1 bkash 890000 2026-10-01 10:15 3 card 600000 2026-10-05 12:40 11 bkash 450000 2026-10-08 09:00 4 bkash 2000000 2026-10-10 09:05 5 card 170000 2026-10-12 15:20 6 cod 605000 2026-10-20 18:10 7 bkash 670000 2026-10-22 14:30 8 card 180000 2026-10-25 11:00 9 bkash 120000 2026-10-28 16:45 10 card 380000 2026-10-31 23:59