the syntax of the select command to read by primary key or another index key?I did not understand your question. Maybe you want to get the data corresponding to a key? In this case you need to specify the WHERE clause to read only certain data from the table, e.g.
I repeat: RTFM! MySQL documentation contains the full info on SQL syntax. 10 minutes of reading the docs will save for you hours of asking questions :)SELECT id, name FROM mytable WHERE id=1
In reply to Re^3: Reading A TAble
by Ieronim
in thread Reading A TAble
by PerceptiveJohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |