Complete the code to insert a single row into the table named 'students'.
INSERT INTO students (name, age) VALUES ([1]);The VALUES clause requires the values to be enclosed in parentheses and strings in quotes. So, 'John', 20 is correct.
Complete the code to insert a new product with id 101 and name 'Pen' into the 'products' table.
INSERT INTO products (id, name) VALUES ([1]);Numeric values can be without quotes, but string values must be in single quotes. So 101, 'Pen' is correct.
Fix the error in the INSERT statement to add a user with username 'alice' and age 25 into the 'users' table.
INSERT INTO users (username, age) VALUES [1];The VALUES clause must have parentheses around the values. So ('alice', 25) is correct.
Fill both blanks to insert a new employee with id 5 and name 'Emma' into the 'employees' table.
INSERT INTO employees ([1]) VALUES ([2]);
The columns must be listed as 'id, name' and the values as '5, 'Emma'' matching the order.
Fill all four blanks to insert a new book with id 12, title 'SQL Basics', and price 29.99 into the 'books' table.
INSERT INTO books ([1]) VALUES ([2], [3], [4]);
The columns are 'id, title, price' (A). The values must match order: 12 (C), 'SQL Basics' (B), 29.99 (D). Numeric values do not need quotes, but strings do.