Complete the code to update the salary column to 50000 for all employees.
UPDATE employees SET salary = [1];The salary column should be set to the numeric value 50000 without quotes.
Complete the code to update the status column to 'active' for employees with id 10.
UPDATE employees SET status = [1] WHERE id = 10;
String values in SQL must be enclosed in single quotes.
Fix the error in the code to update the age column to 30 for user with username 'john'.
UPDATE users SET age = [1] WHERE username = 'john';
Age is a number, so it should be set without quotes.
Fill both blanks to update the price column to 19.99 for product with id 5.
UPDATE products SET price = [1] WHERE id [2] 5;
The price should be set to 19.99 and the condition must use '=' to match id 5.
Fill all three blanks to update the quantity column to 100 for order with order_id 200 and status 'pending'.
UPDATE orders SET quantity = [1] WHERE order_id [2] [3] AND status = 'pending';
Set quantity to 100, match order_id with '=', and use 200 as the id value.