হোমপেজের 'বাজেট কর্নার'-এ তিনটি সস্তা প্রোডাক্ট দেখানো হবে। products থেকে সবচেয়ে কম দামের তিনটি প্রোডাক্টের name ও price_cents বের করো — দাম ঊর্ধ্বক্রমে, একই দামে নাম অনুযায়ী; ঠিক ৩টি সারি।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে name, price_cents — দাম ঊর্ধ্বক্রম, সমান দামে name অনুযায়ী; ঠিক ৩টি সারি।
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)
Wireless Mouse 85000 SQL Handbook 95000 Table Lamp 110000
update products set price_cents=85000 where id=5;
SQL Handbook 85000 Wireless Mouse 85000 Table Lamp 110000