Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Update the stock of "Mobile Phone" by reducing it by 5.

Medium

Problem Statement

Update the stock of "Mobile Phone" by reducing it by 5.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
-- Table Name : Products -- Product_ID | Product_Name | Category | Price | Stock -- ------------+ -------------+-------------+-------+------- -- 1 | Laptop | Electronics | 55000 | 15 -- 2 | Mobile Phone | Electronics | 30000 | 30 -- 3 | Office Chair | Furniture | 7000 | 10 -- 4 | Coffee Maker | Appliances | 4000 | 20 -- 5 | Dining Table | Furniture | 15000 | 5 -- Your Query Here
Log in or sign up to run or submit your code.Log inSign up
No sample test cases available.