Services Work Learn About Contact
0/9
Lesson 4 of 9

INSERT

INSERT INTO adds new rows to a table. You specify the table, the columns, and the values. The order of values must match the order of columns.

SQL
-- Insert one row
INSERT INTO users (name, email, age)
VALUES ('Ali', '[email protected]', 25);

-- Insert multiple rows
INSERT INTO users (name, email, age)
VALUES 
  ('Sara', '[email protected]', 30),
  ('Tom', '[email protected]', 22);
🧠

Quick Quiz

Answer correctly to unlock the next lesson.

Support the mission

This learning platform is 100% free: no ads, no tracking, no paywalls. If it helped you learn something useful, you can support future lessons or donate to Doctors Without Borders, which provides emergency medical care in crisis zones worldwide.

🎉

You completed SQL!

You finished all 9 lessons and quizzes. You now know the basics of SQL.