Complete the code to select all columns from the table named 'employees'.
SELECT [1] FROM employees;The asterisk (*) means select all columns from the table.
Complete the code to insert a new row into the 'employees' table with name 'John' and age 30.
INSERT INTO employees (name, age) VALUES ([1]);Values must be in parentheses and strings in single quotes. Numbers do not need quotes.
Fix the error in the code to update the age of employee 'John' to 31.
UPDATE employees SET age = [1] WHERE name = 'John';
Numbers should not be in quotes in SQL UPDATE statements.
Fill both blanks to delete rows where age is less than 25.
DELETE FROM employees WHERE age [1] [2];
The condition deletes rows where age is less than 25.
Fill all three blanks to select the name and age of employees older than 40.
SELECT [1], [2] FROM employees WHERE age [3] 40;
Select the columns 'name' and 'age' and filter where age is greater than 40.
