Complete the code to update the salary of all employees to 50000.
UPDATE employees SET salary = [1];The correct value to set the salary to 50000 is the number 50000 without quotes.
Complete the code to update the status of all orders to 'shipped'.
UPDATE orders SET status = [1];Text values in SQL must be enclosed in single quotes, so 'shipped' is correct.
Fix the error in the code to update all products' price to 10.99.
UPDATE products SET price = [1];The semicolon should not be inside the value. The value should be a number without quotes and the semicolon ends the statement outside.
Fill both blanks to update the quantity of all items to 100 and the status to 'available'.
UPDATE inventory SET quantity = [1], status = [2];
Quantity is a number so use 100 without quotes. Status is text so use 'available' with single quotes.
Fill all three blanks to update the employees table: set salary to 60000, department to 'HR', and active to true.
UPDATE employees SET salary = [1], department = [2], active = [3];
Salary is a number so 60000 without quotes. Department is text so 'HR' with quotes. Active is a boolean so TRUE without quotes.