|
|
MySQL Syntax
MySQL Syntax
The syntax for MySQL queries is very simple: most of the keywords are English words, with the information about your database and possible some PHP code in between. For example, a simple SELECT query (to retrive information) might look like:
SELECT * FROM `tablename` WHERE `column` = 'value'
We'll show you the syntax throughout our tutorials. MySQL doesn't provide the best error messages (in fact, we've known them to indicate errors in the wrong place in a query string), so it's important to pay attention to the syntax demonstrated.
Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
|