The syntax of MySQL
The great thing that you do in MySQL is that "code" is very easy to read for humans, and not more difficult programming languages such as C or C + +. Only a handful of special characters and symbols must be set up for a MySQL query, the query includes the most complete English words!
Learning Strategy MySQL's
The MySQL language is not as complex as most programming languages, so the best approach is to learn with direct examples. As the focus of this tutorial is on combining MySQL and PHP, most examples are ready for you to copy, paste, and run on the Web server.
Uppercase query in MySQL
There are many keywords in MySQL, as well as good programming habits when using any of these words to use them. This helps to attract them from the rest of the code and makes them easier to read. Here is an example of MySQL query PHP written to retrieve all the data from a MySQL table named "Example".
$resulte = mysql_query ("SELECT * from TNAMEP")
This line of code is valid for PHP, but it also contains valid MySQL's. The text displayed between the quotes "the SELECT * from the example" is the MySQL code.
You may be able to tell "select" and "from" are keywords that MySQL uses in this query. Use them to let you tell a quick browse query that selects the datasheet.
You can view the full list of MySQL keyword lists to keep the MySQL word, but don't worry about them reciting. You can plan to be ruthless in MySQL for years and never use all the MySQL keywords.
Know at your own pace
When it's time to learn MySQL, it's best to take a lesson from it and stop when you're frustrated. Don't worry if you've spent one weeks finishing this tutorial. If you take the time to progress slowly, you will be more fully aware of the MySQL database system than if you cross it in a meeting.