June 2015
Beginner
140 pages
3h
English
Getting data into the tables in our databases, and updating and deleting that data when necessary, is where we will spend a good portion of our time when working with MariaDB. To learn how to do this, we will be covering the following commands in this chapter:
INSERTUPDATEDELETETo put data into our database, we use the INSERT command. The basic syntax is as follows:
INSERT [INTO] <table_name> [(<column_name>[, <column_name>,...])] {VALUES | VALUE} ({<expression>|DEFAULT},...)[,(...),...];
As with the CREATE TABLE command in the previous chapter, the parts of the syntax example within the angle brackets (<>) are what we'll replace with our own values. The ...
Read now
Unlock full access