Data can be inserted into database tables, updated, or deleted from a database. Respectively, the statements used for this are INSERT, UPDATE, and DELETE.
Changing the data in a database
The INSERT statement
The INSERT statement is used to insert new data into tables in the database. Records are always inserted into only one table.
The INSERT statement has the following syntax:
INSERT INTO <table_name> [(<field_list>)]
{VALUES (<expression_list>)[,...]}|{DEFAULT VALUES}|<SELECT query>;
The name of the table the records are inserted into is specified after the INSERT INTO keywords. There are two options when using the INSERT statement, which has a different syntax: to insert one or several individual...