I got the following `mysql_error()` message shown below. I get it from time-to-time and can figure them out by just looking back at my syntax.

> 
> You have an error in your SQL syntax; check the manual that
>  corresponds to your MySQL server version for the right syntax to use
>  near 'key, label, value, description, last\_modified, username,
>  filepath, divid) SELE' at line 1
> 
> 
> 

But now I have an error that I cannot seem to solve so I am getting around to asking a fairly simple question. How do I interpret the `mysql_error()` message Specifically, when it says "near".

* Near what?
* Where exactly do I look?

	+ At the front-end of the query statement and that which precedes it?
	+ Or the back-end of the query statement and that which follows it?

**Here's my actual query statement in PHP:**

```
mysqli_query($link, '
    INSERT INTO ' . DATASTORE . '(key, label, value, description, last_modified, username, filepath, divid)
    SELECT key, label, "' . $new_value . '", description, "' . $last_modified .'", "' . $authorized_username .'", "' . $new_filepath .'", "' . $target_divid .'"
    FROM ' . DATASTORE . '
    WHERE divid = "' . $source_divid . '"
') or die(mysqli_error($link));

```