1.3.2 SQL (inserting data) Flashcards
1
Q
what does the command INSERT do?
A
adds new data to database table.
INSERT INTO users (name, age)
VALUES (‘John Doe’,25);
(inserts a new user with the name ‘John Doe’ and age 25)
CS > 1.3.2 SQL (inserting data) > Flashcards
what does the command INSERT do?
adds new data to database table.
INSERT INTO users (name, age)
VALUES (‘John Doe’,25);
(inserts a new user with the name ‘John Doe’ and age 25)