Interactive SQL tutorial

Last modified: February 27, 2023

Insert record

Now can we insert a record to a table we just createdINSERT into <TABLE_NAME> (<COLUMNS>) values (<COLUMNS>) expression allows you to insert a record.

For example, this is how you could insert a record into 'customers' table.

INSERT INTO customers (name, email, countryCode)
values ("Rob", "bob@example.com", "US")

Now, try it for yourself. Let's create a record for a customer