INSERT

Next, the INSERT statement is used to save new data into a database table. For example:

INSERT INTO user (username, password) VALUES ("test2", "123456");

The preceding SQL command inserts username and password data into the user table. There are some other statements that can be used together with INSERT, such as LOW_PRIORITY, DELAYED, HIGH_PRIORITY, and so on.

Please refer to the following link to learn more about these options: https://dev.mysql.com/doc/refman/5.7/en/insert.html

Get Hands-On GUI Programming with C++ and Qt5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.