-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The MySQL Workshop
By :

When you first create a database for an application, it will not have any data contained inside it. As the user interacts with the application, often, you will want to store data from the interactions in the database, to be used later. For example, let's suppose that a company wants you to create an application where a user can input their tasks for the week. Each time they open the application, they see their current tasks. When a user adds a new task, the application needs to add that task to the database. This is so that it is saved and accessible each time the application is loaded. To achieve this, you will need to learn how to insert data into your database.
Inserting data into a database involves running queries against the database. In Exercise 5.06 – modularizing the MySQL connection of Chapter 5, Correlating Data Across Tables, you learned how to query a database for data using a SELECT
query. In this section, you will use the same...