Basic Insert

suggest change
INSERT INTO `table_name` (`field_one`, `field_two`) VALUES ('value_one', 'value_two');

In this example, table_name is the table that receives the row, field_one and field_two are the columns to set, and value_one and value_two are the values for those columns.

List the columns you insert into. If the table later gains a column, an INSERT that omits the column list can fail or write values into the wrong columns.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents