Complete the code to insert a new row into the users table with a name and age.
INSERT INTO users (name, age) VALUES ([1], 30);
The value for a text column must be enclosed in single quotes in SQL.
Complete the code to insert a row with all columns in the products table.
INSERT INTO products VALUES ([1], 'Laptop', 999.99);
When inserting values without specifying columns, you must provide values in the correct order and types. Numeric values like IDs should not be quoted.
Fix the error in the INSERT statement by completing the missing keyword.
INSERT [1] users (name, age) VALUES ('Bob', 25);
The correct syntax for inserting data requires the keyword INTO after INSERT.
Fill both blanks to insert a row with only the name column specified.
INSERT INTO users ([1]) VALUES ([2]);
When inserting only one column, specify its name and provide a matching value in quotes if it is text.
Fill all three blanks to insert a new product with id, name, and price.
INSERT INTO products ([1], [2], [3]) VALUES (101, 'Tablet', 299.99);
Specify the correct column names matching the values you want to insert.