Codington
0 of 8 problems solved • 0%

Exercise prompt

Add the First Row

The empty users table is ready. INSERT INTO adds a row. List the columns, then give their values in the same order. Use single quotes around a name. This example would add Sam with the ID 2.

Example

INSERT INTO users (id, name) VALUES (2, 'Sam');

Your task

Write an INSERT INTO statement that adds Ada to users with the ID 1. Run it once and look for her row in the table.

Opening the database…