05.06.2015, 10:56
There is also a missing closed parenthesis at the end of the query from VALUES (...)
The red one is missing, just add it after the last %i and before ".
The red one is missing, just add it after the last %i and before ".