← flaviocopes.com

SQL, adding data to a table

Published Mar 27 2020

Psssst! The 2023 WEB DEVELOPMENT BOOTCAMP is starting on FEBRUARY 01, 2023! SIGNUPS ARE NOW OPEN to this 10-weeks cohort course. Learn the fundamentals, HTML, CSS, JS, Tailwind, React, Next.js and much more! ✨

Once you have a table, you can insert data into it.

Take this table:

  age INT,
  name CHAR(20)

You can now start adding data into it with the INSERT INTO command:

INSERT INTO people VALUES (37, 'Flavio');

You can insert multiple items separating each one with a comma:

INSERT INTO people VALUES (37, 'Flavio'), (8, 'Roger');

I write books for developers 👇🏼

© 2023 Flavio Copes Flavio Copes made in Italy 🇮🇹 using Notion to Site Notion to Site