Update prices of all products in 'Electronics' category.

Code Playground
JavaScript (V8)
Loading...
Console Output
// Output will appear here...
// For React: ReactDOM.createRoot(rootElement).render(<App />);
Recommended Answer
sql
UPDATE Products
SET Price = Price * 1.1
WHERE CategoryID = (SELECT CategoryID FROM Categories WHERE Name = 'Electronics');