সার্চ-অটোকমপ্লিট বানাচ্ছে ওয়েব টিম। products থেকে যেসব প্রোডাক্টের নাম শুরু হয় Table বা Wireless শব্দে — তাদের name, price_cents, stock বের করো; নাম অনুযায়ী সাজাও। খেয়াল: শব্দটা নামের শুরুতে থাকতে হবে — মাঝে বা শেষে থাকলে গ্রাহ্য হবে না।
কোনো ইনপুট নেই — একটি SQL query লেখো।
প্রতি লাইনে name, price_cents, stock — নাম অনুযায়ী।
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)
Table Lamp 110000 18 Wireless Mouse 85000 3
insert into products (id,vendor_id,category_id,name,price_cents,stock,rating) values (15,4,1,'Tablet Stand',130000,10,4.0);
Table Lamp 110000 18 Tablet Stand 130000 10 Wireless Mouse 85000 3